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 import("//tools/grit/repack.gni") | 6 import("//tools/grit/repack.gni") |
7 | 7 |
8 # GYP version: ui/resources/ui_resources.gyp:ui_resources | 8 # GYP version: ui/resources/ui_resources.gyp:ui_resources |
9 group("resources") { | 9 group("resources") { |
10 public_deps = [ | 10 public_deps = [ |
(...skipping 13 matching lines...) Expand all Loading... |
24 "ui_resources_200_percent.pak", | 24 "ui_resources_200_percent.pak", |
25 "ui_resources_300_percent.pak", | 25 "ui_resources_300_percent.pak", |
26 ] | 26 ] |
27 } | 27 } |
28 | 28 |
29 grit("ui_unscaled_resources_grd") { | 29 grit("ui_unscaled_resources_grd") { |
30 source = "ui_unscaled_resources.grd" | 30 source = "ui_unscaled_resources.grd" |
31 use_qualified_include = true | 31 use_qualified_include = true |
32 outputs = [ | 32 outputs = [ |
33 "grit/ui_unscaled_resources.h", | 33 "grit/ui_unscaled_resources.h", |
| 34 |
| 35 # TODO(GYP_GONE) when GYP is gone, this line should be deleted, and the grit |
| 36 # file updated to no longer list this as an output. We use resource bundles |
| 37 # rather than .rc files, but the GYP build still expects this file to |
| 38 # exist. |
34 "ui_unscaled_resources.rc", | 39 "ui_unscaled_resources.rc", |
35 ] | 40 ] |
36 } | 41 } |
37 | 42 |
38 grit("webui_resources_grd") { | 43 grit("webui_resources_grd") { |
39 source = "../webui/resources/webui_resources.grd" | 44 source = "../webui/resources/webui_resources.grd" |
40 outputs = [ | 45 outputs = [ |
41 "grit/webui_resources.h", | 46 "grit/webui_resources.h", |
42 "grit/webui_resources_map.cc", | 47 "grit/webui_resources_map.cc", |
43 "grit/webui_resources_map.h", | 48 "grit/webui_resources_map.h", |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 224 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
220 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 225 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
221 ] | 226 ] |
222 | 227 |
223 output = "$root_out_dir/ui/en.lproj/locale.pak" | 228 output = "$root_out_dir/ui/en.lproj/locale.pak" |
224 | 229 |
225 deps = [ | 230 deps = [ |
226 "//ui/strings", | 231 "//ui/strings", |
227 ] | 232 ] |
228 } | 233 } |
OLD | NEW |