Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: testing/test.gni

Issue 2569333002: Address some TODO(GYP_GONE)s (Closed)
Patch Set: reland Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/buildbot/client.v8.fyi.json ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # ============================================================================== 5 # ==============================================================================
6 # TEST SETUP 6 # TEST SETUP
7 # ============================================================================== 7 # ==============================================================================
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 testonly = true 276 testonly = true
277 deps += [ 277 deps += [
278 # All shared libraries must have the sanitizer deps to properly link in 278 # All shared libraries must have the sanitizer deps to properly link in
279 # asan mode (this target will be empty in other cases). 279 # asan mode (this target will be empty in other cases).
280 "//build/config/sanitizers:deps", 280 "//build/config/sanitizers:deps",
281 281
282 # Give tests the default manifest on Windows (a no-op elsewhere). 282 # Give tests the default manifest on Windows (a no-op elsewhere).
283 "//build/win:default_exe_manifest", 283 "//build/win:default_exe_manifest",
284 ] 284 ]
285 } 285 }
286
287 # TODO(GYP_GONE): Delete this after we've converted everything to GN.
288 # The _run targets exist only for compatibility with GYP.
289 group("${target_name}_run") {
290 testonly = true
291 deps = [
292 ":${invoker.target_name}",
293 ]
294 }
295
296 if (defined(invoker.output_name) && target_name != invoker.output_name) {
297 group("${invoker.output_name}_run") {
298 testonly = true
299 deps = [
300 ":${invoker.target_name}",
301 ]
302 }
303 }
304 } 286 }
305 } 287 }
306 288
307 # Test defaults. 289 # Test defaults.
308 set_defaults("test") { 290 set_defaults("test") {
309 if (is_android) { 291 if (is_android) {
310 configs = default_shared_library_configs 292 configs = default_shared_library_configs
311 } else { 293 } else {
312 configs = default_executable_configs 294 configs = default_executable_configs
313 } 295 }
314 } 296 }
OLDNEW
« no previous file with comments | « testing/buildbot/client.v8.fyi.json ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698