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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] | 947 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
948 } | 948 } |
949 | 949 |
950 data = [ | 950 data = [ |
951 "$root_build_dir/resources/inspector/", | 951 "$root_build_dir/resources/inspector/", |
952 "//testing/scripts/common.py", | 952 "//testing/scripts/common.py", |
953 "//testing/scripts/run_isolated_script_test.py", | 953 "//testing/scripts/run_isolated_script_test.py", |
954 "//testing/xvfb.py", | 954 "//testing/xvfb.py", |
955 "//third_party/WebKit/LayoutTests/", | 955 "//third_party/WebKit/LayoutTests/", |
956 "//third_party/WebKit/PerformanceTests/", | 956 "//third_party/WebKit/PerformanceTests/", |
957 "//third_party/WebKit/Source/platform/audio/resources/Composite.flac", | |
958 "//third_party/WebKit/Source/platform/audio/resources/Composite.wav", | |
959 "//third_party/WebKit/Tools/Scripts/", | 957 "//third_party/WebKit/Tools/Scripts/", |
960 ] | 958 ] |
961 | 959 |
962 if (is_win) { | 960 if (is_win) { |
963 data += [ "//third_party/apache-win32/" ] | 961 data += [ "//third_party/apache-win32/" ] |
964 } | 962 } |
965 | 963 |
966 if (is_android) { | 964 if (is_android) { |
967 data += [ | 965 data += [ |
968 "//third_party/catapult/", | 966 "//third_party/catapult/", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1093 assert(target_name != "") # Mark as used. | 1091 assert(target_name != "") # Mark as used. |
1094 sources = invoker.actual_sources | 1092 sources = invoker.actual_sources |
1095 assert( | 1093 assert( |
1096 sources == invoker.actual_sources, | 1094 sources == invoker.actual_sources, |
1097 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1095 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1098 } | 1096 } |
1099 | 1097 |
1100 assert_valid_out_dir("_unused") { | 1098 assert_valid_out_dir("_unused") { |
1101 actual_sources = [ "$root_build_dir/foo" ] | 1099 actual_sources = [ "$root_build_dir/foo" ] |
1102 } | 1100 } |
OLD | NEW |