| 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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 # This dependency here only exists to allow GN to discover the | 846 # This dependency here only exists to allow GN to discover the |
| 847 # fuzzer_test target there. | 847 # fuzzer_test target there. |
| 848 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] | 848 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] |
| 849 } | 849 } |
| 850 | 850 |
| 851 if (enable_nacl) { | 851 if (enable_nacl) { |
| 852 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] | 852 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] |
| 853 } | 853 } |
| 854 | 854 |
| 855 if (is_android) { | 855 if (is_android) { |
| 856 deps += [ | 856 deps += [ "//build/android/gyp/test:hello_world" ] |
| 857 "//build/android/gyp/test:hello_world", | |
| 858 "//build/android/incremental_install:bootstrap_java", | |
| 859 "//build/android/java_assertion_enabler", | |
| 860 ] | |
| 861 } | 857 } |
| 862 | 858 |
| 863 if (is_linux && use_ozone) { | 859 if (is_linux && use_ozone) { |
| 864 deps += [ | 860 deps += [ |
| 865 "//headless", | 861 "//headless", |
| 866 "//headless:headless_tests", | 862 "//headless:headless_tests", |
| 867 ] | 863 ] |
| 868 } | 864 } |
| 869 | 865 |
| 870 if (!is_chromecast && (is_android || is_linux || is_chromeos)) { | 866 if (!is_chromecast && (is_android || is_linux || is_chromeos)) { |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1097 assert(target_name != "") # Mark as used. | 1093 assert(target_name != "") # Mark as used. |
| 1098 sources = invoker.actual_sources | 1094 sources = invoker.actual_sources |
| 1099 assert( | 1095 assert( |
| 1100 sources == invoker.actual_sources, | 1096 sources == invoker.actual_sources, |
| 1101 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1097 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1102 } | 1098 } |
| 1103 | 1099 |
| 1104 assert_valid_out_dir("_unused") { | 1100 assert_valid_out_dir("_unused") { |
| 1105 actual_sources = [ "$root_build_dir/foo" ] | 1101 actual_sources = [ "$root_build_dir/foo" ] |
| 1106 } | 1102 } |
| OLD | NEW |