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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
689 # This dependency here only exists to allow GN to discover the | 689 # This dependency here only exists to allow GN to discover the |
690 # fuzzer_test target there. | 690 # fuzzer_test target there. |
691 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] | 691 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] |
692 } | 692 } |
693 | 693 |
694 if (enable_nacl) { | 694 if (enable_nacl) { |
695 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] | 695 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] |
696 } | 696 } |
697 | 697 |
698 if (is_android) { | 698 if (is_android) { |
699 deps += [ "//build/android/gyp/test:hello_world" ] | 699 deps += [ |
700 "//build/android/gyp/test:hello_world", | |
701 "//chrome/test/vr/automated_motopho_latency:automated_motopho_latency_test ", | |
Lei Lei
2017/04/07 21:36:34
Why do you add automated_motopho_latency_test targ
bsheedy
2017/04/07 23:24:51
From the top of the file:
"So if you add a new bui
| |
702 ] | |
700 } | 703 } |
701 | 704 |
702 if (is_linux && use_ozone) { | 705 if (is_linux && use_ozone) { |
703 deps += [ | 706 deps += [ |
704 "//headless", | 707 "//headless", |
705 "//headless:headless_tests", | 708 "//headless:headless_tests", |
706 ] | 709 ] |
707 } | 710 } |
708 | 711 |
709 if (!is_ios) { | 712 if (!is_ios) { |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1089 assert(target_name != "") # Mark as used. | 1092 assert(target_name != "") # Mark as used. |
1090 sources = invoker.actual_sources | 1093 sources = invoker.actual_sources |
1091 assert( | 1094 assert( |
1092 sources == invoker.actual_sources, | 1095 sources == invoker.actual_sources, |
1093 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 1096 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
1094 } | 1097 } |
1095 | 1098 |
1096 assert_valid_out_dir("_unused") { | 1099 assert_valid_out_dir("_unused") { |
1097 actual_sources = [ "$root_build_dir/foo" ] | 1100 actual_sources = [ "$root_build_dir/foo" ] |
1098 } | 1101 } |
OLD | NEW |