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

Side by Side Diff: BUILD.gn

Issue 702003002: Make *some* version of the Mac GN build work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: skip //chrome/tests on mac and win Created 6 years, 1 month 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
« no previous file with comments | « no previous file | breakpad/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 (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
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 "//third_party/android_tools:android_support_v7_mediarouter_java", 193 "//third_party/android_tools:android_support_v7_mediarouter_java",
194 "//third_party/eyesfree:eyesfree_java", 194 "//third_party/eyesfree:eyesfree_java",
195 ] 195 ]
196 196
197 if (has_chrome_android_internal) { 197 if (has_chrome_android_internal) {
198 deps += [ 198 deps += [
199 "//clank", 199 "//clank",
200 ] 200 ]
201 } 201 }
202 202
203 # TODO(GYP): Move the targets in the rest of this block that still
204 # need to be made to work in the GN build to the bottom of the file
205 # so that all the remaining work is located in one place in the file.
206 # This block should contain only the targets that aren't actually
207 # needed on Android.
208
203 deps -= [ 209 deps -= [
204 "//apps", # Needs testing. 210 "//apps", # Needs testing.
205 "//chrome/browser", 211 "//chrome/browser",
206 "//chrome/browser/devtools", 212 "//chrome/browser/devtools",
207 "//chrome/common", 213 "//chrome/common",
208 "//chrome/plugin", 214 "//chrome/plugin",
209 "//chrome/renderer", 215 "//chrome/renderer",
210 "//chrome/test", 216 "//chrome/test",
211 "//chrome/tools", 217 "//chrome/tools",
212 "//chrome/utility", 218 "//chrome/utility",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 ] 259 ]
254 } 260 }
255 261
256 # Non-mobile builds. 262 # Non-mobile builds.
257 if (!is_android && !is_ios) { 263 if (!is_android && !is_ios) {
258 deps += [ 264 deps += [
259 "//device/usb", 265 "//device/usb",
260 ] 266 ]
261 } 267 }
262 268
269 #
270 # TODO(GYP): Make everything below this work in the GN build.
271 #
272
273 if (is_mac) {
274 # TODO(dpranke): Need to fix the unused function errors in breakpad.
275 deps -= [
276 "//breakpad:symupload"
277 ]
278
279 # TODO(dpranke): These need a webrtc fix in order to build.
280 deps -= [
281 "//jingle:notifier",
282 "//third_party/libjingle",
283 "//third_party/webrtc",
284 ]
285
286 # TODO(dpranke): These depend on Blink and need Blink fixes to build.
287 deps -= [
288 "//cc/blink",
289 "//content",
290 "//content/test:test_support",
291 "//media/blink",
292 "//pdf",
293 "//ppapi:ppapi_c",
294 "//third_party/WebKit/public:all_blink",
295 "//ui/app_list",
296 ]
297
298 # TODO(dpranke): These are as-yet untriaged but need at least the above.
299 deps -= [
300 "//apps",
301 "//ash",
302 "//chrome/browser",
303 "//chrome/browser/devtools",
304 "//chrome/common",
305 "//chrome/plugin",
306 "//chrome/renderer",
307 "//chrome/test",
308 "//chrome/utility",
309 "//components:all_components",
310 "//content/shell:content_shell",
311 "//extensions/browser",
312 "//extensions/common",
313 "//extensions/common/api",
314 "//extensions/renderer",
315 "//remoting/client/plugin",
316 "//third_party/usrsctp",
317 "//ui/aura",
318 "//ui/keyboard",
319 "//ui/views",
320 "//ui/views/controls/webview",
321 "//ui/web_dialogs",
322 ]
323 }
324
263 if (is_win) { 325 if (is_win) {
264 # TODO(GYP): Make these work.
265 deps -= [ 326 deps -= [
266 "//apps", 327 "//apps",
267 "//ash", 328 "//ash",
268 "//chrome/browser", 329 "//chrome/browser",
269 "//chrome/browser/devtools", 330 "//chrome/browser/devtools",
270 "//chrome/common", 331 "//chrome/common",
271 "//chrome/plugin", 332 "//chrome/plugin",
272 "//chrome/renderer", 333 "//chrome/renderer",
334 "//chrome/test",
273 "//chrome/utility", 335 "//chrome/utility",
274 "//components:all_components", 336 "//components:all_components",
275 "//cc", 337 "//cc",
276 "//cc/blink", 338 "//cc/blink",
277 "//content", 339 "//content",
278 "//content/shell:content_shell", 340 "//content/shell:content_shell",
279 "//content/test:test_support", 341 "//content/test:test_support",
280 "//device/bluetooth", 342 "//device/bluetooth",
281 "//extensions/browser", 343 "//extensions/browser",
282 "//extensions/common", 344 "//extensions/common",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 "//ui/native_theme", 378 "//ui/native_theme",
317 "//ui/snapshot", 379 "//ui/snapshot",
318 "//ui/surface", 380 "//ui/surface",
319 "//ui/views", 381 "//ui/views",
320 "//ui/views/controls/webview", 382 "//ui/views/controls/webview",
321 "//ui/web_dialogs", 383 "//ui/web_dialogs",
322 "//ui/wm", 384 "//ui/wm",
323 ] 385 ]
324 } 386 }
325 } 387 }
OLDNEW
« no previous file with comments | « no previous file | breakpad/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698