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

Side by Side Diff: BUILD.gn

Issue 381113004: Add chrome/browser/ui to the GN build. (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 | « no previous file | android_webview/android_webview.gyp » ('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 "//cc", 22 "//cc",
23 "//chrome/browser",
23 "//chrome/browser/devtools", 24 "//chrome/browser/devtools",
25 "//chrome/browser/ui",
24 "//chrome/browser/ui/views", 26 "//chrome/browser/ui/views",
25 "//chrome/common", 27 "//chrome/common",
26 "//chrome/plugin", 28 "//chrome/plugin",
27 "//chrome/renderer", 29 "//chrome/renderer",
28 "//chrome/service", 30 "//chrome/service",
29 "//chrome/utility", 31 "//chrome/utility",
30 "//components:all_components", 32 "//components:all_components",
31 "//content", 33 "//content",
32 "//crypto", 34 "//crypto",
33 "//extensions/common/api:extensions_api", 35 "//extensions/common/api:extensions_api",
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 135 }
134 136
135 if (cpu_arch == "x86" || cpu_arch == "x64") { 137 if (cpu_arch == "x86" || cpu_arch == "x64") {
136 # YASM is x86/x64 only. 138 # YASM is x86/x64 only.
137 deps += [ "//third_party/yasm($host_toolchain)" ] 139 deps += [ "//third_party/yasm($host_toolchain)" ]
138 } 140 }
139 141
140 if (is_android) { 142 if (is_android) {
141 deps -= [ 143 deps -= [
142 "//cc", 144 "//cc",
145 "//chrome/browser", # Blocked on content.
143 "//chrome/browser/devtools", # Blocked on content. 146 "//chrome/browser/devtools", # Blocked on content.
147 "//chrome/browser/ui", # Blocked on content.
144 "//chrome/browser/ui/views", # Blocked on content. 148 "//chrome/browser/ui/views", # Blocked on content.
145 "//chrome/common", # Blocked on content. 149 "//chrome/common", # Blocked on content.
146 "//chrome/plugin", # Blocked on content. 150 "//chrome/plugin", # Blocked on content.
147 "//chrome/renderer", # Blocked on content. 151 "//chrome/renderer", # Blocked on content.
148 "//chrome/service", # Blocked on content. 152 "//chrome/service", # Blocked on content.
149 "//chrome/utility", # Blocked on content. 153 "//chrome/utility", # Blocked on content.
150 "//content", 154 "//content",
151 "//extensions/common/api:extensions_api", 155 "//extensions/common/api:extensions_api",
152 "//pdf", # Not compiled on Android in GYP yet, either. 156 "//pdf", # Not compiled on Android in GYP yet, either.
153 "//ppapi:ppapi_c", 157 "//ppapi:ppapi_c",
(...skipping 25 matching lines...) Expand all
179 ] 183 ]
180 } 184 }
181 185
182 if (use_ozone) { 186 if (use_ozone) {
183 deps += [ 187 deps += [
184 "//ui/events/ozone:events_ozone", 188 "//ui/events/ozone:events_ozone",
185 "//ui/events/ozone:events_ozone_evdev", 189 "//ui/events/ozone:events_ozone_evdev",
186 ] 190 ]
187 } 191 }
188 } 192 }
OLDNEW
« no previous file with comments | « no previous file | android_webview/android_webview.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698