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

Unified Diff: headless/BUILD.gn

Issue 1698403004: headless: Add devtools discovery page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 10 months 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/headless_devtools.cc » ('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 f31584f924ae7c2d55af6062a9ce70eb5f1f2d49..a388908a17363256822740db962251d5fd30a021 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//testing/test.gni")
+import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni")
group("headless") {
@@ -20,6 +21,7 @@ repack("pak") {
"$root_gen_dir/content/app/strings/content_strings_en-US.pak",
"$root_gen_dir/content/browser/tracing/tracing_resources.pak",
"$root_gen_dir/content/content_resources.pak",
+ "$root_gen_dir/headless/headless_lib_resources.pak",
"$root_gen_dir/net/net_resources.pak",
"$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
"$root_gen_dir/ui/resources/webui_resources.pak",
@@ -28,6 +30,7 @@ repack("pak") {
]
deps = [
+ ":headless_lib_resources_grit",
"//content:resources",
"//content/app/resources",
"//content/app/strings",
@@ -43,6 +46,14 @@ repack("pak") {
output = "$root_out_dir/headless_lib.pak"
}
+grit("headless_lib_resources_grit") {
+ source = "lib/resources/headless_lib_resources.grd"
+ outputs = [
+ "grit/headless_lib_resources.h",
+ "$root_gen_dir/headless/headless_lib_resources.pak",
+ ]
+}
+
static_library("headless_lib") {
sources = [
"lib/browser/headless_browser_context.cc",
« no previous file with comments | « no previous file | headless/lib/browser/headless_devtools.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698