| 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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 } | 924 } |
| 925 | 925 |
| 926 # This target contains only a small subset of the layout tests, | 926 # This target contains only a small subset of the layout tests, |
| 927 # and is useful for testing with the regular isolate mechanism. | 927 # and is useful for testing with the regular isolate mechanism. |
| 928 # To run the full layout test suite you need to use | 928 # To run the full layout test suite you need to use |
| 929 # :webkit_layout_tests_exparchive, above, instead. | 929 # :webkit_layout_tests_exparchive, above, instead. |
| 930 group("webkit_layout_tests") { | 930 group("webkit_layout_tests") { |
| 931 testonly = true | 931 testonly = true |
| 932 data_deps = [ | 932 data_deps = [ |
| 933 "//content/shell:content_shell", | 933 "//content/shell:content_shell", |
| 934 "//third_party/WebKit/public:blink_devtools_frontend_resources_files", |
| 934 "//third_party/mesa:osmesa", | 935 "//third_party/mesa:osmesa", |
| 935 "//tools/imagediff", | 936 "//tools/imagediff", |
| 936 ] | 937 ] |
| 937 | 938 |
| 938 if (is_android) { | 939 if (is_android) { |
| 939 data_deps += [ | 940 data_deps += [ |
| 940 "//breakpad:breakpad_unittests", | 941 "//breakpad:breakpad_unittests", |
| 941 "//breakpad:dump_syms", | 942 "//breakpad:dump_syms", |
| 942 "//breakpad:microdump_stackwalk", | 943 "//breakpad:microdump_stackwalk", |
| 943 "//breakpad:minidump_dump", | 944 "//breakpad:minidump_dump", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 961 | 962 |
| 962 if (is_linux) { | 963 if (is_linux) { |
| 963 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] | 964 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
| 964 } | 965 } |
| 965 | 966 |
| 966 data = [ | 967 data = [ |
| 967 "//testing/scripts/common.py", | 968 "//testing/scripts/common.py", |
| 968 "//testing/xvfb.py", | 969 "//testing/xvfb.py", |
| 969 "//testing/scripts/run_isolated_script_test.py", | 970 "//testing/scripts/run_isolated_script_test.py", |
| 970 "//third_party/WebKit/LayoutTests/", | 971 "//third_party/WebKit/LayoutTests/", |
| 972 "//third_party/WebKit/PerformanceTests/", |
| 971 "//third_party/WebKit/Tools/Scripts/", | 973 "//third_party/WebKit/Tools/Scripts/", |
| 972 "$root_build_dir/resources/inspector/", | 974 "$root_build_dir/resources/inspector/", |
| 973 ] | 975 ] |
| 974 | 976 |
| 975 if (is_win) { | 977 if (is_win) { |
| 976 data += [ "//third_party/apache-win32/" ] | 978 data += [ "//third_party/apache-win32/" ] |
| 977 } | 979 } |
| 978 | 980 |
| 979 if (is_android) { | 981 if (is_android) { |
| 980 data += [ | 982 data += [ |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 assert(target_name != "") # Mark as used. | 1109 assert(target_name != "") # Mark as used. |
| 1108 sources = invoker.actual_sources | 1110 sources = invoker.actual_sources |
| 1109 assert( | 1111 assert( |
| 1110 sources == invoker.actual_sources, | 1112 sources == invoker.actual_sources, |
| 1111 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1113 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1112 } | 1114 } |
| 1113 | 1115 |
| 1114 assert_valid_out_dir("_unused") { | 1116 assert_valid_out_dir("_unused") { |
| 1115 actual_sources = [ "$root_build_dir/foo" ] | 1117 actual_sources = [ "$root_build_dir/foo" ] |
| 1116 } | 1118 } |
| OLD | NEW |