| 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 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" | 24 output_dir = "$root_gen_dir/chrome" |
| 32 } | 25 } |
| 33 | 26 |
| 34 # GYP version: chrome/chrome_resources.gyp:chrome_unscaled_resources | 27 # GYP version: chrome/chrome_resources.gyp:chrome_unscaled_resources |
| 35 grit("chrome_unscaled_resources") { | 28 grit("chrome_unscaled_resources") { |
| 36 source = "chrome_unscaled_resources.grd" | 29 source = "chrome_unscaled_resources.grd" |
| 37 outputs = [ | 30 outputs = [ |
| 38 "grit/chrome_unscaled_resources.h", | 31 "grit/chrome_unscaled_resources.h", |
| 39 "chrome_unscaled_resources.pak", | 32 "chrome_unscaled_resources.pak", |
| 40 ] | 33 ] |
| 41 | 34 |
| 42 output_dir = "$root_gen_dir/chrome" | 35 output_dir = "$root_gen_dir/chrome" |
| 43 } | 36 } |
| OLD | NEW |