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("resources") { | 15 grit("resources") { |
16 source = "common_resources.grd" | 16 source = "common_resources.grd" |
| 17 outputs = [ |
| 18 "grit/common_resources.h", |
| 19 "common_resources.pak", |
| 20 ] |
17 } | 21 } |
18 | 22 |
19 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 23 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
20 # (generate_extensions_api_resources action) | 24 # (generate_extensions_api_resources action) |
21 grit("extensions_api_resources") { | 25 grit("extensions_api_resources") { |
22 source = "extensions_api_resources.grd" | 26 source = "extensions_api_resources.grd" |
| 27 outputs = [ |
| 28 "grit/extensions_api_resources.h", |
| 29 "extensions_api_resources.pak", |
| 30 ] |
23 } | 31 } |
24 | 32 |
25 # GYP version: chrome/chrome_common.gyp:common | 33 # GYP version: chrome/chrome_common.gyp:common |
26 static_library("common") { | 34 static_library("common") { |
27 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") | 35 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") |
28 defines = [] | 36 defines = [] |
29 | 37 |
30 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 38 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
31 | 39 |
32 deps = [ | 40 deps = [ |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 "//components/bookmarks/common", | 303 "//components/bookmarks/common", |
296 "//third_party/widevine/cdm:version_h", | 304 "//third_party/widevine/cdm:version_h", |
297 ] | 305 ] |
298 | 306 |
299 if (enable_nacl) { | 307 if (enable_nacl) { |
300 deps += [ | 308 deps += [ |
301 #'../components/nacl.gyp:nacl_switches', TODO(GYP) | 309 #'../components/nacl.gyp:nacl_switches', TODO(GYP) |
302 ] | 310 ] |
303 } | 311 } |
304 } | 312 } |
OLD | NEW |