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 # GYP version: ui/resources/ui_resources.gyp:ui_resources | 8 # GYP version: ui/resources/ui_resources.gyp:ui_resources |
9 group("resources") { | 9 group("resources") { |
10 deps = [ | 10 deps = [ |
11 ":ui_resources_grd", | 11 ":ui_resources_grd", |
12 ":ui_unscaled_resources_grd", | 12 ":ui_unscaled_resources_grd", |
13 ":webui_resources_grd", | 13 ":webui_resources_grd", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 grit("ui_resources_grd") { | 17 grit("ui_resources_grd") { |
| 18 visibility = ":resources" |
18 source = "ui_resources.grd" | 19 source = "ui_resources.grd" |
19 outputs = [ | 20 outputs = [ |
20 "grit/ui_resources.h", | 21 "grit/ui_resources.h", |
21 "grit/ui_resources_map.cc", | 22 "grit/ui_resources_map.cc", |
22 "grit/ui_resources_map.h", | 23 "grit/ui_resources_map.h", |
23 "ui_resources_100_percent.pak", | 24 "ui_resources_100_percent.pak", |
24 "ui_resources_200_percent.pak", | 25 "ui_resources_200_percent.pak", |
25 ] | 26 ] |
26 } | 27 } |
27 | 28 |
28 grit("ui_unscaled_resources_grd") { | 29 grit("ui_unscaled_resources_grd") { |
| 30 visibility = ":resources" |
29 source = "ui_unscaled_resources.grd" | 31 source = "ui_unscaled_resources.grd" |
30 outputs = [ | 32 outputs = [ |
31 "grit/ui_unscaled_resources.h", | 33 "grit/ui_unscaled_resources.h", |
32 "ui_unscaled_resources.rc", | 34 "ui_unscaled_resources.rc", |
33 ] | 35 ] |
34 } | 36 } |
35 | 37 |
36 grit("webui_resources_grd") { | 38 grit("webui_resources_grd") { |
| 39 visibility = ":resources" |
37 source = "../webui/resources/webui_resources.grd" | 40 source = "../webui/resources/webui_resources.grd" |
38 outputs = [ | 41 outputs = [ |
39 "grit/webui_resources.h", | 42 "grit/webui_resources.h", |
40 "grit/webui_resources_map.cc", | 43 "grit/webui_resources_map.cc", |
41 "grit/webui_resources_map.h", | 44 "grit/webui_resources_map.h", |
42 "webui_resources.pak", | 45 "webui_resources.pak", |
43 ] | 46 ] |
44 } | 47 } |
45 | 48 |
46 if (!is_mac) { | 49 if (!is_mac) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 deps = [ | 88 deps = [ |
86 "//ui/resources", | 89 "//ui/resources", |
87 "//ui/strings", | 90 "//ui/strings", |
88 ] | 91 ] |
89 | 92 |
90 if (!is_mac) { | 93 if (!is_mac) { |
91 deps += [ ":copy_ui_resources_100_percent" ] | 94 deps += [ ":copy_ui_resources_100_percent" ] |
92 } | 95 } |
93 } | 96 } |
94 | 97 |
OLD | NEW |