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

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

Issue 343233004: Add chrome/renderer to the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: work around lack of hunspell Created 6 years, 6 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 | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/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 # TODO(GYP) uncomment when this is used below. 7 gypi_values = exec_script(
8 #gypi_values = exec_script( 8 "//build/gypi_to_gn.py",
9 # "//build/gypi_to_gn.py", 9 [ rebase_path("../chrome_common.gypi") ],
10 # [ rebase_path("../chrome_common.gypi") ], 10 "scope",
11 # "scope", 11 [ "../chrome_common.gypi" ])
12 # [ "../chrome_common.gypi" ])
13 12
14 # GYP version: chrome/chrome_resources.gyp:chrome_resources 13 # GYP version: chrome/chrome_resources.gyp:chrome_resources
15 # (generate_common_resources action) 14 # (generate_common_resources action)
16 grit("resources") { 15 grit("resources") {
17 source = "common_resources.grd" 16 source = "common_resources.grd"
18 } 17 }
19 18
20 # GYP version: chrome/chrome_resources.gyp:chrome_resources 19 # GYP version: chrome/chrome_resources.gyp:chrome_resources
21 # (generate_extensions_api_resources action) 20 # (generate_extensions_api_resources action)
22 grit("extensions_api_resources") { 21 grit("extensions_api_resources") {
23 source = "extensions_api_resources.grd" 22 source = "extensions_api_resources.grd"
24 } 23 }
25 24
26 # GYP version: chrome/chrome_common.gyp:common 25 # GYP version: chrome/chrome_common.gyp:common
27 static_library("common") { 26 static_library("common") {
28 # TODO(GYP) Uncomment when these compile. 27 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome")
29 #sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome")
30 28
31 configs += [ "//build/config/compiler:wexit_time_destructors" ] 29 configs += [ "//build/config/compiler:wexit_time_destructors" ]
32 30
33 deps = [ 31 deps = [
34 ":version", 32 ":version",
35 #":installer_util", TODO(GYP) 33 #":installer_util", TODO(GYP)
36 "//base:base", 34 "//base:base",
37 "//base:i18n", 35 "//base:i18n",
38 "//base:prefs", 36 "//base:prefs",
39 "//base:base_static", 37 "//base:base_static",
(...skipping 19 matching lines...) Expand all
59 "//third_party/icu", 57 "//third_party/icu",
60 "//third_party/libxml", 58 "//third_party/libxml",
61 "//third_party/sqlite", 59 "//third_party/sqlite",
62 "//third_party/zlib:zip", 60 "//third_party/zlib:zip",
63 "//ui/resources:resources", 61 "//ui/resources:resources",
64 "//url", 62 "//url",
65 ] 63 ]
66 64
67 if (!is_ios) { 65 if (!is_ios) {
68 deps += [ 66 deps += [
69 #'<(DEPTH)/apps/common/api/api.gyp:apps_api', TODO(GYP) 67 "//apps/common/api:apps_api",
70 "//chrome/common/extensions/api", 68 "//chrome/common/extensions/api",
71 #'<(DEPTH)/components/components.gyp:autofill_core_common', TODO(GYP) 69 #'<(DEPTH)/components/components.gyp:autofill_core_common', TODO(GYP)
72 #'<(DEPTH)/components/components.gyp:autofill_content_common', TODO(GYP) 70 #'<(DEPTH)/components/components.gyp:autofill_content_common', TODO(GYP)
73 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO( GYP) 71 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO( GYP)
74 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP) 72 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP)
75 #'<(DEPTH)/components/components.gyp:translate_content_common', TODO(GYP) 73 #'<(DEPTH)/components/components.gyp:translate_content_common', TODO(GYP)
76 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) 74 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP)
77 "//components/visitedlink/common", 75 "//components/visitedlink/common",
78 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP) 76 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP)
79 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP) 77 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP)
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 151
154 deps = [ 152 deps = [
155 "//base", 153 "//base",
156 "//base/third_party/dynamic_annotations", 154 "//base/third_party/dynamic_annotations",
157 "//third_party/widevine/cdm:version_h", 155 "//third_party/widevine/cdm:version_h",
158 # TODO(GYP) 156 # TODO(GYP)
159 #'../components/components.gyp:bookmarks_common', 157 #'../components/components.gyp:bookmarks_common',
160 #'../components/nacl.gyp:nacl_switches', 158 #'../components/nacl.gyp:nacl_switches',
161 ] 159 ]
162 } 160 }
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698