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

Side by Side Diff: BUILD.gn

Issue 1118863002: Port Chromium's blink_tests target to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: depend on all_blink Created 5 years, 7 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 | no next file » | 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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 group("blink_tests") {
732 testonly = true
733
734 deps = [
735 "//third_party/WebKit/public:all_blink",
736 ]
737
738 # NOTE: The following deps are needed to run the layout tests.
Dirk Pranke 2015/05/11 21:15:11 Okay, Brett and I got a chance to confer, and his
tfarina 2015/05/11 22:37:04 Done.
739 if (is_android) {
740 deps += [
741 "//breakpad:dump_syms($host_toolchain)",
742 "//breakpad:minidump_stackwalk($host_toolchain)",
743 "//content/shell/android:content_shell_apk",
744 ]
745 } else {
746 deps += [ "//content/shell:content_shell" ]
747 }
748
749 if (is_win) {
750 deps += [
751 #'../content/content_shell_and_tests.gyp:content_shell_crash_service', T ODO(GYP)
752 #'../content/content_shell_and_tests.gyp:layout_test_helper', TODO(GYP)
753 ]
754 }
755
756 if (!is_win && !is_android) {
757 deps += [ "//breakpad:minidump_stackwalk" ]
758 }
759
760 if (is_mac) {
761 deps += [
762 "//breakpad:dump_syms($host_toolchain)",
763 #'../content/content_shell_and_tests.gyp:layout_test_helper', TODO(GYP)
764 ]
765 }
766
767 if (is_linux) {
768 deps += [ "//breakpad:dump_syms($host_toolchain)" ]
769 }
770 }
771 }
772
722 if (is_linux) { 773 if (is_linux) {
723 # This group corresponds to the list of tests run on the waterfall for 774 # 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 775 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's
725 # here to help track GYP -> GN conversion progress. 776 # here to help track GYP -> GN conversion progress.
726 group("linux_default_tests") { 777 group("linux_default_tests") {
727 testonly = true 778 testonly = true
728 deps = [ 779 deps = [
729 "//base:base_unittests", # PASSES (*) 2/25/2015 780 "//base:base_unittests", # PASSES (*) 2/25/2015
730 "//cc:cc_unittests", # PASSES 2/25/2015 781 "//cc:cc_unittests", # PASSES 2/25/2015
731 "//chrome/test:browser_tests", 782 "//chrome/test:browser_tests",
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 "//ui/views:views_unittests", # TooltipControllerTest failures 904 "//ui/views:views_unittests", # TooltipControllerTest failures
854 "//ui/wm:wm_unittests", # PASSES 4/21/2015 905 "//ui/wm:wm_unittests", # PASSES 4/21/2015
855 "//url:url_unittests", # PASSES 4/17/2015 906 "//url:url_unittests", # PASSES 4/17/2015
856 907
857 # TODO(GYP) nacl_integration 908 # TODO(GYP) nacl_integration
858 # TODO(GYP) telemetry_perf_unittests 909 # TODO(GYP) telemetry_perf_unittests
859 # TODO(GYP) telemetry_unittests 910 # TODO(GYP) telemetry_unittests
860 ] 911 ]
861 } 912 }
862 } 913 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698