| 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 } | 17 } |
| 18 | 18 |
| 19 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 19 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
| 20 # (generate_extensions_api_resources action) | 20 # (generate_extensions_api_resources action) |
| 21 grit("extensions_api_resources") { | 21 grit("extensions_api_resources") { |
| 22 source = "extensions_api_resources.grd" | 22 source = "extensions_api_resources.grd" |
| 23 } | 23 } |
| 24 | 24 |
| 25 # GYP version: chrome/chrome_common.gyp:common | 25 # GYP version: chrome/chrome_common.gyp:common |
| 26 static_library("common") { | 26 static_library("common") { |
| 27 output_name = "chrome_common" |
| 27 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") | 28 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") |
| 28 | 29 |
| 29 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 30 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 30 | 31 |
| 31 deps = [ | 32 deps = [ |
| 32 ":version", | 33 ":version", |
| 33 #":installer_util", TODO(GYP) | 34 #":installer_util", TODO(GYP) |
| 34 "//base:base", | 35 "//base:base", |
| 35 "//base:i18n", | 36 "//base:i18n", |
| 36 "//base:prefs", | 37 "//base:prefs", |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 151 |
| 151 deps = [ | 152 deps = [ |
| 152 "//base", | 153 "//base", |
| 153 "//base/third_party/dynamic_annotations", | 154 "//base/third_party/dynamic_annotations", |
| 154 "//third_party/widevine/cdm:version_h", | 155 "//third_party/widevine/cdm:version_h", |
| 155 # TODO(GYP) | 156 # TODO(GYP) |
| 156 #'../components/components.gyp:bookmarks_common', | 157 #'../components/components.gyp:bookmarks_common', |
| 157 #'../components/nacl.gyp:nacl_switches', | 158 #'../components/nacl.gyp:nacl_switches', |
| 158 ] | 159 ] |
| 159 } | 160 } |
| OLD | NEW |