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

Side by Side Diff: BUILD.gn

Issue 1417673004: Make unit_tests compile in Mac GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mac
Patch Set: . Created 5 years, 2 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
« no previous file with comments | « no previous file | build/secondary/third_party/crashpad/crashpad/client/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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 } 488 }
489 489
490 if (is_mac) { 490 if (is_mac) {
491 deps += [ 491 deps += [
492 "//breakpad:crash_inspector", 492 "//breakpad:crash_inspector",
493 "//breakpad:dump_syms", 493 "//breakpad:dump_syms",
494 "//third_party/apple_sample_code", 494 "//third_party/apple_sample_code",
495 "//third_party/molokocacao", 495 "//third_party/molokocacao",
496 ] 496 ]
497 497
498 # TODO(GYP): Remove these when the targets below work and these 498 # TODO(GYP): These don't work on Mac yet.
499 # are pulled in automatically.
500 deps += [
501 "//cc/blink",
502 "//components/ui/zoom",
503 "//content",
504 "//content/test:test_support",
505 "//device/battery",
506 "//device/bluetooth",
507 "//device/nfc",
508 "//device/usb",
509 "//device/vibration",
510 "//media/blink",
511 "//pdf",
512 "//storage/browser",
513 "//third_party/brotli",
514 "//third_party/flac",
515 "//third_party/hunspell",
516 "//third_party/iccjpeg",
517 "//third_party/libphonenumber",
518 "//third_party/ots",
519 "//third_party/qcms",
520 "//third_party/smhasher:murmurhash3",
521 "//third_party/webrtc/system_wrappers",
522 "//ui/app_list:app_list_unittests",
523 "//ui/gfx:gfx_unittests",
524 "//ui/native_theme",
525 "//ui/snapshot",
526 "//ui/surface",
527 ]
528
529 # TODO(dpranke): These are as-yet untriaged but need at least the above.
530 deps -= [ 499 deps -= [
531 "//chrome", # TODO(GYP) 500 "//chrome", # TODO(GYP)
532 "//chrome/test:browser_tests", # TODO(GYP) 501 "//chrome/test:browser_tests", # TODO(GYP)
533 "//chrome/test:interactive_ui_tests", # TODO(GYP) 502 "//chrome/test:interactive_ui_tests", # TODO(GYP)
534 "//chrome/test:sync_integration_tests", # TODO(GYP) 503 "//chrome/test:sync_integration_tests", # TODO(GYP)
535 "//chrome/test:unit_tests", # TODO(GYP)
536 "//content/test:content_browsertests", # TODO(GYP)
537 "//content/test:content_perftests", # TODO(GYP)
538 "//extensions:extensions_browsertests", # TODO(GYP) Needs ContentMain 504 "//extensions:extensions_browsertests", # TODO(GYP) Needs ContentMain
539 505
540 # Mojo in GN contains some things which are never compiled in GYP on Mac, 506 # Mojo in GN contains some things which are never compiled in GYP on Mac,
541 # so compilation fails on Mac. They need porting. 507 # so compilation fails on Mac. They need porting.
542 "//mojo", # TODO(GYP) 508 "//mojo", # TODO(GYP)
543 ] 509 ]
544 } 510 }
545 511
546 if (is_win) { 512 if (is_win) {
547 deps += [ 513 deps += [
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 if (target_cpu == "x86") { 788 if (target_cpu == "x86") {
823 deps += [ 789 deps += [
824 # "//content/shell:crash_service_win64", TODO(GYP): crbug.com/537009 790 # "//content/shell:crash_service_win64", TODO(GYP): crbug.com/537009
825 ] 791 ]
826 } 792 }
827 } else { 793 } else {
828 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] 794 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
829 } 795 }
830 } 796 }
831 } 797 }
OLDNEW
« no previous file with comments | « no previous file | build/secondary/third_party/crashpad/crashpad/client/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698