Index: headless/BUILD.gn |
diff --git a/headless/BUILD.gn b/headless/BUILD.gn |
index 98463d931d2a610ab22154d02150636b3bfd3759..e21096901024f1b91230125956978ea1b95b2568 100644 |
--- a/headless/BUILD.gn |
+++ b/headless/BUILD.gn |
@@ -2,6 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/chrome_build.gni") |
import("//mojo/public/tools/bindings/mojom.gni") |
import("//testing/test.gni") |
import("//tools/grit/grit_rule.gni") |
@@ -22,6 +23,7 @@ repack("pak") { |
"$root_gen_dir/blink/devtools_resources.pak", |
"$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak", |
"$root_gen_dir/blink/public/resources/blink_resources.pak", |
+ "$root_gen_dir/components/strings/components_strings_en-US.pak", |
"$root_gen_dir/content/app/resources/content_resources_100_percent.pak", |
"$root_gen_dir/content/app/strings/content_strings_en-US.pak", |
"$root_gen_dir/content/browser/tracing/tracing_resources.pak", |
@@ -34,8 +36,15 @@ repack("pak") { |
"$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
] |
+ if (is_chrome_branded) { |
+ sources += [ "${root_gen_dir}/components/strings/components_google_chrome_strings_en-US.pak" ] |
+ } else { |
+ sources += [ "${root_gen_dir}/components/strings/components_chromium_strings_en-US.pak" ] |
+ } |
+ |
deps = [ |
":headless_lib_resources_grit", |
+ "//components/strings", |
"//content:resources", |
"//content/app/resources", |
"//content/app/strings", |
@@ -219,6 +228,8 @@ static_library("headless_lib") { |
":gen_devtools_client_api", |
":pak", |
"//base", |
+ "//components/security_state/content", |
+ "//components/security_state/core", |
"//content/public/app:both", |
"//content/public/browser", |
"//content/public/child", |