| 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 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 889 ] | 889 ] |
| 890 } | 890 } |
| 891 | 891 |
| 892 # This target contains only a small subset of the layout tests, | 892 # This target contains only a small subset of the layout tests, |
| 893 # and is useful for testing with the regular isolate mechanism. | 893 # and is useful for testing with the regular isolate mechanism. |
| 894 # To run the full layout test suite you need to use | 894 # To run the full layout test suite you need to use |
| 895 # :webkit_layout_tests_exparchive, above, instead. | 895 # :webkit_layout_tests_exparchive, above, instead. |
| 896 group("webkit_layout_tests") { | 896 group("webkit_layout_tests") { |
| 897 testonly = true | 897 testonly = true |
| 898 data_deps = [ | 898 data_deps = [ |
| 899 ":layout_test_data_mojo_bindings", |
| 899 "//content/shell:content_shell", | 900 "//content/shell:content_shell", |
| 900 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 901 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 901 "//third_party/WebKit/public:blink_devtools_frontend_resources_files", | 902 "//third_party/WebKit/public:blink_devtools_frontend_resources_files", |
| 902 "//third_party/mesa:osmesa", | 903 "//third_party/mesa:osmesa", |
| 903 "//tools/imagediff", | 904 "//tools/imagediff", |
| 904 ] | 905 ] |
| 905 | 906 |
| 906 if (is_android) { | 907 if (is_android) { |
| 907 data_deps += [ | 908 data_deps += [ |
| 908 "//breakpad:breakpad_unittests", | 909 "//breakpad:breakpad_unittests", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 945 data += [ "//third_party/apache-win32/" ] | 946 data += [ "//third_party/apache-win32/" ] |
| 946 } | 947 } |
| 947 | 948 |
| 948 if (is_android) { | 949 if (is_android) { |
| 949 data += [ | 950 data += [ |
| 950 "//third_party/catapult/", | 951 "//third_party/catapult/", |
| 951 "//build/android/", | 952 "//build/android/", |
| 952 ] | 953 ] |
| 953 } | 954 } |
| 954 } | 955 } |
| 956 |
| 957 copy("layout_test_data_mojo_bindings") { |
| 958 testonly = true |
| 959 |
| 960 sources = [ |
| 961 "$root_gen_dir/mojo/public/js/mojo_bindings.js", |
| 962 ] |
| 963 |
| 964 outputs = [ |
| 965 "$root_gen_dir/layout_test_data/mojo/public/js/mojo_bindings.js", |
| 966 ] |
| 967 |
| 968 deps = [ |
| 969 "//mojo/public/js:new_bindings", |
| 970 ] |
| 971 } |
| 955 } | 972 } |
| 956 | 973 |
| 957 # Add a dummy target for compatibility w/ GYP | 974 # Add a dummy target for compatibility w/ GYP |
| 958 group("chromium_swarm_tests") { | 975 group("chromium_swarm_tests") { |
| 959 } | 976 } |
| 960 | 977 |
| 961 group("chromium_builder_perf") { | 978 group("chromium_builder_perf") { |
| 962 testonly = true | 979 testonly = true |
| 963 | 980 |
| 964 if (!is_ios && !is_android && !is_chromecast) { | 981 if (!is_ios && !is_android && !is_chromecast) { |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1075 assert(target_name != "") # Mark as used. | 1092 assert(target_name != "") # Mark as used. |
| 1076 sources = invoker.actual_sources | 1093 sources = invoker.actual_sources |
| 1077 assert( | 1094 assert( |
| 1078 sources == invoker.actual_sources, | 1095 sources == invoker.actual_sources, |
| 1079 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1096 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1080 } | 1097 } |
| 1081 | 1098 |
| 1082 assert_valid_out_dir("_unused") { | 1099 assert_valid_out_dir("_unused") { |
| 1083 actual_sources = [ "$root_build_dir/foo" ] | 1100 actual_sources = [ "$root_build_dir/foo" ] |
| 1084 } | 1101 } |
| OLD | NEW |