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 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 } | 900 } |
901 } | 901 } |
902 | 902 |
903 if (!is_ios) { | 903 if (!is_ios) { |
904 # This group includes all of the targets needed to build and test Blink, | 904 # This group includes all of the targets needed to build and test Blink, |
905 # including running the layout tests (see below). | 905 # including running the layout tests (see below). |
906 group("blink_tests") { | 906 group("blink_tests") { |
907 testonly = true | 907 testonly = true |
908 | 908 |
909 deps = [ | 909 deps = [ |
| 910 ":webkit_layout_tests", |
| 911 "//third_party/WebKit/public:all_blink", |
| 912 ] |
| 913 } |
| 914 |
| 915 # Layout tests runner |
| 916 # third_party/WebKit/Tools/Scripts/run-webkit-tests |
| 917 group("run_webkit_tests") { |
| 918 testonly = true |
| 919 deps = [ |
| 920 ":webkit_layout_tests", |
| 921 ] |
| 922 } |
| 923 |
| 924 # https://www.chromium.org/developers/testing/webkit-layout-tests |
| 925 group("webkit_layout_tests") { |
| 926 testonly = true |
| 927 |
| 928 data_deps = [ |
910 "//content/shell:content_shell", | 929 "//content/shell:content_shell", |
911 "//third_party/WebKit/public:all_blink", | |
912 "//tools/imagediff", | 930 "//tools/imagediff", |
913 ] | 931 ] |
914 | 932 |
915 # NOTE: The following deps are needed to run the layout tests | |
916 # (run-webkit-tests) but there is no GN target for the layout tests, | |
917 # so we need to specify the dependencies here instead. | |
918 if (is_android) { | 933 if (is_android) { |
919 deps += [ | 934 data_deps += [ |
920 "//breakpad:breakpad_unittests", | 935 "//breakpad:breakpad_unittests", |
921 "//breakpad:dump_syms", | 936 "//breakpad:dump_syms", |
922 "//breakpad:microdump_stackwalk", | 937 "//breakpad:microdump_stackwalk", |
923 "//breakpad:minidump_dump", | 938 "//breakpad:minidump_dump", |
924 "//breakpad:minidump_stackwalk", | 939 "//breakpad:minidump_stackwalk", |
925 "//breakpad:symupload", | 940 "//breakpad:symupload", |
926 "//tools/android/forwarder2", | 941 "//tools/android/forwarder2", |
927 ] | 942 ] |
928 } | 943 } |
929 | 944 |
930 if (is_win) { | 945 if (is_win) { |
931 deps += [ "//content/shell:content_shell_crash_service" ] | 946 data_deps += [ "//content/shell:content_shell_crash_service" ] |
932 } | 947 } |
933 | 948 |
934 if (!is_win && !is_android) { | 949 if (!is_win && !is_android) { |
935 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] | 950 data_deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] |
936 } | 951 } |
937 | 952 |
938 if (is_mac) { | 953 if (is_mac) { |
939 deps += [ "//breakpad:dump_syms($host_toolchain)" ] | 954 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
940 } | 955 } |
941 | 956 |
942 if (is_linux) { | 957 if (is_linux) { |
943 deps += [ "//breakpad:dump_syms($host_toolchain)" ] | 958 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
944 } | 959 } |
945 | 960 |
946 data = [ | 961 data = [ |
| 962 "//testing/scripts/common.py", |
| 963 "//testing/xvfb.py", |
| 964 "//testing/scripts/run_telemetry_as_googletest.py", |
947 "//third_party/WebKit/LayoutTests/", | 965 "//third_party/WebKit/LayoutTests/", |
948 "//third_party/WebKit/Tools/Scripts/", | 966 "//third_party/WebKit/Tools/Scripts/", |
| 967 "$root_build_dir/resources/inspector/", |
949 ] | 968 ] |
950 } | 969 } |
951 } | 970 } |
952 | 971 |
953 # Add a dummy target for compatibility w/ GYP | 972 # Add a dummy target for compatibility w/ GYP |
954 group("chromium_swarm_tests") { | 973 group("chromium_swarm_tests") { |
955 } | 974 } |
956 | 975 |
957 group("chromium_builder_perf") { | 976 group("chromium_builder_perf") { |
958 testonly = true | 977 testonly = true |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 "//ui/display:display_unittests", | 1166 "//ui/display:display_unittests", |
1148 "//ui/events:events_unittests", | 1167 "//ui/events:events_unittests", |
1149 "//ui/gfx:gfx_unittests", | 1168 "//ui/gfx:gfx_unittests", |
1150 "//ui/gl:gl_unittests", | 1169 "//ui/gl:gl_unittests", |
1151 "//ui/keyboard:keyboard_unittests", | 1170 "//ui/keyboard:keyboard_unittests", |
1152 "//ui/touch_selection:ui_touch_selection_unittests", | 1171 "//ui/touch_selection:ui_touch_selection_unittests", |
1153 "//url:url_unittests", | 1172 "//url:url_unittests", |
1154 ] | 1173 ] |
1155 } | 1174 } |
1156 } | 1175 } |
OLD | NEW |