Chromium Code Reviews| 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", |
| + ] |
| +} |