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

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: Dirk's wording 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/Source/platform:heap_unittests",
736 "//third_party/WebKit/Source/platform:platform_unittests",
737 "//third_party/WebKit/Source/web:webkit_unit_tests",
738 "//third_party/WebKit/Source/wtf:wtf_unittests",
739 ]
740
741 # NOTE: The following deps are needed to run the layout tests.
brettw 2015/05/08 16:57:04 If this comment is literally true, then the layout
tfarina 2015/05/08 17:03:51 My understanding is that this target (blink_tests)
742 if (is_android) {
743 deps += [
744 "//breakpad:dump_syms($host_toolchain)",
745 "//breakpad:minidump_stackwalk($host_toolchain)",
746 "//content/shell/android:content_shell_apk",
747 ]
748 } else {
749 deps += [ "//content/shell:content_shell" ]
750 }
751
752 if (is_win) {
753 deps += [
754 #'../content/content_shell_and_tests.gyp:content_shell_crash_service', T ODO(GYP)
755 #'../content/content_shell_and_tests.gyp:layout_test_helper', TODO(GYP)
756 ]
757 }
758
759 if (!is_win && !is_android) {
760 deps += [ "//breakpad:minidump_stackwalk" ]
761 }
762
763 if (is_mac) {
764 deps += [
765 "//breakpad:dump_syms($host_toolchain)",
766 #'../content/content_shell_and_tests.gyp:layout_test_helper', TODO(GYP)
767 ]
768
769 # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac.
770 deps -= [
771 "//third_party/WebKit/Source/platform:heap_unittests",
772 "//third_party/WebKit/Source/platform:platform_unittests",
773 "//third_party/WebKit/Source/web:webkit_unit_tests",
774 ]
775 }
776
777 if (is_linux) {
778 deps += [ "//breakpad:dump_syms($host_toolchain)" ]
779 }
780 }
781 }
782
722 if (is_linux) { 783 if (is_linux) {
723 # This group corresponds to the list of tests run on the waterfall for 784 # 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 785 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's
725 # here to help track GYP -> GN conversion progress. 786 # here to help track GYP -> GN conversion progress.
726 group("linux_default_tests") { 787 group("linux_default_tests") {
727 testonly = true 788 testonly = true
728 deps = [ 789 deps = [
729 "//base:base_unittests", # PASSES (*) 2/25/2015 790 "//base:base_unittests", # PASSES (*) 2/25/2015
730 "//cc:cc_unittests", # PASSES 2/25/2015 791 "//cc:cc_unittests", # PASSES 2/25/2015
731 "//chrome/test:browser_tests", 792 "//chrome/test:browser_tests",
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 "//ui/views:views_unittests", # TooltipControllerTest failures 914 "//ui/views:views_unittests", # TooltipControllerTest failures
854 "//ui/wm:wm_unittests", # PASSES 4/21/2015 915 "//ui/wm:wm_unittests", # PASSES 4/21/2015
855 "//url:url_unittests", # PASSES 4/17/2015 916 "//url:url_unittests", # PASSES 4/17/2015
856 917
857 # TODO(GYP) nacl_integration 918 # TODO(GYP) nacl_integration
858 # TODO(GYP) telemetry_perf_unittests 919 # TODO(GYP) telemetry_perf_unittests
859 # TODO(GYP) telemetry_unittests 920 # TODO(GYP) telemetry_unittests
860 ] 921 ]
861 } 922 }
862 } 923 }
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