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

Unified Diff: third_party/BUILD.gn

Issue 2041053003: Differentiate GN config settings for core vs third party code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 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
« BUILD.gn ('K') | « 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 6a070f7074287af9a73cedc32b77022b4922609f..01927c3b9e079bf91ef9352bf70d35aca9c2e203 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -16,7 +16,7 @@ source_set("bigint") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
]
sources = [
"bigint/BigInteger.cc",
@@ -47,7 +47,7 @@ static_library("fx_freetype") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_freetype_warnings",
@@ -99,7 +99,7 @@ if (!pdf_use_skia) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_agg_warnings",
@@ -142,7 +142,7 @@ source_set("fx_lcms2") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_lcms2_warnings",
@@ -190,7 +190,7 @@ source_set("jpeg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":jpeg_warnings",
@@ -268,7 +268,7 @@ source_set("fx_libopenjpeg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_libopenjpeg_warnings",
@@ -300,7 +300,7 @@ source_set("fx_lpng") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
]
sources = [
"libpng16/png.c",
@@ -334,7 +334,7 @@ if (pdf_enable_xfa) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
]
if (is_win) {
# Need to undefine the macro since it is redefined in
@@ -398,7 +398,7 @@ source_set("fx_zlib") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_zlib_warnings",
@@ -426,7 +426,7 @@ source_set("pdfium_base") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "../:pdfium_config",
+ "../:pdfium_third_party_config",
]
sources = [
"base/logging.h",
« BUILD.gn ('K') | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698