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

Unified Diff: headless/lib/BUILD.gn

Issue 1410573004: headless: Add a headless shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to a top level directory. Created 5 years, 2 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
Index: headless/lib/BUILD.gn
diff --git a/headless/lib/BUILD.gn b/headless/lib/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..efe1eca15607d75d3c9ce42472f8003b84e1fc2b
--- /dev/null
+++ b/headless/lib/BUILD.gn
@@ -0,0 +1,49 @@
+import("//build/config/features.gni")
Peter Beverloo 2015/10/27 14:35:51 nit: copyright header
+import("//tools/grit/repack.gni")
+
+repack("pak") {
+ sources = [
+ "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak",
+ "$root_gen_dir/blink/public/resources/blink_resources.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",
+ "$root_gen_dir/content/content_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",
+ "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
+ "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
+ ]
+
+ deps = [
+ "//content:resources",
+ "//content/app/resources",
+ "//content/app/strings",
+ "//content/browser/tracing:resources",
+ "//net:net_resources",
+ "//third_party/WebKit/public:image_resources",
+ "//third_party/WebKit/public:resources",
+ "//ui/resources",
+ "//ui/strings",
+ ]
+
+ output = "$root_out_dir/headless.pak"
+}
+
+shared_library("headless") {
+ sources = [
+ "headless_main_delegate.cc",
+ "headless_main_delegate.h",
+ ]
+
+ defines = [ "HEADLESS_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ "//build/config/sanitizers:deps",
+ "//content/public/common",
+ "//ui/base",
+ ":pak",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698