summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-20 07:32:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-20 07:32:39 -0700
commit685bb88433b7520946e30a1e520d37bfc2288151 (patch)
treefbcb1fdc49cdc27d5bf064915513717cb8e11f14 /third_party/BUILD.gn
parentf5a1ee807d74b28917d5c2377c4ece611883bcd1 (diff)
downloadpdfium-685bb88433b7520946e30a1e520d37bfc2288151.tar.xz
Standalone GN build.
This CL setups up a standalone GN build. You'll need to set gn args similar to: use_goma = true clang_use_chrome_plugins = false pdf_enable_xfa = true pdf_enable_v8 = true pdf_is_standalone = true The third_party/pymock files are needed to make git cl upload work correctly. BUG=pdfium:106 Review URL: https://codereview.chromium.org/1904563002
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn20
1 files changed, 10 insertions, 10 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index f899bd1481..e0c9bf116e 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",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_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",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_freetype_warnings",
@@ -98,7 +98,7 @@ source_set("fx_agg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_agg_warnings",
@@ -140,7 +140,7 @@ source_set("fx_lcms2") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_lcms2_warnings",
@@ -188,7 +188,7 @@ source_set("jpeg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":jpeg_warnings",
@@ -266,7 +266,7 @@ source_set("fx_libopenjpeg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_libopenjpeg_warnings",
@@ -298,7 +298,7 @@ source_set("fx_lpng") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_config",
]
sources = [
"libpng16/png.c",
@@ -332,7 +332,7 @@ if (pdf_enable_xfa) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_config",
]
deps = [
"//third_party:jpeg",
@@ -391,7 +391,7 @@ source_set("fx_zlib") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.
":fx_zlib_warnings",
@@ -419,7 +419,7 @@ source_set("pdfium_base") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- "//third_party/pdfium:pdfium_config",
+ "../:pdfium_config",
]
sources = [
"base/logging.h",