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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 import("//tools/grit/repack.gni") | 6 import("//tools/grit/repack.gni") |
7 | 7 |
8 group("resources") { | 8 group("resources") { |
9 public_deps = [ | 9 public_deps = [ |
10 ":ui_resources_grd", | 10 ":ui_resources_grd", |
11 ":ui_unscaled_resources_grd", | 11 ":ui_unscaled_resources_grd", |
12 ":webui_resources_grd", | 12 ":webui_resources_grd", |
13 ] | 13 ] |
14 } | 14 } |
15 | 15 |
16 grit("ui_resources_grd") { | 16 grit("ui_resources_grd") { |
17 source = "ui_resources.grd" | 17 source = "ui_resources.grd" |
18 outputs = [ | 18 outputs = [ |
19 "grit/ui_resources.h", | 19 "grit/ui_resources.h", |
20 "grit/ui_resources_map.cc", | 20 "grit/ui_resources_map.cc", |
21 "grit/ui_resources_map.h", | 21 "grit/ui_resources_map.h", |
22 "ui_resources_100_percent.pak", | 22 "ui_resources_100_percent.pak", |
23 "ui_resources_200_percent.pak", | 23 "ui_resources_200_percent.pak", |
24 "ui_resources_300_percent.pak", | 24 "ui_resources_300_percent.pak", |
25 ] | 25 ] |
26 } | 26 } |
27 | 27 |
28 grit("ui_unscaled_resources_grd") { | 28 grit("ui_unscaled_resources_grd") { |
29 source = "ui_unscaled_resources.grd" | 29 source = "ui_unscaled_resources.grd" |
30 use_qualified_include = true | |
31 outputs = [ | 30 outputs = [ |
32 "grit/ui_unscaled_resources.h", | 31 "grit/ui_unscaled_resources.h", |
33 "ui_unscaled_resources.rc", | 32 "ui_unscaled_resources.rc", |
34 ] | 33 ] |
35 } | 34 } |
36 | 35 |
37 grit("webui_resources_grd") { | 36 grit("webui_resources_grd") { |
38 source = "../webui/resources/webui_resources.grd" | 37 source = "../webui/resources/webui_resources.grd" |
39 outputs = [ | 38 outputs = [ |
40 "grit/webui_resources.h", | 39 "grit/webui_resources.h", |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 237 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
239 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 238 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
240 ] | 239 ] |
241 | 240 |
242 output = "$root_out_dir/ui/en.lproj/locale.pak" | 241 output = "$root_out_dir/ui/en.lproj/locale.pak" |
243 | 242 |
244 deps = [ | 243 deps = [ |
245 "//ui/strings", | 244 "//ui/strings", |
246 ] | 245 ] |
247 } | 246 } |
OLD | NEW |