| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 group("gn_all") { | 61 group("gn_all") { |
| 62 testonly = true | 62 testonly = true |
| 63 | 63 |
| 64 deps = [ | 64 deps = [ |
| 65 ":both_gn_and_gyp", | 65 ":both_gn_and_gyp", |
| 66 ":gn_only", | 66 ":gn_only", |
| 67 ":gn_visibility", | 67 ":gn_visibility", |
| 68 ] | 68 ] |
| 69 | 69 |
| 70 if (!is_ios) { | 70 if (!is_ios) { |
| 71 deps += [ | 71 deps += [ "//v8:gn_all" ] |
| 72 "//v8:gn_all", | |
| 73 ] | |
| 74 } | 72 } |
| 75 } | 73 } |
| 76 | 74 |
| 77 # TODO(GYP_GONE): This target exists for compatibility with GYP, specifically | 75 # TODO(GYP_GONE): This target exists for compatibility with GYP, specifically |
| 78 # for the iOS bots and the official builders. | 76 # for the iOS bots and the official builders. |
| 79 group("All") { | 77 group("All") { |
| 80 testonly = true | 78 testonly = true |
| 81 | 79 |
| 82 deps = [ | 80 deps = [ |
| 83 ":gn_all", | 81 ":gn_all", |
| (...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 deps += [ "//chrome:linux_symbols" ] | 884 deps += [ "//chrome:linux_symbols" ] |
| 887 } | 885 } |
| 888 | 886 |
| 889 if (!is_chromeos) { | 887 if (!is_chromeos) { |
| 890 deps += [ "//tools/perf/clear_system_cache" ] | 888 deps += [ "//tools/perf/clear_system_cache" ] |
| 891 } | 889 } |
| 892 } | 890 } |
| 893 | 891 |
| 894 if (is_win) { | 892 if (is_win) { |
| 895 deps += [ | 893 deps += [ |
| 896 # "//gpu:angle_perftests", TODO(GYP): crbug.com/537008 | |
| 897 "//chrome/installer/mini_installer:mini_installer", | 894 "//chrome/installer/mini_installer:mini_installer", |
| 895 "//third_party/angle/src/tests:angle_perftests", |
| 898 ] | 896 ] |
| 899 } else { | 897 } else { |
| 900 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] | 898 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] |
| 901 } | 899 } |
| 902 } | 900 } |
| 903 } | 901 } |
| 904 | 902 |
| 905 # For compatibility with GYP. The linux_chromium_chromeos_rel_ng and | 903 # For compatibility with GYP. The linux_chromium_chromeos_rel_ng and |
| 906 # linux_chromium_chromeos_compile_rel_ng bots reference this target as | 904 # linux_chromium_chromeos_compile_rel_ng bots reference this target as |
| 907 # something to build, but all targets for those bots to compile are set | 905 # something to build, but all targets for those bots to compile are set |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 assert(target_name != "") # Mark as used. | 945 assert(target_name != "") # Mark as used. |
| 948 sources = invoker.actual_sources | 946 sources = invoker.actual_sources |
| 949 assert( | 947 assert( |
| 950 sources == invoker.actual_sources, | 948 sources == invoker.actual_sources, |
| 951 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 949 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 952 } | 950 } |
| 953 | 951 |
| 954 assert_valid_out_dir("_unused") { | 952 assert_valid_out_dir("_unused") { |
| 955 actual_sources = [ "$root_build_dir/foo" ] | 953 actual_sources = [ "$root_build_dir/foo" ] |
| 956 } | 954 } |
| OLD | NEW |