| 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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 # This dependency here only exists to allow GN to discover the | 845 # This dependency here only exists to allow GN to discover the |
| 846 # fuzzer_test target there. | 846 # fuzzer_test target there. |
| 847 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] | 847 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] |
| 848 } | 848 } |
| 849 | 849 |
| 850 if (enable_nacl) { | 850 if (enable_nacl) { |
| 851 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] | 851 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] |
| 852 } | 852 } |
| 853 | 853 |
| 854 if (is_android) { | 854 if (is_android) { |
| 855 deps += [ "//build/android/gyp/test:hello_world" ] | 855 deps += [ |
| 856 "//build/android/gyp/test:hello_world", |
| 857 "//build/android/incremental_install:bootstrap_java", |
| 858 "//build/android/java_assertion_enabler", |
| 859 ] |
| 856 } | 860 } |
| 857 | 861 |
| 858 if (is_linux && use_ozone) { | 862 if (is_linux && use_ozone) { |
| 859 deps += [ | 863 deps += [ |
| 860 "//headless", | 864 "//headless", |
| 861 "//headless:headless_tests", | 865 "//headless:headless_tests", |
| 862 ] | 866 ] |
| 863 } | 867 } |
| 864 | 868 |
| 865 if (!is_chromecast && (is_android || is_linux || is_chromeos)) { | 869 if (!is_chromecast && (is_android || is_linux || is_chromeos)) { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1072 assert(target_name != "") # Mark as used. | 1076 assert(target_name != "") # Mark as used. |
| 1073 sources = invoker.actual_sources | 1077 sources = invoker.actual_sources |
| 1074 assert( | 1078 assert( |
| 1075 sources == invoker.actual_sources, | 1079 sources == invoker.actual_sources, |
| 1076 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1080 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1077 } | 1081 } |
| 1078 | 1082 |
| 1079 assert_valid_out_dir("_unused") { | 1083 assert_valid_out_dir("_unused") { |
| 1080 actual_sources = [ "$root_build_dir/foo" ] | 1084 actual_sources = [ "$root_build_dir/foo" ] |
| 1081 } | 1085 } |
| OLD | NEW |