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

Side by Side Diff: BUILD.gn

Issue 348663003: Work toward a chrome/common GN target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no android 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 | « no previous file | build/gypi_to_gn.py » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
11 import("//build/config/ui.gni") 11 import("//build/config/ui.gni")
12 12
13 # In GN, a "group" is a dummy target that just lists other targets. 13 # In GN, a "group" is a dummy target that just lists other targets.
14 group("root") { 14 group("root") {
15 # Note that some dependencies are commented out. These are things that are 15 # Note that some dependencies are commented out. These are things that are
16 # currently written but not hooked up to the build yet. They may need to be 16 # currently written but not hooked up to the build yet. They may need to be
17 # completed or possibly just tested and then re-enabled. 17 # completed or possibly just tested and then re-enabled.
18 deps = [ 18 deps = [
19 # This is a temporary test of the not-yet-complete NaCl cross-compilation. 19 # This is a temporary test of the not-yet-complete NaCl cross-compilation.
20 #"//base(//build/toolchain/nacl:x86_newlib)", 20 #"//base(//build/toolchain/nacl:x86_newlib)",
21 21
22 "//apps/common/api:apps_api", 22 "//apps/common/api:apps_api",
23 "//cc", 23 "//cc",
24 "//chrome:resources", 24 "//chrome/common",
25 "//components/favicon_base", 25 "//components/favicon_base",
26 "//components/language_usage_metrics", 26 "//components/language_usage_metrics",
27 "//components/metrics", 27 "//components/metrics",
28 "//components/navigation_metrics", 28 "//components/navigation_metrics",
29 "//components/onc", 29 "//components/onc",
30 "//components/os_crypt", 30 "//components/os_crypt",
31 "//components/query_parser", 31 "//components/query_parser",
32 "//components/resources:components_resources", 32 "//components/resources:components_resources",
33 "//components/startup_metric_utils", 33 "//components/startup_metric_utils",
34 "//components/tracing", 34 "//components/tracing",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 131 }
132 132
133 if (cpu_arch == "x86" || cpu_arch == "x64") { 133 if (cpu_arch == "x86" || cpu_arch == "x64") {
134 # YASM is x86/x64 only. 134 # YASM is x86/x64 only.
135 deps += [ "//third_party/yasm($host_toolchain)" ] 135 deps += [ "//third_party/yasm($host_toolchain)" ]
136 } 136 }
137 137
138 if (is_android) { 138 if (is_android) {
139 deps -= [ 139 deps -= [
140 "//cc", 140 "//cc",
141 "//chrome/common", # Blocked on content.
141 "//content", 142 "//content",
142 "//components/user_prefs", # Blocked on content. 143 "//components/user_prefs", # Blocked on content.
143 "//components/visitedlink/browser", # Blocked on content. 144 "//components/visitedlink/browser", # Blocked on content.
144 "//components/visitedlink/common", # Blocked on content. 145 "//components/visitedlink/common", # Blocked on content.
145 "//extensions/common/api:extensions_api", 146 "//extensions/common/api:extensions_api",
146 "//pdf", # Not compiled on Android in GYP yet, either. 147 "//pdf", # Not compiled on Android in GYP yet, either.
147 "//ppapi:ppapi_c", 148 "//ppapi:ppapi_c",
148 "//sandbox", 149 "//sandbox",
149 "//third_party/libusb", 150 "//third_party/libusb",
150 151
(...skipping 17 matching lines...) Expand all
168 ] 169 ]
169 } 170 }
170 171
171 if (use_ozone) { 172 if (use_ozone) {
172 deps += [ 173 deps += [
173 "//ui/events/ozone:events_ozone", 174 "//ui/events/ozone:events_ozone",
174 "//ui/events/ozone:events_ozone_evdev", 175 "//ui/events/ozone:events_ozone_evdev",
175 ] 176 ]
176 } 177 }
177 } 178 }
OLDNEW
« no previous file with comments | « no previous file | build/gypi_to_gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698