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

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: merge to r303398 (after win gn CL landed) 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') | mojo/services/html_viewer/BUILD.gn » ('J')
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 "//third_party/android_tools:android_support_v7_mediarouter_java", 191 "//third_party/android_tools:android_support_v7_mediarouter_java",
192 "//third_party/eyesfree:eyesfree_java", 192 "//third_party/eyesfree:eyesfree_java",
193 ] 193 ]
194 194
195 if (has_chrome_android_internal) { 195 if (has_chrome_android_internal) {
196 deps += [ 196 deps += [
197 "//clank", 197 "//clank",
198 ] 198 ]
199 } 199 }
200 200
201 # TODO(GYP): Move the targets in the rest of this block that still
202 # need to be made to work in the GN build to the bottom of the file
203 # so that all the remaining work is located in one place in the file.
204 # This block should contain only the targets that aren't actually
205 # needed on Android.
206
201 deps -= [ 207 deps -= [
202 "//apps", # Needs testing. 208 "//apps", # Needs testing.
203 "//chrome/browser", 209 "//chrome/browser",
204 "//chrome/browser/devtools", 210 "//chrome/browser/devtools",
205 "//chrome/common", 211 "//chrome/common",
206 "//chrome/plugin", 212 "//chrome/plugin",
207 "//chrome/renderer", 213 "//chrome/renderer",
208 "//chrome/utility", 214 "//chrome/utility",
209 "//content/shell:content_shell", 215 "//content/shell:content_shell",
210 "//extensions/browser", 216 "//extensions/browser",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 ] 255 ]
250 } 256 }
251 257
252 # Non-mobile builds. 258 # Non-mobile builds.
253 if (!is_android && !is_ios) { 259 if (!is_android && !is_ios) {
254 deps += [ 260 deps += [
255 "//device/usb", 261 "//device/usb",
256 ] 262 ]
257 } 263 }
258 264
265 #
266 # TODO(GYP): Make everything below this work in the GN build.
267 #
268
269 if (is_mac) {
270 # TODO(dpranke): Need to fix the unused function errors in breakpad.
271 deps -= [
272 "//breakpad:symupload"
273 ]
274
275 # TODO(dpranke): These need a webrtc fix in order to build.
276 deps -= [
277 "//jingle:notifier",
278 "//third_party/libjingle",
279 "//third_party/webrtc",
280 ]
281
282 # TODO(dpranke): These depend on Blink and need Blink fixes to build.
283 deps -= [
284 "//cc/blink",
285 "//content",
286 "//content/test:test_support",
287 "//media/blink",
288 "//pdf",
289 "//ppapi:ppapi_c",
290 "//third_party/WebKit/public:all_blink",
291 "//ui/app_list",
292 ]
293
294 # TODO(dpranke): These are as-yet untriaged but need at least the above.
295 deps -= [
296 "//apps",
297 "//ash",
298 "//chrome/browser",
299 "//chrome/browser/devtools",
300 "//chrome/common",
301 "//chrome/plugin",
302 "//chrome/renderer",
303 "//chrome/utility",
304 "//components:all_components",
305 "//content/shell:content_shell",
306 "//extensions/browser",
307 "//extensions/common",
308 "//extensions/common/api",
309 "//extensions/renderer",
310 "//remoting/client/plugin",
311 "//third_party/usrsctp",
312 "//ui/aura",
313 "//ui/keyboard",
314 "//ui/views",
315 "//ui/views/controls/webview",
316 "//ui/web_dialogs",
317 ]
318 }
319
259 if (is_win) { 320 if (is_win) {
260 # TODO(GYP): Make these work.
261 deps -= [ 321 deps -= [
262 "//apps", 322 "//apps",
263 "//ash", 323 "//ash",
264 "//chrome/browser", 324 "//chrome/browser",
265 "//chrome/browser/devtools", 325 "//chrome/browser/devtools",
266 "//chrome/common", 326 "//chrome/common",
267 "//chrome/plugin", 327 "//chrome/plugin",
268 "//chrome/renderer", 328 "//chrome/renderer",
269 "//chrome/utility", 329 "//chrome/utility",
270 "//components:all_components", 330 "//components:all_components",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 "//ui/native_theme", 372 "//ui/native_theme",
313 "//ui/snapshot", 373 "//ui/snapshot",
314 "//ui/surface", 374 "//ui/surface",
315 "//ui/views", 375 "//ui/views",
316 "//ui/views/controls/webview", 376 "//ui/views/controls/webview",
317 "//ui/web_dialogs", 377 "//ui/web_dialogs",
318 "//ui/wm", 378 "//ui/wm",
319 ] 379 ]
320 } 380 }
321 } 381 }
OLDNEW
« no previous file with comments | « no previous file | breakpad/BUILD.gn » ('j') | mojo/services/html_viewer/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698