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 gypi_values = exec_script( | 7 gypi_values = exec_script( |
8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
10 "scope", | 10 "scope", |
11 [ "../chrome_common.gypi" ]) | 11 [ "../chrome_common.gypi" ]) |
12 | 12 |
13 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 13 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
14 # (generate_common_resources action) | 14 # (generate_common_resources action) |
15 grit("common_resources") { | 15 grit("resources") { |
16 source = "common_resources.grd" | 16 source = "common_resources.grd" |
17 output_dir = "$root_gen_dir/chrome" | 17 output_dir = "$root_gen_dir/chrome" |
| 18 output_name = "common_resources" |
18 outputs = [ | 19 outputs = [ |
19 "grit/common_resources.h", | 20 "grit/common_resources.h", |
20 "common_resources.pak", | 21 "common_resources.pak", |
21 ] | 22 ] |
22 } | 23 } |
23 | 24 |
24 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 25 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
25 # (generate_extensions_api_resources action) | 26 # (generate_extensions_api_resources action) |
26 grit("extensions_api_resources") { | 27 grit("extensions_api_resources") { |
27 source = "extensions_api_resources.grd" | 28 source = "extensions_api_resources.grd" |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 "//components/bookmarks/common", | 303 "//components/bookmarks/common", |
303 "//third_party/widevine/cdm:version_h", | 304 "//third_party/widevine/cdm:version_h", |
304 ] | 305 ] |
305 | 306 |
306 if (enable_nacl) { | 307 if (enable_nacl) { |
307 deps += [ | 308 deps += [ |
308 #'../components/nacl.gyp:nacl_switches', TODO(GYP) | 309 #'../components/nacl.gyp:nacl_switches', TODO(GYP) |
309 ] | 310 ] |
310 } | 311 } |
311 } | 312 } |
OLD | NEW |