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