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