Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: headless/BUILD.gn

Issue 2507003002: Enable security state computation for HeadlessWebContents. (Closed)
Patch Set: fix copyright Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | headless/lib/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « no previous file | headless/lib/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698