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 | 6 |
7 # GYP version: chrome/chrome_resources.gyp:theme_resources | |
8 grit("theme_resources") { | 7 grit("theme_resources") { |
9 source = "theme_resources.grd" | 8 source = "theme_resources.grd" |
10 outputs = [ | 9 outputs = [ |
11 "grit/theme_resources.h", | 10 "grit/theme_resources.h", |
12 "grit/theme_resources_map.cc", | 11 "grit/theme_resources_map.cc", |
13 "grit/theme_resources_map.h", | 12 "grit/theme_resources_map.h", |
14 "theme_resources_100_percent.pak", | 13 "theme_resources_100_percent.pak", |
15 "theme_resources_200_percent.pak", | 14 "theme_resources_200_percent.pak", |
16 "theme_resources_300_percent.pak", | 15 "theme_resources_300_percent.pak", |
17 ] | 16 ] |
18 | 17 |
19 deps = [ | 18 deps = [ |
20 ":chrome_unscaled_resources", | 19 ":chrome_unscaled_resources", |
21 "//ui/resources", | 20 "//ui/resources", |
22 ] | 21 ] |
23 | 22 |
24 output_dir = "$root_gen_dir/chrome" | 23 output_dir = "$root_gen_dir/chrome" |
25 } | 24 } |
26 | 25 |
27 # GYP version: chrome/chrome_resources.gyp:chrome_unscaled_resources | |
28 grit("chrome_unscaled_resources") { | 26 grit("chrome_unscaled_resources") { |
29 source = "chrome_unscaled_resources.grd" | 27 source = "chrome_unscaled_resources.grd" |
30 use_qualified_include = true | 28 use_qualified_include = true |
31 outputs = [ | 29 outputs = [ |
32 "grit/chrome_unscaled_resources.h", | 30 "grit/chrome_unscaled_resources.h", |
33 "chrome_unscaled_resources.pak", | 31 "chrome_unscaled_resources.pak", |
34 ] | 32 ] |
35 | 33 |
36 output_dir = "$root_gen_dir/chrome" | 34 output_dir = "$root_gen_dir/chrome" |
37 } | 35 } |
OLD | NEW |