OLD | NEW |
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 "//ppapi/examples/threading", | 125 "//ppapi/examples/threading", |
126 "//ppapi/examples/url_loader", | 126 "//ppapi/examples/url_loader", |
127 "//ppapi/examples/video_capture", | 127 "//ppapi/examples/video_capture", |
128 "//ppapi/examples/video_decode", | 128 "//ppapi/examples/video_decode", |
129 "//ppapi/examples/video_effects", | 129 "//ppapi/examples/video_effects", |
130 "//ppapi/examples/video_encode", | 130 "//ppapi/examples/video_encode", |
131 "//printing:printing_unittests", | 131 "//printing:printing_unittests", |
132 "//skia:skia_unittests", | 132 "//skia:skia_unittests", |
133 "//sql:sql_unittests", | 133 "//sql:sql_unittests", |
134 "//sync:sync_unit_tests", | 134 "//sync:sync_unit_tests", |
135 "//third_party/WebKit/public:blink_tests", | 135 "//third_party/WebKit/Source/platform:heap_unittests", |
| 136 "//third_party/WebKit/Source/platform:platform_unittests", |
| 137 "//third_party/WebKit/Source/web:webkit_unit_tests", |
| 138 "//third_party/WebKit/Source/wtf:wtf_unittests", |
136 "//third_party/cacheinvalidation:cacheinvalidation_unittests", | 139 "//third_party/cacheinvalidation:cacheinvalidation_unittests", |
137 "//third_party/codesighs", | 140 "//third_party/codesighs", |
138 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", | 141 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", |
139 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", | 142 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", |
140 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", | 143 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", |
141 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", | 144 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", |
142 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", | 145 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", |
143 "//third_party/pdfium/samples:pdfium_test", | 146 "//third_party/pdfium/samples:pdfium_test", |
144 "//third_party/smhasher:pmurhash", | 147 "//third_party/smhasher:pmurhash", |
145 "//tools/imagediff($host_toolchain)", | 148 "//tools/imagediff($host_toolchain)", |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 "//chrome/test:interactive_ui_tests", # TODO(GYP) | 538 "//chrome/test:interactive_ui_tests", # TODO(GYP) |
536 "//chrome/test:sync_integration_tests", # TODO(GYP) | 539 "//chrome/test:sync_integration_tests", # TODO(GYP) |
537 "//chrome/test:unit_tests", # TODO(GYP) | 540 "//chrome/test:unit_tests", # TODO(GYP) |
538 "//components:components_browsertests", # TODO(GYP) | 541 "//components:components_browsertests", # TODO(GYP) |
539 "//components:components_unittests", # TODO(GYP) | 542 "//components:components_unittests", # TODO(GYP) |
540 "//content/test:content_browsertests", # TODO(GYP) | 543 "//content/test:content_browsertests", # TODO(GYP) |
541 "//content/test:content_perftests", # TODO(GYP) | 544 "//content/test:content_perftests", # TODO(GYP) |
542 "//extensions:extensions_browsertests", # TODO(GYP) | 545 "//extensions:extensions_browsertests", # TODO(GYP) |
543 "//extensions:extensions_unittests", # TODO(GYP) | 546 "//extensions:extensions_unittests", # TODO(GYP) |
544 "//net:net_unittests", # TODO(GYP) | 547 "//net:net_unittests", # TODO(GYP) |
| 548 |
| 549 # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac. |
| 550 "//third_party/WebKit/Source/platform:heap_unittests", |
| 551 "//third_party/WebKit/Source/platform:platform_unittests", |
| 552 "//third_party/WebKit/Source/web:webkit_unit_tests", |
545 "//ui/app_list:app_list_unittests", # TODO(GYP) | 553 "//ui/app_list:app_list_unittests", # TODO(GYP) |
546 "//ui/gfx:gfx_unittests", # TODO(GYP) | 554 "//ui/gfx:gfx_unittests", # TODO(GYP) |
547 ] | 555 ] |
548 } | 556 } |
549 | 557 |
550 if (is_win) { | 558 if (is_win) { |
551 deps += [ | 559 deps += [ |
552 "//base:pe_image_test", | 560 "//base:pe_image_test", |
553 "//chrome_elf:chrome_elf_unittests", | 561 "//chrome_elf:chrome_elf_unittests", |
554 "//chrome_elf:dll_hash_main", | 562 "//chrome_elf:dll_hash_main", |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? | 720 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? |
713 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? | 721 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? |
714 | 722 |
715 "//ui/resources:repack_ui_test_mac_locale_pack", | 723 "//ui/resources:repack_ui_test_mac_locale_pack", |
716 | 724 |
717 # "//v8:v8_snapshot", # TODO(GYP): visibility? | 725 # "//v8:v8_snapshot", # TODO(GYP): visibility? |
718 # "//v8:postmortem-metadata", # TODO(GYP): visibility? | 726 # "//v8:postmortem-metadata", # TODO(GYP): visibility? |
719 ] | 727 ] |
720 } | 728 } |
721 | 729 |
| 730 if (!is_ios) { |
| 731 # This group includes all of the targets needed to build and test Blink, |
| 732 # including running the layout tests (see below). |
| 733 group("blink_tests") { |
| 734 testonly = true |
| 735 |
| 736 deps = [ |
| 737 "//third_party/WebKit/public:all_blink", |
| 738 ] |
| 739 |
| 740 # NOTE: The following deps are needed to run the layout tests |
| 741 # (run-webkit-tests) but there is no GN target for the layout tests, |
| 742 # so we need to specify the dependencies here instead. |
| 743 if (is_android) { |
| 744 deps += [ |
| 745 "//breakpad:dump_syms($host_toolchain)", |
| 746 "//breakpad:minidump_stackwalk($host_toolchain)", |
| 747 "//content/shell/android:content_shell_apk", |
| 748 ] |
| 749 } else { |
| 750 deps += [ "//content/shell:content_shell" ] |
| 751 } |
| 752 |
| 753 if (is_win) { |
| 754 deps += [ |
| 755 #'../content/content_shell_and_tests.gyp:content_shell_crash_service', T
ODO(GYP) |
| 756 #'../content/content_shell_and_tests.gyp:layout_test_helper', TODO(GYP) |
| 757 ] |
| 758 } |
| 759 |
| 760 if (!is_win && !is_android) { |
| 761 deps += [ "//breakpad:minidump_stackwalk" ] |
| 762 } |
| 763 |
| 764 if (is_mac) { |
| 765 deps += [ |
| 766 "//breakpad:dump_syms($host_toolchain)", |
| 767 #'../content/content_shell_and_tests.gyp:layout_test_helper', TODO(GYP) |
| 768 ] |
| 769 } |
| 770 |
| 771 if (is_linux) { |
| 772 deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
| 773 } |
| 774 } |
| 775 } |
| 776 |
722 if (is_linux) { | 777 if (is_linux) { |
723 # This group corresponds to the list of tests run on the waterfall for | 778 # This group corresponds to the list of tests run on the waterfall for |
724 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's | 779 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's |
725 # here to help track GYP -> GN conversion progress. | 780 # here to help track GYP -> GN conversion progress. |
726 group("linux_default_tests") { | 781 group("linux_default_tests") { |
727 testonly = true | 782 testonly = true |
728 deps = [ | 783 deps = [ |
729 "//base:base_unittests", # PASSES (*) 2/25/2015 | 784 "//base:base_unittests", # PASSES (*) 2/25/2015 |
730 "//cc:cc_unittests", # PASSES 2/25/2015 | 785 "//cc:cc_unittests", # PASSES 2/25/2015 |
731 "//chrome/test:browser_tests", | 786 "//chrome/test:browser_tests", |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 "//ui/views:views_unittests", # TooltipControllerTest failures | 908 "//ui/views:views_unittests", # TooltipControllerTest failures |
854 "//ui/wm:wm_unittests", # PASSES 4/21/2015 | 909 "//ui/wm:wm_unittests", # PASSES 4/21/2015 |
855 "//url:url_unittests", # PASSES 4/17/2015 | 910 "//url:url_unittests", # PASSES 4/17/2015 |
856 | 911 |
857 # TODO(GYP) nacl_integration | 912 # TODO(GYP) nacl_integration |
858 # TODO(GYP) telemetry_perf_unittests | 913 # TODO(GYP) telemetry_perf_unittests |
859 # TODO(GYP) telemetry_unittests | 914 # TODO(GYP) telemetry_unittests |
860 ] | 915 ] |
861 } | 916 } |
862 } | 917 } |
OLD | NEW |