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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 | 958 |
959 if (is_mac) { | 959 if (is_mac) { |
960 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] | 960 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
961 } | 961 } |
962 | 962 |
963 if (is_linux) { | 963 if (is_linux) { |
964 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] | 964 data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
965 } | 965 } |
966 | 966 |
967 data = [ | 967 data = [ |
| 968 "$root_build_dir/resources/inspector/", |
968 "//testing/scripts/common.py", | 969 "//testing/scripts/common.py", |
| 970 "//testing/scripts/run_isolated_script_test.py", |
969 "//testing/xvfb.py", | 971 "//testing/xvfb.py", |
970 "//testing/scripts/run_isolated_script_test.py", | |
971 "//third_party/WebKit/LayoutTests/", | 972 "//third_party/WebKit/LayoutTests/", |
972 "//third_party/WebKit/PerformanceTests/", | 973 "//third_party/WebKit/PerformanceTests/", |
| 974 "//third_party/WebKit/Source/platform/audio/resources/Composite.flac", |
| 975 "//third_party/WebKit/Source/platform/audio/resources/Composite.wav", |
973 "//third_party/WebKit/Tools/Scripts/", | 976 "//third_party/WebKit/Tools/Scripts/", |
974 "$root_build_dir/resources/inspector/", | |
975 ] | 977 ] |
976 | 978 |
977 if (is_win) { | 979 if (is_win) { |
978 data += [ "//third_party/apache-win32/" ] | 980 data += [ "//third_party/apache-win32/" ] |
979 } | 981 } |
980 | 982 |
981 if (is_android) { | 983 if (is_android) { |
982 data += [ | 984 data += [ |
983 "//third_party/catapult/", | 985 "//third_party/catapult/", |
984 "//build/android/", | 986 "//build/android/", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 assert(target_name != "") # Mark as used. | 1111 assert(target_name != "") # Mark as used. |
1110 sources = invoker.actual_sources | 1112 sources = invoker.actual_sources |
1111 assert( | 1113 assert( |
1112 sources == invoker.actual_sources, | 1114 sources == invoker.actual_sources, |
1113 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1115 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1114 } | 1116 } |
1115 | 1117 |
1116 assert_valid_out_dir("_unused") { | 1118 assert_valid_out_dir("_unused") { |
1117 actual_sources = [ "$root_build_dir/foo" ] | 1119 actual_sources = [ "$root_build_dir/foo" ] |
1118 } | 1120 } |
OLD | NEW |