OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//extensions/extensions.gni") | 5 import("//extensions/extensions.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 assert(enable_extensions) | 10 assert(enable_extensions) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 outputs = [ | 52 outputs = [ |
53 "grit/extensions_renderer_resources.h", | 53 "grit/extensions_renderer_resources.h", |
54 "extensions_renderer_resources.pak", | 54 "extensions_renderer_resources.pak", |
55 ] | 55 ] |
56 grit_flags = [ | 56 grit_flags = [ |
57 "-E", | 57 "-E", |
58 "mojom_root=" + rebase_path(root_gen_dir), | 58 "mojom_root=" + rebase_path(root_gen_dir), |
59 ] | 59 ] |
60 | 60 |
61 deps = [ | 61 deps = [ |
62 "//device/serial:serial_mojo", | 62 "//device/serial:serial_mojo__generator", |
63 "//extensions/common:mojo", | 63 "//extensions/common:mojo__generator", |
64 "//extensions/common/api:mojom", | 64 "//extensions/common/api:mojom__generator", |
65 ] | 65 ] |
66 } | 66 } |
67 | 67 |
68 source_set("test_support") { | 68 source_set("test_support") { |
69 testonly = true | 69 testonly = true |
70 sources = rebase_path(extensions_gypi_values.extensions_test_support_sources, | 70 sources = rebase_path(extensions_gypi_values.extensions_test_support_sources, |
71 ".", | 71 ".", |
72 "//extensions") | 72 "//extensions") |
73 | 73 |
74 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 74 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 113 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
114 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 114 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
115 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 115 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
116 ] | 116 ] |
117 | 117 |
118 output = "$root_out_dir/extensions_shell_and_test.pak" | 118 output = "$root_out_dir/extensions_shell_and_test.pak" |
119 | 119 |
120 deps = [ | 120 deps = [ |
121 ":extensions_resources", | 121 ":extensions_resources", |
122 "//content:resources", | 122 "//content:resources", |
| 123 "//content/app/strings", |
123 "//content/browser/devtools:devtools_resources", | 124 "//content/browser/devtools:devtools_resources", |
124 "//content/shell:resources", | 125 "//content/shell:resources", |
125 "//extensions/shell:resources", | 126 "//extensions/shell:resources", |
126 "//extensions/strings", | 127 "//extensions/strings", |
127 "//third_party/WebKit/public:image_resources", | 128 "//third_party/WebKit/public:image_resources", |
128 "//third_party/WebKit/public:resources", | 129 "//third_party/WebKit/public:resources", |
129 "//ui/resources", | 130 "//ui/resources", |
130 "//ui/strings", | 131 "//ui/strings", |
131 ] | 132 ] |
132 } | 133 } |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 ] | 216 ] |
216 | 217 |
217 if (is_win) { | 218 if (is_win) { |
218 deps += [ "//base/allocator" ] | 219 deps += [ "//base/allocator" ] |
219 } | 220 } |
220 | 221 |
221 if (is_mac) { | 222 if (is_mac) { |
222 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. | 223 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. |
223 } | 224 } |
224 } | 225 } |
OLD | NEW |