| 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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] | 692 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] |
| 693 } | 693 } |
| 694 | 694 |
| 695 if (enable_nacl) { | 695 if (enable_nacl) { |
| 696 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] | 696 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] |
| 697 } | 697 } |
| 698 | 698 |
| 699 if (is_android) { | 699 if (is_android) { |
| 700 deps += [ | 700 deps += [ |
| 701 "//build/android/gyp/test:hello_world", | 701 "//build/android/gyp/test:hello_world", |
| 702 "//chrome/test/vr/perf/latency:motopho_latency_test", | 702 "//chrome/test/vr/perf:motopho_latency_test", |
| 703 ] | 703 ] |
| 704 } | 704 } |
| 705 | 705 |
| 706 if (is_linux && use_ozone) { | 706 if (is_linux && use_ozone) { |
| 707 deps += [ | 707 deps += [ |
| 708 "//headless", | 708 "//headless", |
| 709 "//headless:headless_tests", | 709 "//headless:headless_tests", |
| 710 ] | 710 ] |
| 711 } | 711 } |
| 712 | 712 |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 assert(target_name != "") # Mark as used. | 1094 assert(target_name != "") # Mark as used. |
| 1095 sources = invoker.actual_sources | 1095 sources = invoker.actual_sources |
| 1096 assert( | 1096 assert( |
| 1097 sources == invoker.actual_sources, | 1097 sources == invoker.actual_sources, |
| 1098 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1098 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1099 } | 1099 } |
| 1100 | 1100 |
| 1101 assert_valid_out_dir("_unused") { | 1101 assert_valid_out_dir("_unused") { |
| 1102 actual_sources = [ "$root_build_dir/foo" ] | 1102 actual_sources = [ "$root_build_dir/foo" ] |
| 1103 } | 1103 } |
| OLD | NEW |