OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 36 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
37 ] | 37 ] |
38 | 38 |
39 if (is_chrome_branded) { | 39 if (is_chrome_branded) { |
40 sources += [ "${root_gen_dir}/components/strings/components_google_chrome_st
rings_en-US.pak" ] | 40 sources += [ "${root_gen_dir}/components/strings/components_google_chrome_st
rings_en-US.pak" ] |
41 } else { | 41 } else { |
42 sources += [ "${root_gen_dir}/components/strings/components_chromium_strings
_en-US.pak" ] | 42 sources += [ "${root_gen_dir}/components/strings/components_chromium_strings
_en-US.pak" ] |
43 } | 43 } |
44 | 44 |
45 deps = [ | 45 deps = [ |
46 ":headless_lib_resources_grit", | 46 ":resources", |
47 "//components/strings", | 47 "//components/strings", |
48 "//content:resources", | 48 "//content:resources", |
49 "//content/app/resources", | 49 "//content/app/resources", |
50 "//content/app/strings", | 50 "//content/app/strings", |
51 "//content/browser/devtools:resources", | 51 "//content/browser/devtools:resources", |
52 "//content/browser/tracing:resources", | 52 "//content/browser/tracing:resources", |
53 "//net:net_resources", | 53 "//net:net_resources", |
54 "//third_party/WebKit/public:image_resources", | 54 "//third_party/WebKit/public:image_resources", |
55 "//third_party/WebKit/public:resources", | 55 "//third_party/WebKit/public:resources", |
56 "//ui/resources", | 56 "//ui/resources", |
57 "//ui/strings", | 57 "//ui/strings", |
58 ] | 58 ] |
59 | 59 |
60 output = "$root_out_dir/headless_lib.pak" | 60 output = "$root_out_dir/headless_lib.pak" |
61 } | 61 } |
62 | 62 |
63 grit("headless_lib_resources_grit") { | 63 grit("resources") { |
64 source = "lib/resources/headless_lib_resources.grd" | 64 source = "lib/resources/headless_lib_resources.grd" |
65 outputs = [ | 65 outputs = [ |
66 "grit/headless_lib_resources.h", | 66 "grit/headless_lib_resources.h", |
67 "$root_gen_dir/headless/headless_lib_resources.pak", | 67 "$root_gen_dir/headless/headless_lib_resources.pak", |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
71 devtools_domains = [ | 71 devtools_domains = [ |
72 "accessibility", | 72 "accessibility", |
73 "animation", | 73 "animation", |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 | 362 |
363 executable("headless_shell") { | 363 executable("headless_shell") { |
364 sources = [ | 364 sources = [ |
365 "app/headless_shell_main.cc", | 365 "app/headless_shell_main.cc", |
366 ] | 366 ] |
367 | 367 |
368 deps = [ | 368 deps = [ |
369 "//headless:headless_shell_lib", | 369 "//headless:headless_shell_lib", |
370 ] | 370 ] |
371 } | 371 } |
OLD | NEW |