| 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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 | 963 |
| 964 data = [ | 964 data = [ |
| 965 "//testing/scripts/common.py", | 965 "//testing/scripts/common.py", |
| 966 "//testing/xvfb.py", | 966 "//testing/xvfb.py", |
| 967 "//testing/scripts/run_isolated_script_test.py", | 967 "//testing/scripts/run_isolated_script_test.py", |
| 968 "//third_party/WebKit/LayoutTests/", | 968 "//third_party/WebKit/LayoutTests/", |
| 969 "//third_party/WebKit/Tools/Scripts/", | 969 "//third_party/WebKit/Tools/Scripts/", |
| 970 "$root_build_dir/resources/inspector/", | 970 "$root_build_dir/resources/inspector/", |
| 971 ] | 971 ] |
| 972 | 972 |
| 973 if (is_win) { |
| 974 data += [ "//third_party/apache-win32/" ] |
| 975 } |
| 976 |
| 973 if (is_android) { | 977 if (is_android) { |
| 974 data += [ | 978 data += [ |
| 975 "//third_party/catapult/", | 979 "//third_party/catapult/", |
| 976 "//build/android/", | 980 "//build/android/", |
| 977 ] | 981 ] |
| 978 } | 982 } |
| 979 } | 983 } |
| 980 } | 984 } |
| 981 | 985 |
| 982 # Add a dummy target for compatibility w/ GYP | 986 # Add a dummy target for compatibility w/ GYP |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1101 assert(target_name != "") # Mark as used. | 1105 assert(target_name != "") # Mark as used. |
| 1102 sources = invoker.actual_sources | 1106 sources = invoker.actual_sources |
| 1103 assert( | 1107 assert( |
| 1104 sources == invoker.actual_sources, | 1108 sources == invoker.actual_sources, |
| 1105 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1109 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1106 } | 1110 } |
| 1107 | 1111 |
| 1108 assert_valid_out_dir("_unused") { | 1112 assert_valid_out_dir("_unused") { |
| 1109 actual_sources = [ "$root_build_dir/foo" ] | 1113 actual_sources = [ "$root_build_dir/foo" ] |
| 1110 } | 1114 } |
| OLD | NEW |