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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 } | 111 } |
112 | 112 |
113 # The "both_gn_and_gyp" target should reflect every target that is built | 113 # The "both_gn_and_gyp" target should reflect every target that is built |
114 # in both the GN and GYP builds, and ideally it should match the | 114 # in both the GN and GYP builds, and ideally it should match the |
115 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. | 115 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. |
116 group("both_gn_and_gyp") { | 116 group("both_gn_and_gyp") { |
117 testonly = true | 117 testonly = true |
118 deps = [ | 118 deps = [ |
119 "//base:base_unittests", | 119 "//base:base_unittests", |
120 "//chrome/installer", | 120 "//chrome/installer", |
121 "//chrome/test:telemetry_perf_unittests", | |
121 "//components:components_unittests", | 122 "//components:components_unittests", |
122 "//net:net_unittests", | 123 "//net:net_unittests", |
123 "//skia:skia_unittests", | 124 "//skia:skia_unittests", |
124 "//sql:sql_unittests", | 125 "//sql:sql_unittests", |
125 "//sync:sync_unit_tests", | 126 "//sync:sync_unit_tests", |
126 "//tools/ipc_fuzzer:ipc_fuzzer_all", | 127 "//tools/ipc_fuzzer:ipc_fuzzer_all", |
127 "//ui/base:ui_base_unittests", | 128 "//ui/base:ui_base_unittests", |
128 "//ui/gfx:gfx_unittests", | 129 "//ui/gfx:gfx_unittests", |
129 "//url:url_unittests", | 130 "//url:url_unittests", |
130 ] | 131 ] |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
193 "//tools/perf/clear_system_cache", | 194 "//tools/perf/clear_system_cache", |
194 "//ui/accessibility:accessibility_unittests", | 195 "//ui/accessibility:accessibility_unittests", |
195 ] | 196 ] |
196 } | 197 } |
197 | 198 |
198 if (!is_ios) { | 199 if (!is_ios) { |
199 # TODO(GYP): Figure out which of these should actually build on iOS, | 200 # TODO(GYP): Figure out which of these should actually build on iOS, |
200 # and whether there should be other targets that are iOS-only and missing. | 201 # and whether there should be other targets that are iOS-only and missing. |
201 deps += [ | 202 deps += [ |
202 "//cc:cc_unittests", | 203 "//cc:cc_unittests", |
203 "//chrome/test:unit_tests", | 204 "//chrome/test:unit_tests", |
Nico
2016/06/01 17:25:49
does that target work on ios? if not, it needs to
ghost stip (do not use)
2016/06/01 17:29:50
AFAIK it doesn't. done.
| |
204 "//components:components_browsertests", | 205 "//components:components_browsertests", |
205 "//content/shell:content_shell", | 206 "//content/shell:content_shell", |
206 "//content/test:content_browsertests", | 207 "//content/test:content_browsertests", |
207 "//content/test:content_perftests", | 208 "//content/test:content_perftests", |
208 "//content/test:content_unittests", | 209 "//content/test:content_unittests", |
209 "//device:device_unittests", | 210 "//device:device_unittests", |
210 "//gpu:gpu_unittests", | 211 "//gpu:gpu_unittests", |
211 "//gpu/ipc/service:gpu_ipc_service_unittests", | 212 "//gpu/ipc/service:gpu_ipc_service_unittests", |
212 "//ipc:ipc_tests", | 213 "//ipc:ipc_tests", |
213 "//ipc/mojo:ipc_mojo_unittests", | 214 "//ipc/mojo:ipc_mojo_unittests", |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
961 assert(target_name != "") # Mark as used. | 962 assert(target_name != "") # Mark as used. |
962 sources = invoker.actual_sources | 963 sources = invoker.actual_sources |
963 assert( | 964 assert( |
964 sources == invoker.actual_sources, | 965 sources == invoker.actual_sources, |
965 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 966 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
966 } | 967 } |
967 | 968 |
968 assert_valid_out_dir("_unused") { | 969 assert_valid_out_dir("_unused") { |
969 actual_sources = [ "$root_build_dir/foo" ] | 970 actual_sources = [ "$root_build_dir/foo" ] |
970 } | 971 } |
OLD | NEW |