From 81a1ac47e5d93980b59b1c34e8cf1bb22a89a936 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 21 Dec 2017 21:49:55 -0800 Subject: 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 Commit-Queue: Lei Zhang --- third_party/BUILD.gn | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'third_party') 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", -- cgit v1.2.3