Reformat PDFium GN files.

`gn format` recently changed its formatting behavior for deps, source,
and a few other elements when they are assigned (with =) single-element
lists to be consistent with the formatting of updates (with +=) with
single-element.

Now that we've rolled in a GN binary with the change, reformat all files
so that people don't get presubmit warnings due to this.

Bug: chromium:1041419
Tbr: thakis@chromium.org
Change-Id: I879c199419bdd2a9fe09ab09d1a0ce6e178b4fee
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/65531
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index 38739d1..62f09e5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -131,9 +131,7 @@
 }
 
 group("pdfium_public_headers") {
-  public_deps = [
-    ":pdfium_public_headers_impl",
-  ]
+  public_deps = [ ":pdfium_public_headers_impl" ]
   public_configs = [
     ":pdfium_public_config",
     ":pdfium_implementation_config",
@@ -225,9 +223,7 @@
 
 test("pdfium_unittests") {
   testonly = true
-  sources = [
-    "testing/unit_test_main.cpp",
-  ]
+  sources = [ "testing/unit_test_main.cpp" ]
   deps = [
     "core/fdrm:unittests",
     "core/fpdfapi/edit:unittests",
@@ -295,9 +291,7 @@
 
 test("pdfium_embeddertests") {
   testonly = true
-  sources = [
-    "testing/embedder_test_main.cpp",
-  ]
+  sources = [ "testing/embedder_test_main.cpp" ]
   deps = [
     "core/fpdfapi/edit:embeddertests",
     "core/fpdfapi/parser:embeddertests",
@@ -340,9 +334,7 @@
 
 executable("pdfium_diff") {
   testonly = true
-  sources = [
-    "testing/image_diff/image_diff.cpp",
-  ]
+  sources = [ "testing/image_diff/image_diff.cpp" ]
   deps = [
     ":pdfium",
     "core/fxcrt",
@@ -357,16 +349,12 @@
 if (pdf_is_standalone) {
   source_set("samples") {
     testonly = true
-    deps = [
-      "//samples",
-    ]
+    deps = [ "//samples" ]
   }
 
   group("fuzzers") {
     testonly = true
-    deps = [
-      "//testing/fuzzers",
-    ]
+    deps = [ "//testing/fuzzers" ]
   }
 }
 
diff --git a/core/fdrm/BUILD.gn b/core/fdrm/BUILD.gn
index 1589767..888bb92 100644
--- a/core/fdrm/BUILD.gn
+++ b/core/fdrm/BUILD.gn
@@ -13,18 +13,12 @@
     "fx_crypt_sha.cpp",
   ]
   configs += [ "../../:pdfium_core_config" ]
-  deps = [
-    "../fxcrt",
-  ]
+  deps = [ "../fxcrt" ]
   visibility = [ "../../*" ]
 }
 
 pdfium_unittest_source_set("unittests") {
-  sources = [
-    "fx_crypt_unittest.cpp",
-  ]
-  deps = [
-    ":fdrm",
-  ]
+  sources = [ "fx_crypt_unittest.cpp" ]
+  deps = [ ":fdrm" ]
   pdfium_root_dir = "../../"
 }
diff --git a/core/fpdfapi/cmaps/BUILD.gn b/core/fpdfapi/cmaps/BUILD.gn
index 82c7c08..703072e 100644
--- a/core/fpdfapi/cmaps/BUILD.gn
+++ b/core/fpdfapi/cmaps/BUILD.gn
@@ -71,8 +71,6 @@
     "fpdf_cmaps.cpp",
   ]
   configs += [ "../../../:pdfium_core_config" ]
-  deps = [
-    "../../fxcrt",
-  ]
+  deps = [ "../../fxcrt" ]
   visibility = [ "../../../*" ]
 }
diff --git a/core/fpdfapi/edit/BUILD.gn b/core/fpdfapi/edit/BUILD.gn
index 3828236..cda86e63 100644
--- a/core/fpdfapi/edit/BUILD.gn
+++ b/core/fpdfapi/edit/BUILD.gn
@@ -31,9 +31,7 @@
 }
 
 pdfium_unittest_source_set("unittests") {
-  sources = [
-    "cpdf_pagecontentgenerator_unittest.cpp",
-  ]
+  sources = [ "cpdf_pagecontentgenerator_unittest.cpp" ]
   deps = [
     ":edit",
     "../../fxge",
@@ -46,8 +44,6 @@
 }
 
 pdfium_embeddertest_source_set("embeddertests") {
-  sources = [
-    "cpdf_creator_embeddertest.cpp",
-  ]
+  sources = [ "cpdf_creator_embeddertest.cpp" ]
   pdfium_root_dir = "../../../"
 }
diff --git a/core/fpdfapi/page/BUILD.gn b/core/fpdfapi/page/BUILD.gn
index 2a91b0c..2ab0b72 100644
--- a/core/fpdfapi/page/BUILD.gn
+++ b/core/fpdfapi/page/BUILD.gn
@@ -123,8 +123,6 @@
     "cpdf_streamcontentparser_unittest.cpp",
     "cpdf_streamparser_unittest.cpp",
   ]
-  deps = [
-    ":page",
-  ]
+  deps = [ ":page" ]
   pdfium_root_dir = "../../../"
 }
diff --git a/core/fpdfapi/parser/BUILD.gn b/core/fpdfapi/parser/BUILD.gn
index 1bd2b90..ad8a783 100644
--- a/core/fpdfapi/parser/BUILD.gn
+++ b/core/fpdfapi/parser/BUILD.gn
@@ -138,8 +138,6 @@
     "cpdf_security_handler_embeddertest.cpp",
     "fpdf_parser_decode_embeddertest.cpp",
   ]
-  deps = [
-    ":parser",
-  ]
+  deps = [ ":parser" ]
   pdfium_root_dir = "../../../"
 }
diff --git a/core/fpdfapi/render/BUILD.gn b/core/fpdfapi/render/BUILD.gn
index 310b9ba..ddce77a 100644
--- a/core/fpdfapi/render/BUILD.gn
+++ b/core/fpdfapi/render/BUILD.gn
@@ -62,9 +62,7 @@
 }
 
 pdfium_unittest_source_set("unittests") {
-  sources = [
-    "cpdf_docrenderdata_unittest.cpp",
-  ]
+  sources = [ "cpdf_docrenderdata_unittest.cpp" ]
   deps = [
     ":render",
     "../page",
diff --git a/core/fpdftext/BUILD.gn b/core/fpdftext/BUILD.gn
index 88dcbd7..f48a96d 100644
--- a/core/fpdftext/BUILD.gn
+++ b/core/fpdftext/BUILD.gn
@@ -27,11 +27,7 @@
 }
 
 pdfium_unittest_source_set("unittests") {
-  sources = [
-    "cpdf_linkextract_unittest.cpp",
-  ]
-  deps = [
-    ":fpdftext",
-  ]
+  sources = [ "cpdf_linkextract_unittest.cpp" ]
+  deps = [ ":fpdftext" ]
   pdfium_root_dir = "../../"
 }
diff --git a/core/fxcodec/BUILD.gn b/core/fxcodec/BUILD.gn
index d3a3450..e0bc3a7 100644
--- a/core/fxcodec/BUILD.gn
+++ b/core/fxcodec/BUILD.gn
@@ -155,8 +155,6 @@
 }
 
 pdfium_embeddertest_source_set("embeddertests") {
-  sources = [
-    "jbig2/jbig2_embeddertest.cpp",
-  ]
+  sources = [ "jbig2/jbig2_embeddertest.cpp" ]
   pdfium_root_dir = "../../"
 }
diff --git a/core/fxcrt/BUILD.gn b/core/fxcrt/BUILD.gn
index a336003..1512f97 100644
--- a/core/fxcrt/BUILD.gn
+++ b/core/fxcrt/BUILD.gn
@@ -101,9 +101,7 @@
     "../../third_party:pdfium_base",
     "../../xfa/*",
   ]
-  deps = [
-    "../../third_party:pdfium_base",
-  ]
+  deps = [ "../../third_party:pdfium_base" ]
   public_deps = [
     "../../:freetype_common",
     "../../third_party:pdfium_base",
diff --git a/core/fxge/BUILD.gn b/core/fxge/BUILD.gn
index ebfe8ab..04742d0 100644
--- a/core/fxge/BUILD.gn
+++ b/core/fxge/BUILD.gn
@@ -116,9 +116,7 @@
     "../../:pdfium_core_config",
   ]
 
-  deps = [
-    "../fxcrt",
-  ]
+  deps = [ "../fxcrt" ]
 
   if (is_component_build || use_system_freetype) {
     # ft_adobe_glyph_list is not exported from the Freetype shared library so we
@@ -213,9 +211,7 @@
 }
 
 pdfium_embeddertest_source_set("embeddertests") {
-  sources = [
-    "fx_ge_text_embeddertest.cpp",
-  ]
+  sources = [ "fx_ge_text_embeddertest.cpp" ]
   deps = []
   pdfium_root_dir = "../../"
 
diff --git a/fpdfsdk/fpdfxfa/BUILD.gn b/fpdfsdk/fpdfxfa/BUILD.gn
index 307d3f1..4e88c4c 100644
--- a/fpdfsdk/fpdfxfa/BUILD.gn
+++ b/fpdfsdk/fpdfxfa/BUILD.gn
@@ -37,12 +37,8 @@
 }
 
 pdfium_embeddertest_source_set("embeddertests") {
-  sources = [
-    "cpdfxfa_docenvironment_embeddertest.cpp",
-  ]
+  sources = [ "cpdfxfa_docenvironment_embeddertest.cpp" ]
   configs = [ "//v8:external_startup_data" ]
-  deps = [
-    "../../fxjs",
-  ]
+  deps = [ "../../fxjs" ]
   pdfium_root_dir = "../../"
 }
diff --git a/fxjs/BUILD.gn b/fxjs/BUILD.gn
index 0aac788..93c3bfa 100644
--- a/fxjs/BUILD.gn
+++ b/fxjs/BUILD.gn
@@ -16,9 +16,7 @@
     "ijs_runtime.h",
   ]
   configs += [ "../:pdfium_core_config" ]
-  deps = [
-    "../core/fxcrt",
-  ]
+  deps = [ "../core/fxcrt" ]
   visibility = [ "../*" ]
 
   if (pdf_enable_v8) {
@@ -112,9 +110,7 @@
       "//v8:v8_libplatform",
     ]
     configs += [ "//v8:external_startup_data" ]
-    public_deps = [
-      "//v8",
-    ]
+    public_deps = [ "//v8" ]
 
     if (pdf_enable_xfa) {
       sources += [
@@ -228,9 +224,7 @@
       "fx_date_helpers_unittest.cpp",
     ]
     configs = [ "//v8:external_startup_data" ]
-    deps = [
-      ":fxjs",
-    ]
+    deps = [ ":fxjs" ]
     pdfium_root_dir = "../"
   }
 
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index 5b90f60..581d05a 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -7,9 +7,7 @@
 
 group("samples") {
   testonly = true
-  deps = [
-    ":pdfium_test",
-  ]
+  deps = [ ":pdfium_test" ]
 }
 
 config("pdfium_samples_config") {
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 041062d..d49587c 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -156,9 +156,7 @@
     cflags += [ "-mfp16-format=ieee" ]
   }
 
-  public = [
-    "//third_party/skia/include/third_party/skcms/skcms.h",
-  ]
+  public = [ "//third_party/skia/include/third_party/skcms/skcms.h" ]
   include_dirs = [ "//third_party/skia/include/third_party/skcms" ]
   sources =
       rebase_path(skcms_sources, ".", "//third_party/skia/third_party/skcms")
@@ -310,9 +308,7 @@
     "../third_party:zlib",
     "//:freetype_common",
   ]
-  public_deps = [
-    ":skia_core_and_effects",
-  ]
+  public_deps = [ ":skia_core_and_effects" ]
 
   if (is_linux) {
     deps += [ "//third_party/icu:icuuc" ]
diff --git a/testing/BUILD.gn b/testing/BUILD.gn
index 85bc063..787aa6d 100644
--- a/testing/BUILD.gn
+++ b/testing/BUILD.gn
@@ -27,9 +27,7 @@
     "utils/path_service.cpp",
     "utils/path_service.h",
   ]
-  data = [
-    "resources/",
-  ]
+  data = [ "resources/" ]
   deps = [
     "../:pdfium_public_headers",
     "../core/fdrm",
diff --git a/testing/fuzzers/BUILD.gn b/testing/fuzzers/BUILD.gn
index df9c264..03e0610 100644
--- a/testing/fuzzers/BUILD.gn
+++ b/testing/fuzzers/BUILD.gn
@@ -81,24 +81,16 @@
 
 source_set("fuzzer_init") {
   testonly = true
-  sources = [
-    "pdf_fuzzer_init.cc",
-  ]
+  sources = [ "pdf_fuzzer_init.cc" ]
   include_dirs = [ "../.." ]
-  deps = [
-    "../../:pdfium_public_headers",
-  ]
+  deps = [ "../../:pdfium_public_headers" ]
 }
 
 source_set("fuzzer_init_public") {
   testonly = true
-  sources = [
-    "pdf_fuzzer_init_public.cc",
-  ]
+  sources = [ "pdf_fuzzer_init_public.cc" ]
   include_dirs = [ "../.." ]
-  deps = [
-    "../../:pdfium_public_headers",
-  ]
+  deps = [ "../../:pdfium_public_headers" ]
   if (pdf_enable_v8) {
     configs += [ "//v8:external_startup_data" ]
     deps += [
@@ -140,9 +132,7 @@
     "pdfium_fuzzer_util.cc",
     "pdfium_fuzzer_util.h",
   ]
-  deps = [
-    "../../:pdfium_public_headers",
-  ]
+  deps = [ "../../:pdfium_public_headers" ]
   include_dirs = [ "../.." ]
 }
 
@@ -164,9 +154,7 @@
     template_target_name = target_name
     source_set("${target_name}_src") {
       testonly = true
-      sources = [
-        "component_fuzzer_template.cc",
-      ]
+      sources = [ "component_fuzzer_template.cc" ]
       deps = [
         "../../:pdfium",
         init_dep,
@@ -209,18 +197,14 @@
 
 if (pdf_enable_v8) {
   pdfium_fuzzer("pdf_cjs_util_fuzzer") {
-    sources = [
-      "pdf_cjs_util_fuzzer.cc",
-    ]
+    sources = [ "pdf_cjs_util_fuzzer.cc" ]
     deps = [
       "../../core/fxcrt",
       "../../fxjs",
     ]
   }
   pdfium_fuzzer("pdf_fx_date_helpers_fuzzer") {
-    sources = [
-      "pdf_fx_date_helpers_fuzzer.cc",
-    ]
+    sources = [ "pdf_fx_date_helpers_fuzzer.cc" ]
     deps = [
       "../../core/fxcrt",
       "../../fxjs",
@@ -229,9 +213,7 @@
 
   if (pdf_enable_xfa) {
     pdfium_fuzzer("pdf_bidi_fuzzer") {
-      sources = [
-        "pdf_bidi_fuzzer.cc",
-      ]
+      sources = [ "pdf_bidi_fuzzer.cc" ]
       deps = [
         "../../:freetype_common",
         "../../core/fxcrt",
@@ -243,9 +225,7 @@
     }
 
     pdfium_fuzzer("pdf_cfgas_stringformatter_fuzzer") {
-      sources = [
-        "pdf_cfgas_stringformatter_fuzzer.cc",
-      ]
+      sources = [ "pdf_cfgas_stringformatter_fuzzer.cc" ]
       deps = [
         "../../core/fxcrt",
         "../../xfa/fgas",
@@ -254,9 +234,7 @@
     }
 
     pdfium_fuzzer("pdf_cfx_barcode_fuzzer") {
-      sources = [
-        "pdf_cfx_barcode_fuzzer.cc",
-      ]
+      sources = [ "pdf_cfx_barcode_fuzzer.cc" ]
       deps = [
         "../../core/fxcrt",
         "../../fxbarcode",
@@ -294,9 +272,7 @@
       }
 
       pdfium_fuzzer("pdf_lzw_fuzzer") {
-        sources = [
-          "pdf_lzw_fuzzer.cc",
-        ]
+        sources = [ "pdf_lzw_fuzzer.cc" ]
         deps = [
           "../../core/fxcodec",
           "../../third_party:pdfium_base",
@@ -348,9 +324,7 @@
     }
 
     pdfium_fuzzer("pdf_css_fuzzer") {
-      sources = [
-        "pdf_css_fuzzer.cc",
-      ]
+      sources = [ "pdf_css_fuzzer.cc" ]
       deps = [
         "../../core/fxcrt",
         "../../core/fxcrt/css",
@@ -358,9 +332,7 @@
     }
 
     pdfium_fuzzer("pdf_fm2js_fuzzer") {
-      sources = [
-        "pdf_fm2js_fuzzer.cc",
-      ]
+      sources = [ "pdf_fm2js_fuzzer.cc" ]
       deps = [
         "../../core/fxcrt",
         "../../fxjs",
@@ -368,9 +340,7 @@
     }
 
     pdfium_fuzzer("pdf_formcalc_context_fuzzer") {
-      sources = [
-        "pdf_formcalc_context_fuzzer.cc",
-      ]
+      sources = [ "pdf_formcalc_context_fuzzer.cc" ]
       deps = [
         ":fuzzer_helper",
         "../../:pdfium_public_headers",
@@ -384,9 +354,7 @@
     }
 
     pdfium_fuzzer("pdf_formcalc_fuzzer") {
-      sources = [
-        "pdf_formcalc_fuzzer.cc",
-      ]
+      sources = [ "pdf_formcalc_fuzzer.cc" ]
       deps = [
         "../../core/fxcrt",
         "../../xfa/fxfa/fm2js",
@@ -394,9 +362,7 @@
     }
 
     pdfium_fuzzer("pdfium_xfa_fuzzer") {
-      sources = [
-        "pdfium_xfa_fuzzer.cc",
-      ]
+      sources = [ "pdfium_xfa_fuzzer.cc" ]
       deps = [
         ":fuzzer_helper",
         "../../:pdfium_public_headers",
@@ -420,9 +386,7 @@
 
 if (is_clang) {
   pdfium_fuzzer("pdf_nametree_fuzzer") {
-    sources = [
-      "pdf_nametree_fuzzer.cc",
-    ]
+    sources = [ "pdf_nametree_fuzzer.cc" ]
     deps = [
       "../../core/fpdfapi/page",
       "../../core/fpdfapi/parser",
@@ -433,9 +397,7 @@
 }
 
 pdfium_fuzzer("pdf_cmap_fuzzer") {
-  sources = [
-    "pdf_cmap_fuzzer.cc",
-  ]
+  sources = [ "pdf_cmap_fuzzer.cc" ]
   deps = [
     "../../:freetype_common",
     "../../core/fpdfapi/font",
@@ -444,9 +406,7 @@
 }
 
 pdfium_fuzzer("pdf_codec_a85_fuzzer") {
-  sources = [
-    "pdf_codec_a85_fuzzer.cc",
-  ]
+  sources = [ "pdf_codec_a85_fuzzer.cc" ]
   deps = [
     "../../core/fxcodec",
     "../../core/fxcrt",
@@ -454,9 +414,7 @@
 }
 
 pdfium_fuzzer("pdf_codec_fax_fuzzer") {
-  sources = [
-    "pdf_codec_fax_fuzzer.cc",
-  ]
+  sources = [ "pdf_codec_fax_fuzzer.cc" ]
   deps = [
     ":fuzzer_utils",
     "../../core/fxcodec",
@@ -464,9 +422,7 @@
 }
 
 pdfium_fuzzer("pdf_codec_icc_fuzzer") {
-  sources = [
-    "pdf_codec_icc_fuzzer.cc",
-  ]
+  sources = [ "pdf_codec_icc_fuzzer.cc" ]
   deps = [
     "../../core/fxcodec",
     "../../third_party:pdfium_base",
@@ -475,9 +431,7 @@
 }
 
 pdfium_fuzzer("pdf_codec_jbig2_fuzzer") {
-  sources = [
-    "pdf_codec_jbig2_fuzzer.cc",
-  ]
+  sources = [ "pdf_codec_jbig2_fuzzer.cc" ]
   deps = [
     ":fuzzer_utils",
     "../../core/fpdfapi/parser",
@@ -488,9 +442,7 @@
 }
 
 pdfium_fuzzer("pdf_codec_rle_fuzzer") {
-  sources = [
-    "pdf_codec_rle_fuzzer.cc",
-  ]
+  sources = [ "pdf_codec_rle_fuzzer.cc" ]
   deps = [
     "../../core/fxcodec",
     "../../core/fxcrt",
@@ -498,18 +450,12 @@
 }
 
 pdfium_fuzzer("pdf_font_fuzzer") {
-  sources = [
-    "pdf_font_fuzzer.cc",
-  ]
-  deps = [
-    "../../:pdfium_public_headers",
-  ]
+  sources = [ "pdf_font_fuzzer.cc" ]
+  deps = [ "../../:pdfium_public_headers" ]
 }
 
 pdfium_fuzzer("pdf_hint_table_fuzzer") {
-  sources = [
-    "pdf_hint_table_fuzzer.cc",
-  ]
+  sources = [ "pdf_hint_table_fuzzer.cc" ]
   deps = [
     "../../core/fpdfapi/parser",
     "../../core/fxcrt",
@@ -518,9 +464,7 @@
 }
 
 pdfium_fuzzer("pdf_jpx_fuzzer") {
-  sources = [
-    "pdf_jpx_fuzzer.cc",
-  ]
+  sources = [ "pdf_jpx_fuzzer.cc" ]
   deps = [
     "../../core/fpdfapi/page",
     "../../core/fxcodec",
@@ -530,9 +474,7 @@
 }
 
 pdfium_fuzzer("pdf_psengine_fuzzer") {
-  sources = [
-    "pdf_psengine_fuzzer.cc",
-  ]
+  sources = [ "pdf_psengine_fuzzer.cc" ]
   deps = [
     "../../core/fpdfapi/page",
     "../../third_party:pdfium_base",
@@ -540,9 +482,7 @@
 }
 
 pdfium_fuzzer("pdf_scanlinecompositor_fuzzer") {
-  sources = [
-    "pdf_scanlinecompositor_fuzzer.cc",
-  ]
+  sources = [ "pdf_scanlinecompositor_fuzzer.cc" ]
   deps = [
     ":fuzzer_utils",
     "../../core/fxge",
@@ -551,9 +491,7 @@
 }
 
 pdfium_fuzzer("pdf_streamparser_fuzzer") {
-  sources = [
-    "pdf_streamparser_fuzzer.cc",
-  ]
+  sources = [ "pdf_streamparser_fuzzer.cc" ]
   deps = [
     "../../core/fpdfapi/page",
     "../../core/fpdfapi/parser",
@@ -562,9 +500,7 @@
 }
 
 pdfium_fuzzer("pdf_xml_fuzzer") {
-  sources = [
-    "pdf_xml_fuzzer.cc",
-  ]
+  sources = [ "pdf_xml_fuzzer.cc" ]
   deps = [
     "../../core/fxcrt",
     "../../third_party:pdfium_base",
@@ -572,11 +508,7 @@
 }
 
 pdfium_fuzzer("pdfium_fuzzer") {
-  sources = [
-    "pdfium_fuzzer.cc",
-  ]
-  deps = [
-    ":fuzzer_helper",
-  ]
+  sources = [ "pdfium_fuzzer.cc" ]
+  deps = [ ":fuzzer_helper" ]
   public_fuzzer = true
 }
diff --git a/testing/gmock/BUILD.gn b/testing/gmock/BUILD.gn
index a22d892..d7de2e9 100644
--- a/testing/gmock/BUILD.gn
+++ b/testing/gmock/BUILD.gn
@@ -16,9 +16,7 @@
     "include/gmock/gmock-matchers.h",
     "include/gmock/gmock.h",
   ]
-  deps = [
-    "//third_party/googletest:gmock",
-  ]
+  deps = [ "//third_party/googletest:gmock" ]
 
   # TODO(crbug.com/806952): Depending on gmock_mutant only if build_with_chromium,
   # because gmock_mutant depends on //base which uses C++14. Since gmock is a
@@ -26,9 +24,7 @@
   if (build_with_chromium) {
     # Allow Chromium targets depending on gmock to #include testing/gmock_mutant.h
     # without triggering a `gn check` error.
-    public_deps = [
-      "//testing:gmock_mutant",
-    ]
+    public_deps = [ "//testing:gmock_mutant" ]
   }
 
   public_configs = [
@@ -42,7 +38,5 @@
 # into //third_party/googletest.
 source_set("gmock_main") {
   testonly = true
-  deps = [
-    "//third_party/googletest:gmock_main",
-  ]
+  deps = [ "//third_party/googletest:gmock_main" ]
 }
diff --git a/testing/gtest/BUILD.gn b/testing/gtest/BUILD.gn
index 4c1ce37..ad0b269 100644
--- a/testing/gtest/BUILD.gn
+++ b/testing/gtest/BUILD.gn
@@ -4,9 +4,9 @@
 
 import("//build_overrides/gtest.gni")
 if (is_ios) {
+  import("//build/buildflag_header.gni")
   import("//build/config/coverage/coverage.gni")
   import("//build/config/ios/ios_sdk.gni")
-  import("//build/buildflag_header.gni")
 }
 
 config("gtest_direct_config") {
@@ -40,9 +40,7 @@
     #    Android. https://codereview.chromium.org/2852613002/#ps20001
     "empty.cc",
   ]
-  public_deps = [
-    "//third_party/googletest:gtest",
-  ]
+  public_deps = [ "//third_party/googletest:gtest" ]
 
   public_configs = [ ":gtest_direct_config" ]
 
@@ -76,9 +74,7 @@
       "../coverage_util_ios.h",
       "../coverage_util_ios.mm",
     ]
-    deps = [
-      ":ios_enable_coverage",
-    ]
+    deps = [ ":ios_enable_coverage" ]
   }
 }
 
@@ -87,9 +83,7 @@
 # into //third_party/googletest.
 source_set("gtest_main") {
   testonly = true
-  deps = [
-    "//third_party/googletest:gtest_main",
-  ]
+  deps = [ "//third_party/googletest:gtest_main" ]
 }
 
 if (is_ios) {
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 0db3a96..887dacb 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -252,9 +252,7 @@
       "agg23/agg_vcgen_dash.cpp",
       "agg23/agg_vcgen_stroke.cpp",
     ]
-    deps = [
-      "../core/fxcrt",
-    ]
+    deps = [ "../core/fxcrt" ]
   }
 }
 
@@ -312,9 +310,7 @@
     "lcms/src/cmswtpnt.c",
     "lcms/src/cmsxform.c",
   ]
-  deps = [
-    "../core/fxcrt",
-  ]
+  deps = [ "../core/fxcrt" ]
 }
 
 if (!build_with_chromium) {
@@ -343,14 +339,10 @@
     if (use_system_libjpeg) {
       public_configs = [ ":system_libjpeg_config" ]
     } else if (use_libjpeg_turbo) {
-      public_deps = [
-        "//third_party/libjpeg_turbo:libjpeg",
-      ]
+      public_deps = [ "//third_party/libjpeg_turbo:libjpeg" ]
       public_configs = [ ":libjpeg_turbo_config" ]
     } else {
-      public_deps = [
-        "//third_party/libjpeg:libjpeg",
-      ]
+      public_deps = [ "//third_party/libjpeg:libjpeg" ]
     }
   }
 }
@@ -364,9 +356,7 @@
   if (use_system_zlib) {
     public_configs = [ ":system_zlib_config" ]
   } else {
-    public_deps = [
-      "//third_party/zlib",
-    ]
+    public_deps = [ "//third_party/zlib" ]
   }
 }
 
@@ -380,9 +370,7 @@
   if (use_system_lcms2) {
     public_configs = [ ":lcms2_from_pkgconfig" ]
   } else {
-    public_deps = [
-      ":fx_lcms2",
-    ]
+    public_deps = [ ":fx_lcms2" ]
   }
 }
 
@@ -396,9 +384,7 @@
   if (use_system_libopenjpeg2) {
     public_configs = [ ":libopenjpeg2_from_pkgconfig" ]
   } else {
-    public_deps = [
-      ":fx_libopenjpeg",
-    ]
+    public_deps = [ ":fx_libopenjpeg" ]
   }
 }
 
@@ -456,9 +442,7 @@
   if (use_system_libpng) {
     public_configs = [ ":system_libpng_config" ]
   } else {
-    public_deps = [
-      ":fx_lpng",
-    ]
+    public_deps = [ ":fx_lpng" ]
   }
 }
 
@@ -496,9 +480,7 @@
 
   defines = []
   cflags = []
-  deps = [
-    ":zlib",
-  ]
+  deps = [ ":zlib" ]
 
   if (current_cpu == "x86" || current_cpu == "x64") {
     sources += [
diff --git a/third_party/android_sdk/BUILD.gn b/third_party/android_sdk/BUILD.gn
index 852b66a..da970c3 100644
--- a/third_party/android_sdk/BUILD.gn
+++ b/third_party/android_sdk/BUILD.gn
@@ -16,9 +16,7 @@
 }
 
 source_set("cpu_features") {
-  sources = [
-    "$android_ndk_root/sources/android/cpufeatures/cpu-features.c",
-  ]
+  sources = [ "$android_ndk_root/sources/android/cpufeatures/cpu-features.c" ]
   public_configs = [ ":cpu_features_include" ]
 
   configs -= [ "//build/config/compiler:chromium_code" ]
diff --git a/third_party/googletest/BUILD.gn b/third_party/googletest/BUILD.gn
index 2bde37c..dbfc334 100644
--- a/third_party/googletest/BUILD.gn
+++ b/third_party/googletest/BUILD.gn
@@ -89,12 +89,8 @@
 # See README.chromium for details.
 source_set("gtest_main") {
   testonly = true
-  sources = [
-    "src/googletest/src/gtest_main.cc",
-  ]
-  deps = [
-    ":gtest",
-  ]
+  sources = [ "src/googletest/src/gtest_main.cc" ]
+  deps = [ ":gtest" ]
 }
 
 # Do NOT depend on this directly. Use //testing/gmock:gmock_main instead.
@@ -136,10 +132,6 @@
 # See README.chromium for details.
 static_library("gmock_main") {
   testonly = true
-  sources = [
-    "src/googlemock/src/gmock_main.cc",
-  ]
-  deps = [
-    ":gmock",
-  ]
+  sources = [ "src/googlemock/src/gmock_main.cc" ]
+  deps = [ ":gmock" ]
 }
diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn
index 6e245fe..c6543a5 100644
--- a/third_party/yasm/BUILD.gn
+++ b/third_party/yasm/BUILD.gn
@@ -88,9 +88,7 @@
   }
 
   executable("genmacro") {
-    sources = [
-      "source/patched-yasm/tools/genmacro/genmacro.c",
-    ]
+    sources = [ "source/patched-yasm/tools/genmacro/genmacro.c" ]
     configs -= [ "//build/config/compiler:chromium_code" ]
     configs += [
       ":yasm_config",
@@ -103,9 +101,7 @@
   }
 
   executable("genmodule") {
-    sources = [
-      "source/patched-yasm/libyasm/genmodule.c",
-    ]
+    sources = [ "source/patched-yasm/libyasm/genmodule.c" ]
     configs -= [ "//build/config/compiler:chromium_code" ]
     configs += [
       ":yasm_config",
@@ -161,9 +157,7 @@
   }
 
   executable("genstring") {
-    sources = [
-      "source/patched-yasm/genstring.c",
-    ]
+    sources = [ "source/patched-yasm/genstring.c" ]
     configs -= [ "//build/config/compiler:chromium_code" ]
     configs += [
       ":yasm_config",
@@ -176,9 +170,7 @@
   }
 
   executable("genversion") {
-    sources = [
-      "source/patched-yasm/modules/preprocs/nasm/genversion.c",
-    ]
+    sources = [ "source/patched-yasm/modules/preprocs/nasm/genversion.c" ]
     configs -= [ "//build/config/compiler:chromium_code" ]
     configs += [
       ":yasm_config",
@@ -391,9 +383,7 @@
       "source/patched-yasm/modules/arch/x86/x86regtmod.gperf",
     ]
 
-    outputs = [
-      "$target_gen_dir/{{source_name_part}}.c",
-    ]
+    outputs = [ "$target_gen_dir/{{source_name_part}}.c" ]
     args = [
       "{{source}}",
       rebase_path(target_gen_dir, root_build_dir) + "/{{source_name_part}}.c",
@@ -414,9 +404,7 @@
       "source/patched-yasm/x86insn_nasm.gperf",
     ]
 
-    outputs = [
-      "$yasm_gen_include_dir/{{source_name_part}}.c",
-    ]
+    outputs = [ "$yasm_gen_include_dir/{{source_name_part}}.c" ]
     args = [
       "{{source}}",
       rebase_path(yasm_gen_include_dir, root_build_dir) +
@@ -445,49 +433,31 @@
   compile_macro("compile_nasm_macros") {
     # Output #included by
     #   source/patched-yasm/modules/preprocs/nasm/nasm-parser.c
-    sources = [
-      "source/patched-yasm/modules/parsers/nasm/nasm-std.mac",
-    ]
-    outputs = [
-      "$yasm_gen_include_dir/nasm-macros.c",
-    ]
+    sources = [ "source/patched-yasm/modules/parsers/nasm/nasm-std.mac" ]
+    outputs = [ "$yasm_gen_include_dir/nasm-macros.c" ]
     macro_varname = "nasm_standard_mac"
   }
 
   compile_macro("compile_nasm_version") {
     # Output #included by
     #   source/patched-yasm/modules/preprocs/nasm/nasm-preproc.c
-    sources = [
-      "$target_gen_dir/$version_file",
-    ]
-    outputs = [
-      "$yasm_gen_include_dir/nasm-version.c",
-    ]
+    sources = [ "$target_gen_dir/$version_file" ]
+    outputs = [ "$yasm_gen_include_dir/nasm-version.c" ]
     macro_varname = "nasm_version_mac"
-    deps = [
-      ":generate_version",
-    ]
+    deps = [ ":generate_version" ]
   }
 
   compile_macro("compile_win64_gas") {
     # Output #included by source/patched-yasm/frontends/yasm/yasm.c.
-    sources = [
-      "source/patched-yasm/modules/objfmts/coff/win64-gas.mac",
-    ]
-    outputs = [
-      "$yasm_gen_include_dir/win64-gas.c",
-    ]
+    sources = [ "source/patched-yasm/modules/objfmts/coff/win64-gas.mac" ]
+    outputs = [ "$yasm_gen_include_dir/win64-gas.c" ]
     macro_varname = "win64_gas_stdmac"
   }
 
   compile_macro("compile_win64_nasm") {
     # Output #included by source/patched-yasm/frontends/yasm/yasm.c.
-    sources = [
-      "source/patched-yasm/modules/objfmts/coff/win64-nasm.mac",
-    ]
-    outputs = [
-      "$yasm_gen_include_dir/win64-nasm.c",
-    ]
+    sources = [ "source/patched-yasm/modules/objfmts/coff/win64-nasm.mac" ]
+    outputs = [ "$yasm_gen_include_dir/win64-nasm.c" ]
     macro_varname = "win64_nasm_stdmac"
   }
 
@@ -497,9 +467,7 @@
       "source/patched-yasm/modules/parsers/gas/gas-token.re",
       "source/patched-yasm/modules/parsers/nasm/nasm-token.re",
     ]
-    outputs = [
-      "$target_gen_dir/{{source_name_part}}.c",
-    ]
+    outputs = [ "$target_gen_dir/{{source_name_part}}.c" ]
     args = [
       "-b",
       "-o",
@@ -511,12 +479,8 @@
   # This call doesn't fit into the re2c template above.
   compiled_action("compile_re2c_lc3b") {
     tool = ":re2c"
-    inputs = [
-      "source/patched-yasm/modules/arch/lc3b/lc3bid.re",
-    ]
-    outputs = [
-      "$target_gen_dir/lc3bid.c",
-    ]
+    inputs = [ "source/patched-yasm/modules/arch/lc3b/lc3bid.re" ]
+    outputs = [ "$target_gen_dir/lc3bid.c" ]
     args = [
       "-s",
       "-o",
@@ -529,12 +493,8 @@
     tool = ":genstring"
 
     # Output #included by source/patched-yasm/frontends/yasm/yasm.c.
-    inputs = [
-      "source/patched-yasm/COPYING",
-    ]
-    outputs = [
-      "$yasm_gen_include_dir/license.c",
-    ]
+    inputs = [ "source/patched-yasm/COPYING" ]
+    outputs = [ "$yasm_gen_include_dir/license.c" ]
     args = [
       "license_msg",
       rebase_path(outputs[0], root_build_dir),
@@ -548,9 +508,7 @@
       "source/patched-yasm/libyasm/module.in",
       config_makefile,
     ]
-    outputs = [
-      "$target_gen_dir/module.c",
-    ]
+    outputs = [ "$target_gen_dir/module.c" ]
     args = [
       rebase_path(inputs[0], root_build_dir),
       rebase_path(config_makefile, root_build_dir),
@@ -560,9 +518,7 @@
 
   compiled_action("generate_version") {
     tool = ":genversion"
-    outputs = [
-      "$target_gen_dir/$version_file",
-    ]
+    outputs = [ "$target_gen_dir/$version_file" ]
     args = [ rebase_path(outputs[0], root_build_dir) ]
   }
 }
diff --git a/xfa/fde/BUILD.gn b/xfa/fde/BUILD.gn
index b977597..1806683 100644
--- a/xfa/fde/BUILD.gn
+++ b/xfa/fde/BUILD.gn
@@ -31,9 +31,7 @@
 }
 
 pdfium_unittest_source_set("unittests") {
-  sources = [
-    "cfde_texteditengine_unittest.cpp",
-  ]
+  sources = [ "cfde_texteditengine_unittest.cpp" ]
   deps = [
     ":fde",
     "../../core/fxge",
diff --git a/xfa/fwl/BUILD.gn b/xfa/fwl/BUILD.gn
index 5d3d058..765704d 100644
--- a/xfa/fwl/BUILD.gn
+++ b/xfa/fwl/BUILD.gn
@@ -125,8 +125,6 @@
 }
 
 pdfium_embeddertest_source_set("embeddertests") {
-  sources = [
-    "cfwl_edit_embeddertest.cpp",
-  ]
+  sources = [ "cfwl_edit_embeddertest.cpp" ]
   pdfium_root_dir = "../../"
 }
diff --git a/xfa/fxfa/BUILD.gn b/xfa/fxfa/BUILD.gn
index 07fa21c..8490abe 100644
--- a/xfa/fxfa/BUILD.gn
+++ b/xfa/fxfa/BUILD.gn
@@ -129,8 +129,6 @@
     "cxfa_textparser_unittest.cpp",
     "fxfa_basic_unittest.cpp",
   ]
-  deps = [
-    ":fxfa",
-  ]
+  deps = [ ":fxfa" ]
   pdfium_root_dir = "../../"
 }
diff --git a/xfa/fxfa/fm2js/BUILD.gn b/xfa/fxfa/fm2js/BUILD.gn
index 7782b39..a6b2540 100644
--- a/xfa/fxfa/fm2js/BUILD.gn
+++ b/xfa/fxfa/fm2js/BUILD.gn
@@ -20,9 +20,7 @@
     "cxfa_fmtojavascriptdepth.cpp",
     "cxfa_fmtojavascriptdepth.h",
   ]
-  deps = [
-    "../../../core/fxcrt",
-  ]
+  deps = [ "../../../core/fxcrt" ]
   configs += [
     "../../../:pdfium_core_config",
     "../../:xfa_warnings",
@@ -37,8 +35,6 @@
     "cxfa_fmparser_unittest.cpp",
     "cxfa_fmsimpleexpression_unittest.cpp",
   ]
-  deps = [
-    ":fm2js",
-  ]
+  deps = [ ":fm2js" ]
   pdfium_root_dir = "../../../"
 }
diff --git a/xfa/fxfa/layout/BUILD.gn b/xfa/fxfa/layout/BUILD.gn
index 14be551..6c9295f 100644
--- a/xfa/fxfa/layout/BUILD.gn
+++ b/xfa/fxfa/layout/BUILD.gn
@@ -37,8 +37,6 @@
 }
 
 pdfium_embeddertest_source_set("embeddertests") {
-  sources = [
-    "cxfa_layoutitem_embeddertest.cpp",
-  ]
+  sources = [ "cxfa_layoutitem_embeddertest.cpp" ]
   pdfium_root_dir = "../../../"
 }
diff --git a/xfa/fxfa/parser/BUILD.gn b/xfa/fxfa/parser/BUILD.gn
index fcb258c..c6f6d55 100644
--- a/xfa/fxfa/parser/BUILD.gn
+++ b/xfa/fxfa/parser/BUILD.gn
@@ -716,8 +716,6 @@
 }
 
 pdfium_embeddertest_source_set("embeddertests") {
-  sources = [
-    "cxfa_document_parser_embeddertest.cpp",
-  ]
+  sources = [ "cxfa_document_parser_embeddertest.cpp" ]
   pdfium_root_dir = "../../../"
 }