Remove jumbo usage in GN files throughout PDFium

Bug: pdfium:1410
Change-Id: I5769c94e19255b2f4ee1a95b34398ef37a125fc0
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/61870
Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index c7c1638..27ac719 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2,7 +2,6 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("//testing/test.gni")
 import("pdfium.gni")
 
@@ -106,7 +105,7 @@
   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
 }
 
-jumbo_source_set("pdfium_public_headers_impl") {
+source_set("pdfium_public_headers_impl") {
   sources = [
     "public/cpp/fpdf_deleters.h",
     "public/cpp/fpdf_scopers.h",
@@ -143,7 +142,7 @@
   ]
 }
 
-jumbo_component("pdfium") {
+component("pdfium") {
   libs = []
   configs += [ ":pdfium_core_config" ]
   public_configs = [ ":pdfium_public_config" ]
@@ -359,7 +358,7 @@
 }
 
 if (pdf_is_standalone) {
-  jumbo_source_set("samples") {
+  source_set("samples") {
     testonly = true
     deps = [
       "//samples",
diff --git a/constants/BUILD.gn b/constants/BUILD.gn
index 30c6978..4c10fed 100644
--- a/constants/BUILD.gn
+++ b/constants/BUILD.gn
@@ -2,10 +2,9 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../pdfium.gni")
 
-jumbo_source_set("constants") {
+source_set("constants") {
   sources = [
     "annotation_common.h",
     "annotation_flags.h",
diff --git a/core/fdrm/BUILD.gn b/core/fdrm/BUILD.gn
index ce70689..1589767 100644
--- a/core/fdrm/BUILD.gn
+++ b/core/fdrm/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
-jumbo_source_set("fdrm") {
+source_set("fdrm") {
   sources = [
     "fx_crypt.cpp",
     "fx_crypt.h",
diff --git a/core/fpdfapi/cmaps/BUILD.gn b/core/fpdfapi/cmaps/BUILD.gn
index b8e01dd..82c7c08 100644
--- a/core/fpdfapi/cmaps/BUILD.gn
+++ b/core/fpdfapi/cmaps/BUILD.gn
@@ -2,10 +2,9 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 
-jumbo_source_set("cmaps") {
+source_set("cmaps") {
   sources = [
     "CNS1/Adobe-CNS1-UCS2_5.cpp",
     "CNS1/B5pc-H_0.cpp",
diff --git a/core/fpdfapi/edit/BUILD.gn b/core/fpdfapi/edit/BUILD.gn
index f4d70c1..b83b89a 100644
--- a/core/fpdfapi/edit/BUILD.gn
+++ b/core/fpdfapi/edit/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 import("../../../testing/test.gni")
 
-jumbo_source_set("edit") {
+source_set("edit") {
   sources = [
     "cpdf_contentstream_write_utils.cpp",
     "cpdf_contentstream_write_utils.h",
diff --git a/core/fpdfapi/font/BUILD.gn b/core/fpdfapi/font/BUILD.gn
index 673f342..c30269a 100644
--- a/core/fpdfapi/font/BUILD.gn
+++ b/core/fpdfapi/font/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 import("../../../testing/test.gni")
 
-jumbo_source_set("font") {
+source_set("font") {
   sources = [
     "cfx_cttgsubtable.cpp",
     "cfx_cttgsubtable.h",
diff --git a/core/fpdfapi/page/BUILD.gn b/core/fpdfapi/page/BUILD.gn
index 1ed9094..08c1be5 100644
--- a/core/fpdfapi/page/BUILD.gn
+++ b/core/fpdfapi/page/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 import("../../../testing/test.gni")
 
-jumbo_source_set("page") {
+source_set("page") {
   sources = [
     "cpdf_allstates.cpp",
     "cpdf_allstates.h",
diff --git a/core/fpdfapi/parser/BUILD.gn b/core/fpdfapi/parser/BUILD.gn
index 4c2da7a..7cf8561 100644
--- a/core/fpdfapi/parser/BUILD.gn
+++ b/core/fpdfapi/parser/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 import("../../../testing/test.gni")
 
-jumbo_source_set("parser") {
+source_set("parser") {
   sources = [
     "cfdf_document.cpp",
     "cfdf_document.h",
diff --git a/core/fpdfapi/render/BUILD.gn b/core/fpdfapi/render/BUILD.gn
index d7cc9b6..310b9ba 100644
--- a/core/fpdfapi/render/BUILD.gn
+++ b/core/fpdfapi/render/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 import("../../../testing/test.gni")
 
-jumbo_source_set("render") {
+source_set("render") {
   sources = [
     "cpdf_charposlist.cpp",
     "cpdf_charposlist.h",
diff --git a/core/fpdfdoc/BUILD.gn b/core/fpdfdoc/BUILD.gn
index 9cc46ab..63bed74 100644
--- a/core/fpdfdoc/BUILD.gn
+++ b/core/fpdfdoc/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
-jumbo_source_set("fpdfdoc") {
+source_set("fpdfdoc") {
   sources = [
     "cba_fontmap.cpp",
     "cba_fontmap.h",
diff --git a/core/fpdftext/BUILD.gn b/core/fpdftext/BUILD.gn
index 2192df6..88dcbd7 100644
--- a/core/fpdftext/BUILD.gn
+++ b/core/fpdftext/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
-jumbo_source_set("fpdftext") {
+source_set("fpdftext") {
   sources = [
     "cpdf_linkextract.cpp",
     "cpdf_linkextract.h",
diff --git a/core/fxcodec/BUILD.gn b/core/fxcodec/BUILD.gn
index c2d2bc2..d3a3450 100644
--- a/core/fxcodec/BUILD.gn
+++ b/core/fxcodec/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
-jumbo_source_set("fxcodec") {
+source_set("fxcodec") {
   sources = [
     "basic/basicmodule.cpp",
     "basic/basicmodule.h",
diff --git a/core/fxcrt/BUILD.gn b/core/fxcrt/BUILD.gn
index 83cf2f7..d2ed27f 100644
--- a/core/fxcrt/BUILD.gn
+++ b/core/fxcrt/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
-jumbo_source_set("fxcrt") {
+source_set("fxcrt") {
   sources = [
     "autorestorer.h",
     "bytestring.cpp",
diff --git a/core/fxcrt/css/BUILD.gn b/core/fxcrt/css/BUILD.gn
index 99b7853..66090c1 100644
--- a/core/fxcrt/css/BUILD.gn
+++ b/core/fxcrt/css/BUILD.gn
@@ -2,12 +2,11 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("css") {
+source_set("css") {
   sources = [
     "cfx_css.h",
     "cfx_csscolorvalue.cpp",
diff --git a/core/fxge/BUILD.gn b/core/fxge/BUILD.gn
index 962362f..b2a1a1c 100644
--- a/core/fxge/BUILD.gn
+++ b/core/fxge/BUILD.gn
@@ -3,7 +3,6 @@
 # found in the LICENSE file.
 
 import("//build/config/freetype/freetype.gni")
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
@@ -17,7 +16,7 @@
   }
 }
 
-jumbo_source_set("fxge") {
+source_set("fxge") {
   sources = [
     "cfx_cliprgn.cpp",
     "cfx_cliprgn.h",
diff --git a/fpdfsdk/BUILD.gn b/fpdfsdk/BUILD.gn
index e8d5774..afdbcf0 100644
--- a/fpdfsdk/BUILD.gn
+++ b/fpdfsdk/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../pdfium.gni")
 import("../testing/test.gni")
 
-jumbo_source_set("fpdfsdk") {
+source_set("fpdfsdk") {
   sources = [
     "cpdfsdk_actionhandler.cpp",
     "cpdfsdk_actionhandler.h",
diff --git a/fpdfsdk/formfiller/BUILD.gn b/fpdfsdk/formfiller/BUILD.gn
index 16fdc60..b49fa49 100644
--- a/fpdfsdk/formfiller/BUILD.gn
+++ b/fpdfsdk/formfiller/BUILD.gn
@@ -2,10 +2,9 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 
-jumbo_source_set("formfiller") {
+source_set("formfiller") {
   sources = [
     "cffl_button.cpp",
     "cffl_button.h",
diff --git a/fpdfsdk/fpdfxfa/BUILD.gn b/fpdfsdk/fpdfxfa/BUILD.gn
index b3f821e..307d3f1 100644
--- a/fpdfsdk/fpdfxfa/BUILD.gn
+++ b/fpdfsdk/fpdfxfa/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("fpdfxfa") {
+source_set("fpdfxfa") {
   sources = [
     "cpdfxfa_context.cpp",
     "cpdfxfa_context.h",
diff --git a/fpdfsdk/pwl/BUILD.gn b/fpdfsdk/pwl/BUILD.gn
index 94396e3..71bbf09 100644
--- a/fpdfsdk/pwl/BUILD.gn
+++ b/fpdfsdk/pwl/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
-jumbo_source_set("pwl") {
+source_set("pwl") {
   sources = [
     "cpwl_button.cpp",
     "cpwl_button.h",
diff --git a/fxbarcode/BUILD.gn b/fxbarcode/BUILD.gn
index cf84648..8c092ea 100644
--- a/fxbarcode/BUILD.gn
+++ b/fxbarcode/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../pdfium.gni")
 import("../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("fxbarcode") {
+source_set("fxbarcode") {
   sources = [
     "BC_Library.cpp",
     "BC_Library.h",
diff --git a/fxjs/BUILD.gn b/fxjs/BUILD.gn
index c36ab4e..0aac788 100644
--- a/fxjs/BUILD.gn
+++ b/fxjs/BUILD.gn
@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../pdfium.gni")
 import("../testing/test.gni")
 
-jumbo_source_set("fxjs") {
+source_set("fxjs") {
   sources = [
     "cjs_event_context_stub.cpp",
     "cjs_event_context_stub.h",
diff --git a/testing/BUILD.gn b/testing/BUILD.gn
index 9eee51c..85bc063 100644
--- a/testing/BUILD.gn
+++ b/testing/BUILD.gn
@@ -2,10 +2,9 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../pdfium.gni")
 
-jumbo_source_set("test_support") {
+source_set("test_support") {
   testonly = true
   sources = [
     "fx_string_testhelpers.cpp",
@@ -54,7 +53,7 @@
   }
 }
 
-jumbo_source_set("unit_test_support") {
+source_set("unit_test_support") {
   testonly = true
   sources = []
   deps = []
@@ -76,7 +75,7 @@
   }
 }
 
-jumbo_source_set("embedder_test_support") {
+source_set("embedder_test_support") {
   testonly = true
   sources = [
     "embedder_test.cpp",
diff --git a/testing/fuzzers/BUILD.gn b/testing/fuzzers/BUILD.gn
index c890469..cc72b46 100644
--- a/testing/fuzzers/BUILD.gn
+++ b/testing/fuzzers/BUILD.gn
@@ -2,7 +2,6 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 
 config("fuzzer_config") {
@@ -80,7 +79,7 @@
   }
 }
 
-jumbo_source_set("fuzzer_init") {
+source_set("fuzzer_init") {
   testonly = true
   sources = [
     "pdf_fuzzer_init.cc",
@@ -91,7 +90,7 @@
   ]
 }
 
-jumbo_source_set("fuzzer_init_public") {
+source_set("fuzzer_init_public") {
   testonly = true
   sources = [
     "pdf_fuzzer_init_public.cc",
@@ -119,7 +118,7 @@
   }
 }
 
-jumbo_source_set("fuzzer_helper") {
+source_set("fuzzer_helper") {
   testonly = !is_component_build
   sources = [
     "pdfium_fuzzer_helper.cc",
@@ -132,7 +131,7 @@
   ]
 }
 
-jumbo_source_set("fuzzer_utils") {
+source_set("fuzzer_utils") {
   # In component builds, the pdfium target (which is not testonly) depends on
   # the fuzzer sources, which may depend on this target, so add testonly only in
   # non-component builds.
@@ -163,7 +162,7 @@
 
     impl_name = target_name + "_impl"
     template_target_name = target_name
-    jumbo_source_set("${target_name}_src") {
+    source_set("${target_name}_src") {
       testonly = true
       sources = [
         "component_fuzzer_template.cc",
@@ -178,7 +177,7 @@
   } else {
     impl_name = target_name + "_src"
   }
-  jumbo_source_set(impl_name) {
+  source_set(impl_name) {
     sources = invoker.sources
     deps = []
     if (defined(invoker.deps)) {
diff --git a/testing/image_diff/BUILD.gn b/testing/image_diff/BUILD.gn
index 7d77723..141769b 100644
--- a/testing/image_diff/BUILD.gn
+++ b/testing/image_diff/BUILD.gn
@@ -2,10 +2,9 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 
-jumbo_source_set("image_diff") {
+source_set("image_diff") {
   testonly = true
   sources = [
     "image_diff_png.cpp",
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 0017f1f..9f90d96 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -3,7 +3,6 @@
 # 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")
@@ -81,7 +80,7 @@
 
   # Tests may link against this even if the production library doesn't,
   # so it needs to be separate from it.
-  jumbo_source_set("fx_freetype") {
+  source_set("fx_freetype") {
     configs -= [ "//build/config/compiler:chromium_code" ]
     configs += [
       "//build/config/compiler:no_chromium_code",
@@ -227,7 +226,7 @@
     }
   }
 
-  jumbo_source_set("fx_agg") {
+  source_set("fx_agg") {
     configs -= [ "//build/config/compiler:chromium_code" ]
     configs += [
       "//build/config/compiler:no_chromium_code",
@@ -463,7 +462,7 @@
   }
 }
 
-jumbo_source_set("fx_lpng") {
+source_set("fx_lpng") {
   configs -= [ "//build/config/compiler:chromium_code" ]
   configs += [
     "//build/config/compiler:no_chromium_code",
@@ -584,7 +583,7 @@
   }
 }
 
-jumbo_source_set("pdfium_base") {
+source_set("pdfium_base") {
   configs -= [ "//build/config/compiler:chromium_code" ]
   configs += [
     "//build/config/compiler:no_chromium_code",
@@ -644,7 +643,7 @@
   }
 }
 
-jumbo_source_set("pdfium_base_test_support") {
+source_set("pdfium_base_test_support") {
   testonly = true
   configs -= [ "//build/config/compiler:chromium_code" ]
   configs += [
@@ -663,7 +662,7 @@
   }
 }
 
-jumbo_source_set("skia_shared") {
+source_set("skia_shared") {
   configs -= [ "//build/config/compiler:chromium_code" ]
   configs += [
     "//build/config/compiler:no_chromium_code",
diff --git a/xfa/fde/BUILD.gn b/xfa/fde/BUILD.gn
index e268a63..b977597 100644
--- a/xfa/fde/BUILD.gn
+++ b/xfa/fde/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("fde") {
+source_set("fde") {
   sources = [
     "cfde_data.h",
     "cfde_texteditengine.cpp",
diff --git a/xfa/fgas/BUILD.gn b/xfa/fgas/BUILD.gn
index e1d0a13..c4c68b2 100644
--- a/xfa/fgas/BUILD.gn
+++ b/xfa/fgas/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("fgas") {
+source_set("fgas") {
   sources = [
     "crt/cfgas_decimal.cpp",
     "crt/cfgas_decimal.h",
diff --git a/xfa/fgas/layout/BUILD.gn b/xfa/fgas/layout/BUILD.gn
index 6c170d7..61d2e75 100644
--- a/xfa/fgas/layout/BUILD.gn
+++ b/xfa/fgas/layout/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 import("../../../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("layout") {
+source_set("layout") {
   sources = [
     "cfx_break.cpp",
     "cfx_break.h",
diff --git a/xfa/fwl/BUILD.gn b/xfa/fwl/BUILD.gn
index f392502..4ef9cc1 100644
--- a/xfa/fwl/BUILD.gn
+++ b/xfa/fwl/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("fwl") {
+source_set("fwl") {
   sources = [
     "cfwl_app.cpp",
     "cfwl_app.h",
diff --git a/xfa/fxfa/BUILD.gn b/xfa/fxfa/BUILD.gn
index 06fb256..07fa21c 100644
--- a/xfa/fxfa/BUILD.gn
+++ b/xfa/fxfa/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 import("../../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("fxfa") {
+source_set("fxfa") {
   sources = [
     "cxfa_eventparam.cpp",
     "cxfa_eventparam.h",
diff --git a/xfa/fxfa/fm2js/BUILD.gn b/xfa/fxfa/fm2js/BUILD.gn
index 930c452..ff33e10 100644
--- a/xfa/fxfa/fm2js/BUILD.gn
+++ b/xfa/fxfa/fm2js/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 import("../../../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("fm2js") {
+source_set("fm2js") {
   sources = [
     "cxfa_fmexpression.cpp",
     "cxfa_fmexpression.h",
diff --git a/xfa/fxfa/layout/BUILD.gn b/xfa/fxfa/layout/BUILD.gn
index c572120..14be551 100644
--- a/xfa/fxfa/layout/BUILD.gn
+++ b/xfa/fxfa/layout/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 import("../../../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("layout") {
+source_set("layout") {
   sources = [
     "cxfa_contentlayoutitem.cpp",
     "cxfa_contentlayoutitem.h",
diff --git a/xfa/fxfa/parser/BUILD.gn b/xfa/fxfa/parser/BUILD.gn
index c03e503..fcb258c 100644
--- a/xfa/fxfa/parser/BUILD.gn
+++ b/xfa/fxfa/parser/BUILD.gn
@@ -2,13 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../../pdfium.gni")
 import("../../../testing/test.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("parser") {
+source_set("parser") {
   sources = [
     "cscript_datawindow.cpp",
     "cscript_datawindow.h",
diff --git a/xfa/fxgraphics/BUILD.gn b/xfa/fxgraphics/BUILD.gn
index 438046c..b1b0204 100644
--- a/xfa/fxgraphics/BUILD.gn
+++ b/xfa/fxgraphics/BUILD.gn
@@ -2,12 +2,11 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/jumbo.gni")
 import("../../pdfium.gni")
 
 assert(pdf_enable_xfa)
 
-jumbo_source_set("fxgraphics") {
+source_set("fxgraphics") {
   sources = [
     "cxfa_gecolor.cpp",
     "cxfa_gecolor.h",