Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: third_party/BUILD.gn

Issue 2164633005: Convert source sets to static libraries. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: base Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/BUILD.gn
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 766b6762c375b7f515d73ce741cf38eba84ec216..03f11c1cf9ee0fb6e7b70fa06d0e7703d55970e3 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -16,7 +16,7 @@ config("pdfium_third_party_config") {
configs = [ "..:pdfium_common_config" ]
}
-source_set("bigint") {
+static_library("bigint") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -106,7 +106,7 @@ if (!pdf_use_skia) {
}
}
- source_set("fx_agg") {
+ static_library("fx_agg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -149,7 +149,7 @@ config("fx_lcms2_warnings") {
}
}
-source_set("fx_lcms2") {
+static_library("fx_lcms2") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -197,7 +197,7 @@ config("jpeg_warnings") {
}
}
-source_set("jpeg") {
+static_library("jpeg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -275,7 +275,7 @@ config("fx_libopenjpeg_warnings") {
}
}
-source_set("fx_libopenjpeg") {
+static_library("fx_libopenjpeg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -307,7 +307,7 @@ source_set("fx_libopenjpeg") {
]
}
-source_set("fx_lpng") {
+static_library("fx_lpng") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -341,7 +341,7 @@ source_set("fx_lpng") {
}
if (pdf_enable_xfa) {
- source_set("fx_tiff") {
+ static_library("fx_tiff") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -405,7 +405,7 @@ config("fx_zlib_warnings") {
}
}
-source_set("fx_zlib") {
+static_library("fx_zlib") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
@@ -433,6 +433,7 @@ source_set("fx_zlib") {
]
}
+# Can not be a static library due to lack of .cc files.
source_set("pdfium_base") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698