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