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

Side by Side Diff: BUILD.gn

Issue 2452313003: Creating webkit_layout_tests target. (Closed)
Patch Set: Updating for telemetry change. Created 4 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 | testing/buildbot/gn_isolate_map.pyl » ('j') | testing/buildbot/manage.py » ('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 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 } 892 }
893 } 893 }
894 894
895 if (!is_ios) { 895 if (!is_ios) {
896 # This group includes all of the targets needed to build and test Blink, 896 # This group includes all of the targets needed to build and test Blink,
897 # including running the layout tests (see below). 897 # including running the layout tests (see below).
898 group("blink_tests") { 898 group("blink_tests") {
899 testonly = true 899 testonly = true
900 900
901 deps = [ 901 deps = [
902 ":webkit_layout_tests",
903 "//third_party/WebKit/public:all_blink",
904 ]
905 }
906
907 # Layout tests runner
908 # third_party/WebKit/Tools/Scripts/run-webkit-tests
909 group("run_webkit_tests") {
910 testonly = true
911 deps = [
912 ":webkit_layout_tests",
913 ]
914 }
915
916 # https://www.chromium.org/developers/testing/webkit-layout-tests
917 group("webkit_layout_tests") {
918 testonly = true
919
920 data_deps = [
902 "//content/shell:content_shell", 921 "//content/shell:content_shell",
903 "//third_party/WebKit/public:all_blink", 922 "//chrome/test:telemetry_gtest_wrapper",
Dirk Pranke 2016/11/01 16:51:00 This should not depend on anything in //chrome. Ca
mithro 2016/11/03 04:19:52 It's unclear to me why all the telemetry targets s
904 "//tools/imagediff", 923 "//tools/imagediff",
905 ] 924 ]
906 925
907 # NOTE: The following deps are needed to run the layout tests
908 # (run-webkit-tests) but there is no GN target for the layout tests,
909 # so we need to specify the dependencies here instead.
910 if (is_android) { 926 if (is_android) {
911 deps += [ 927 data_deps += [
912 "//breakpad:breakpad_unittests", 928 "//breakpad:breakpad_unittests",
913 "//breakpad:dump_syms", 929 "//breakpad:dump_syms",
914 "//breakpad:microdump_stackwalk", 930 "//breakpad:microdump_stackwalk",
915 "//breakpad:minidump_dump", 931 "//breakpad:minidump_dump",
916 "//breakpad:minidump_stackwalk", 932 "//breakpad:minidump_stackwalk",
917 "//breakpad:symupload", 933 "//breakpad:symupload",
918 "//tools/android/forwarder2", 934 "//tools/android/forwarder2",
919 ] 935 ]
920 } 936 }
921 937
922 if (is_win) { 938 if (is_win) {
923 deps += [ 939 data_deps += [
924 "//components/test_runner:layout_test_helper", 940 "//components/test_runner:layout_test_helper",
925 "//content/shell:content_shell_crash_service", 941 "//content/shell:content_shell_crash_service",
926 ] 942 ]
927 } 943 }
928 944
929 if (!is_win && !is_android) { 945 if (!is_win && !is_android) {
930 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] 946 data_deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
931 } 947 }
932 948
933 if (is_mac) { 949 if (is_mac) {
934 deps += [ "//breakpad:dump_syms($host_toolchain)" ] 950 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ]
935 } 951 }
936 952
937 if (is_linux) { 953 if (is_linux) {
938 deps += [ "//breakpad:dump_syms($host_toolchain)" ] 954 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ]
939 } 955 }
940 956
941 data = [ 957 data = [
942 "//third_party/WebKit/LayoutTests/", 958 "//third_party/WebKit/LayoutTests/",
943 "//third_party/WebKit/Tools/Scripts/", 959 "//third_party/WebKit/Tools/Scripts/",
960 "$root_build_dir/resources/inspector/",
Dirk Pranke 2016/11/01 16:51:00 This seems like it should actually be a data depen
mithro 2016/11/03 04:19:52 From what I can tell, these resources are actually
944 ] 961 ]
945 } 962 }
946 } 963 }
947 964
948 # Add a dummy target for compatibility w/ GYP 965 # Add a dummy target for compatibility w/ GYP
949 group("chromium_swarm_tests") { 966 group("chromium_swarm_tests") {
950 } 967 }
951 968
952 group("chromium_builder_perf") { 969 group("chromium_builder_perf") {
953 testonly = true 970 testonly = true
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 "//ui/display:display_unittests", 1161 "//ui/display:display_unittests",
1145 "//ui/events:events_unittests", 1162 "//ui/events:events_unittests",
1146 "//ui/gfx:gfx_unittests", 1163 "//ui/gfx:gfx_unittests",
1147 "//ui/gl:gl_unittests", 1164 "//ui/gl:gl_unittests",
1148 "//ui/keyboard:keyboard_unittests", 1165 "//ui/keyboard:keyboard_unittests",
1149 "//ui/touch_selection:ui_touch_selection_unittests", 1166 "//ui/touch_selection:ui_touch_selection_unittests",
1150 "//url:url_unittests", 1167 "//url:url_unittests",
1151 ] 1168 ]
1152 } 1169 }
1153 } 1170 }
OLDNEW
« no previous file with comments | « no previous file | testing/buildbot/gn_isolate_map.pyl » ('j') | testing/buildbot/manage.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698