| 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 "$root_build_dir/resources/inspector/", | 911 "$root_build_dir/resources/inspector/", |
| 912 "//testing/scripts/common.py", | 912 "//testing/scripts/common.py", |
| 913 "//testing/scripts/run_isolated_script_test.py", | 913 "//testing/scripts/run_isolated_script_test.py", |
| 914 "//testing/xvfb.py", | 914 "//testing/xvfb.py", |
| 915 "//third_party/WebKit/LayoutTests/", | 915 "//third_party/WebKit/LayoutTests/", |
| 916 "//third_party/WebKit/PerformanceTests/", | 916 "//third_party/WebKit/PerformanceTests/", |
| 917 "//third_party/WebKit/Tools/Scripts/", | 917 "//third_party/WebKit/Tools/Scripts/", |
| 918 ] | 918 ] |
| 919 | 919 |
| 920 if (is_win) { | 920 if (is_win) { |
| 921 data += [ "//third_party/apache-win32/" ] | 921 data += [ |
| 922 "//third_party/apache-win32/", |
| 923 "//third_party/cygwin/", |
| 924 "//third_party/perl/", |
| 925 ] |
| 922 } | 926 } |
| 923 | 927 |
| 924 if (is_android) { | 928 if (is_android) { |
| 925 data += [ | 929 data += [ |
| 926 "//third_party/catapult/", | 930 "//third_party/catapult/", |
| 927 "//build/android/", | 931 "//build/android/", |
| 928 ] | 932 ] |
| 929 } | 933 } |
| 930 } | 934 } |
| 931 | 935 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1067 assert(target_name != "") # Mark as used. | 1071 assert(target_name != "") # Mark as used. |
| 1068 sources = invoker.actual_sources | 1072 sources = invoker.actual_sources |
| 1069 assert( | 1073 assert( |
| 1070 sources == invoker.actual_sources, | 1074 sources == invoker.actual_sources, |
| 1071 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1075 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1072 } | 1076 } |
| 1073 | 1077 |
| 1074 assert_valid_out_dir("_unused") { | 1078 assert_valid_out_dir("_unused") { |
| 1075 actual_sources = [ "$root_build_dir/foo" ] | 1079 actual_sources = [ "$root_build_dir/foo" ] |
| 1076 } | 1080 } |
| OLD | NEW |