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