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