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