diff options
author | Lei Zhang <thestig@chromium.org> | 2017-12-21 21:49:55 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-09 19:45:05 +0000 |
commit | 81a1ac47e5d93980b59b1c34e8cf1bb22a89a936 (patch) | |
tree | f0882ca337ef8e9b27ecde86bda6099dfd3c526d /third_party | |
parent | a88e30519ec0cca46c7fc36a14556eb8c1eae0c6 (diff) | |
download | pdfium-81a1ac47e5d93980b59b1c34e8cf1bb22a89a936.tar.xz |
Add initial jumbo build support.
Convert a bunch of targets that just work.
BUG=pdfium:964
Change-Id: I485be45e9f6c74c2bba88313da176a49b32b9bba
Reviewed-on: https://pdfium-review.googlesource.com/21970
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/BUILD.gn | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index d9f7670bb5..1cfee77c60 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -3,6 +3,7 @@ # found in the LICENSE file. import("//build/config/arm.gni") +import("//build/config/jumbo.gni") import("//build/config/linux/pkg_config.gni") import("//build_overrides/build.gni") import("../pdfium.gni") @@ -75,7 +76,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. - static_library("fx_freetype") { + jumbo_static_library("fx_freetype") { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code", @@ -199,7 +200,7 @@ if (!pdf_use_skia && !pdf_use_skia_paths) { } } - static_library("fx_agg") { + jumbo_static_library("fx_agg") { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code", @@ -415,7 +416,7 @@ group("png") { } } -static_library("fx_lpng") { +jumbo_static_library("fx_lpng") { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code", @@ -534,7 +535,7 @@ if (pdf_enable_xfa) { } } -source_set("pdfium_base") { +jumbo_source_set("pdfium_base") { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code", |