Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: chrome/common/BUILD.gn

Issue 376773002: GN: Give static_libs with common names unique output_name (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/secondary/chrome/BUILD.gn ('k') | chrome/common/net/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « build/secondary/chrome/BUILD.gn ('k') | chrome/common/net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698