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 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 if (target_cpu == "x86" || target_cpu == "x64") { | 722 if (target_cpu == "x86" || target_cpu == "x64") { |
723 if (!is_android) { | 723 if (!is_android) { |
724 deps += [ "//chrome/test:load_library_perf_tests" ] | 724 deps += [ "//chrome/test:load_library_perf_tests" ] |
725 } | 725 } |
726 deps += [ | 726 deps += [ |
727 "//native_client/src/trusted/platform_qualify:vcpuid", | 727 "//native_client/src/trusted/platform_qualify:vcpuid", |
728 "//third_party/libjpeg_turbo:simd_asm", | 728 "//third_party/libjpeg_turbo:simd_asm", |
729 ] | 729 ] |
730 } | 730 } |
731 if (is_linux && current_toolchain == host_toolchain) { | 731 if (is_linux && current_toolchain == host_toolchain) { |
732 deps += [ "//v8:d8" ] | 732 deps += [ "//v8:v8_shell" ] |
733 } | 733 } |
734 } | 734 } |
735 | 735 |
736 if (use_ozone) { | 736 if (use_ozone) { |
737 deps += [ "//ui/ozone/demo" ] | 737 deps += [ "//ui/ozone/demo" ] |
738 } | 738 } |
739 | 739 |
740 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || | 740 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || |
741 (use_libfuzzer && is_mac)) { | 741 (use_libfuzzer && is_mac)) { |
742 deps += [ | 742 deps += [ |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 assert(target_name != "") # Mark as used. | 946 assert(target_name != "") # Mark as used. |
947 sources = invoker.actual_sources | 947 sources = invoker.actual_sources |
948 assert( | 948 assert( |
949 sources == invoker.actual_sources, | 949 sources == invoker.actual_sources, |
950 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 950 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
951 } | 951 } |
952 | 952 |
953 assert_valid_out_dir("_unused") { | 953 assert_valid_out_dir("_unused") { |
954 actual_sources = [ "$root_build_dir/foo" ] | 954 actual_sources = [ "$root_build_dir/foo" ] |
955 } | 955 } |
OLD | NEW |