| 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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 if (target_cpu == "x86" || target_cpu == "x64") { | 729 if (target_cpu == "x86" || target_cpu == "x64") { |
| 730 if (!is_android) { | 730 if (!is_android) { |
| 731 deps += [ "//chrome/test:load_library_perf_tests" ] | 731 deps += [ "//chrome/test:load_library_perf_tests" ] |
| 732 } | 732 } |
| 733 deps += [ | 733 deps += [ |
| 734 "//native_client/src/trusted/platform_qualify:vcpuid", | 734 "//native_client/src/trusted/platform_qualify:vcpuid", |
| 735 "//third_party/libjpeg_turbo:simd_asm", | 735 "//third_party/libjpeg_turbo:simd_asm", |
| 736 ] | 736 ] |
| 737 } | 737 } |
| 738 if (is_linux && current_toolchain == host_toolchain) { | 738 if (is_linux && current_toolchain == host_toolchain) { |
| 739 deps += [ "//v8:d8" ] | 739 deps += [ "//v8:shell" ] |
| 740 } | 740 } |
| 741 } | 741 } |
| 742 | 742 |
| 743 if (use_ozone) { | 743 if (use_ozone) { |
| 744 deps += [ "//ui/ozone/demo" ] | 744 deps += [ "//ui/ozone/demo" ] |
| 745 } | 745 } |
| 746 | 746 |
| 747 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || | 747 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || |
| 748 (use_libfuzzer && is_mac)) { | 748 (use_libfuzzer && is_mac)) { |
| 749 deps += [ | 749 deps += [ |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 952 assert(target_name != "") # Mark as used. | 952 assert(target_name != "") # Mark as used. |
| 953 sources = invoker.actual_sources | 953 sources = invoker.actual_sources |
| 954 assert( | 954 assert( |
| 955 sources == invoker.actual_sources, | 955 sources == invoker.actual_sources, |
| 956 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 956 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 957 } | 957 } |
| 958 | 958 |
| 959 assert_valid_out_dir("_unused") { | 959 assert_valid_out_dir("_unused") { |
| 960 actual_sources = [ "$root_build_dir/foo" ] | 960 actual_sources = [ "$root_build_dir/foo" ] |
| 961 } | 961 } |
| OLD | NEW |