summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-11 16:59:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-11 16:59:02 +0000
commit1e5ebaaa9c7722d24b2254b32b24de9456702fd5 (patch)
treec5a9ccba4bdc29f5cede91e730d9974079f8cc73 /third_party
parent0a62427a6708cdc8adec0ec92d31c76499194090 (diff)
downloadpdfium-1e5ebaaa9c7722d24b2254b32b24de9456702fd5.tar.xz
Replace most static_library entries with source_set.
Per GN documentation, "static_library: A .lib or .a file (normally you'll want a source_set instead)." Change-Id: If2ce44157f4d6c8998a0417f398f3bd19c052795 Reviewed-on: https://pdfium-review.googlesource.com/c/43893 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/BUILD.gn14
1 files changed, 7 insertions, 7 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index ed360a614d..04308329d7 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -23,7 +23,7 @@ config("pdfium_third_party_config") {
configs = [ "..:pdfium_common_config" ]
}
-static_library("bigint") {
+source_set("bigint") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -77,7 +77,7 @@ if (pdf_bundle_freetype) {
# Tests may link against this even if the production library doesn't,
# so it needs to be separate from it.
- jumbo_static_library("fx_freetype") {
+ jumbo_source_set("fx_freetype") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -200,7 +200,7 @@ if (!pdf_use_skia && !pdf_use_skia_paths) {
}
}
- jumbo_static_library("fx_agg") {
+ jumbo_source_set("fx_agg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -246,7 +246,7 @@ config("fx_lcms2_warnings") {
}
}
-static_library("fx_lcms2") {
+source_set("fx_lcms2") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -367,7 +367,7 @@ config("fx_libopenjpeg_warnings") {
}
}
-static_library("fx_libopenjpeg") {
+source_set("fx_libopenjpeg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -417,7 +417,7 @@ group("png") {
}
}
-jumbo_static_library("fx_lpng") {
+jumbo_source_set("fx_lpng") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -480,7 +480,7 @@ jumbo_static_library("fx_lpng") {
}
if (pdf_enable_xfa) {
- static_library("fx_tiff") {
+ source_set("fx_tiff") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",