| 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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 907 # Layout tests runner | 907 # Layout tests runner |
| 908 # third_party/WebKit/Tools/Scripts/run-webkit-tests | 908 # third_party/WebKit/Tools/Scripts/run-webkit-tests |
| 909 group("run_webkit_tests") { | 909 group("run_webkit_tests") { |
| 910 testonly = true | 910 testonly = true |
| 911 deps = [ | 911 deps = [ |
| 912 ":webkit_layout_tests", | 912 ":webkit_layout_tests", |
| 913 ] | 913 ] |
| 914 } | 914 } |
| 915 | 915 |
| 916 # https://www.chromium.org/developers/testing/webkit-layout-tests | 916 # https://www.chromium.org/developers/testing/webkit-layout-tests |
| 917 |
| 918 # The _exparchive at the end of the name indicates to the isolate recipe |
| 919 # that the isolate should be archived separately using the `exparchive` |
| 920 # command, rather than as part of the normal `batcharchive` command. |
| 921 group("webkit_layout_tests_exparchive") { |
| 922 testonly = true |
| 923 deps = [ |
| 924 ":webkit_layout_tests", |
| 925 ] |
| 926 data_deps = [ |
| 927 ":webkit_layout_tests", |
| 928 ] |
| 929 } |
| 930 |
| 931 # This target contains only a small subset of the layout tests, |
| 932 # and is useful for testing with the regular isolate mechanism. |
| 933 # To run the full layout test suite you need to use |
| 934 # :webkit_layout_tests_exparchive, above, instead. |
| 917 group("webkit_layout_tests") { | 935 group("webkit_layout_tests") { |
| 918 testonly = true | 936 testonly = true |
| 919 | |
| 920 data_deps = [ | 937 data_deps = [ |
| 921 "//content/shell:content_shell", | 938 "//content/shell:content_shell", |
| 922 "//tools/imagediff", | 939 "//tools/imagediff", |
| 923 ] | 940 ] |
| 924 | 941 |
| 925 if (is_android) { | 942 if (is_android) { |
| 926 data_deps += [ | 943 data_deps += [ |
| 927 "//breakpad:breakpad_unittests", | 944 "//breakpad:breakpad_unittests", |
| 928 "//breakpad:dump_syms", | 945 "//breakpad:dump_syms", |
| 929 "//breakpad:microdump_stackwalk", | 946 "//breakpad:microdump_stackwalk", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 946 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] | 963 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
| 947 } | 964 } |
| 948 | 965 |
| 949 if (is_linux) { | 966 if (is_linux) { |
| 950 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] | 967 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
| 951 } | 968 } |
| 952 | 969 |
| 953 data = [ | 970 data = [ |
| 954 "//testing/scripts/common.py", | 971 "//testing/scripts/common.py", |
| 955 "//testing/xvfb.py", | 972 "//testing/xvfb.py", |
| 956 "//testing/scripts/run_telemetry_as_googletest.py", | 973 "//testing/scripts/run_isolated_script_test.py", |
| 957 "//third_party/WebKit/LayoutTests/", | 974 "//third_party/WebKit/LayoutTests/", |
| 958 "//third_party/WebKit/Tools/Scripts/", | 975 "//third_party/WebKit/Tools/Scripts/", |
| 959 "$root_build_dir/resources/inspector/", | 976 "$root_build_dir/resources/inspector/", |
| 960 ] | 977 ] |
| 978 |
| 979 if (is_android) { |
| 980 data += [ |
| 981 "//third_party/catapult/", |
| 982 "//build/android/", |
| 983 ] |
| 984 } |
| 961 } | 985 } |
| 962 } | 986 } |
| 963 | 987 |
| 964 # Add a dummy target for compatibility w/ GYP | 988 # Add a dummy target for compatibility w/ GYP |
| 965 group("chromium_swarm_tests") { | 989 group("chromium_swarm_tests") { |
| 966 } | 990 } |
| 967 | 991 |
| 968 group("chromium_builder_perf") { | 992 group("chromium_builder_perf") { |
| 969 testonly = true | 993 testonly = true |
| 970 | 994 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1083 assert(target_name != "") # Mark as used. | 1107 assert(target_name != "") # Mark as used. |
| 1084 sources = invoker.actual_sources | 1108 sources = invoker.actual_sources |
| 1085 assert( | 1109 assert( |
| 1086 sources == invoker.actual_sources, | 1110 sources == invoker.actual_sources, |
| 1087 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1111 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1088 } | 1112 } |
| 1089 | 1113 |
| 1090 assert_valid_out_dir("_unused") { | 1114 assert_valid_out_dir("_unused") { |
| 1091 actual_sources = [ "$root_build_dir/foo" ] | 1115 actual_sources = [ "$root_build_dir/foo" ] |
| 1092 } | 1116 } |
| OLD | NEW |