| 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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 | 747 |
| 748 if (use_ozone) { | 748 if (use_ozone) { |
| 749 deps += [ "//ui/ozone/demo" ] | 749 deps += [ "//ui/ozone/demo" ] |
| 750 } | 750 } |
| 751 | 751 |
| 752 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || | 752 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || |
| 753 (use_libfuzzer && is_mac)) { | 753 (use_libfuzzer && is_mac)) { |
| 754 deps += [ | 754 deps += [ |
| 755 "//testing/libfuzzer/fuzzers", | 755 "//testing/libfuzzer/fuzzers", |
| 756 "//testing/libfuzzer/tests:libfuzzer_tests", | 756 "//testing/libfuzzer/tests:libfuzzer_tests", |
| 757 "//third_party/icu/fuzzers", |
| 757 ] | 758 ] |
| 758 } | 759 } |
| 759 | 760 |
| 760 if (enable_nacl) { | 761 if (enable_nacl) { |
| 761 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] | 762 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] |
| 762 } | 763 } |
| 763 | 764 |
| 764 if (is_android) { | 765 if (is_android) { |
| 765 deps += [ | 766 deps += [ |
| 766 "//build/android/gyp/test:hello_world", | 767 "//build/android/gyp/test:hello_world", |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 assert(target_name != "") # Mark as used. | 959 assert(target_name != "") # Mark as used. |
| 959 sources = invoker.actual_sources | 960 sources = invoker.actual_sources |
| 960 assert( | 961 assert( |
| 961 sources == invoker.actual_sources, | 962 sources == invoker.actual_sources, |
| 962 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 963 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 963 } | 964 } |
| 964 | 965 |
| 965 assert_valid_out_dir("_unused") { | 966 assert_valid_out_dir("_unused") { |
| 966 actual_sources = [ "$root_build_dir/foo" ] | 967 actual_sources = [ "$root_build_dir/foo" ] |
| 967 } | 968 } |
| OLD | NEW |