Chromium Code Reviews| 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 += [ | 855 deps += [ "//build/android/gyp/test:hello_world" ] |
| 856 "//build/android/gyp/test:hello_world", | |
| 857 "//build/android/incremental_install:bootstrap_java", | |
|
agrieve
2016/11/14 19:00:57
note: I said this was fine to remove as well since
| |
| 858 "//build/android/java_assertion_enabler", | |
| 859 ] | |
| 860 } | 856 } |
| 861 | 857 |
| 862 if (is_linux && use_ozone) { | 858 if (is_linux && use_ozone) { |
| 863 deps += [ | 859 deps += [ |
| 864 "//headless", | 860 "//headless", |
| 865 "//headless:headless_tests", | 861 "//headless:headless_tests", |
| 866 ] | 862 ] |
| 867 } | 863 } |
| 868 | 864 |
| 869 if (!is_chromecast && (is_android || is_linux || is_chromeos)) { | 865 if (!is_chromecast && (is_android || is_linux || is_chromeos)) { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1076 assert(target_name != "") # Mark as used. | 1072 assert(target_name != "") # Mark as used. |
| 1077 sources = invoker.actual_sources | 1073 sources = invoker.actual_sources |
| 1078 assert( | 1074 assert( |
| 1079 sources == invoker.actual_sources, | 1075 sources == invoker.actual_sources, |
| 1080 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 1076 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
| 1081 } | 1077 } |
| 1082 | 1078 |
| 1083 assert_valid_out_dir("_unused") { | 1079 assert_valid_out_dir("_unused") { |
| 1084 actual_sources = [ "$root_build_dir/foo" ] | 1080 actual_sources = [ "$root_build_dir/foo" ] |
| 1085 } | 1081 } |
| OLD | NEW |