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

Side by Side Diff: testing/test.gni

Issue 1921363002: 🐼 Regenerate .device.isolate when .runtime_deps changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | 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 template("_gen_isolate") { 9 template("_gen_isolate") {
10 testonly = true 10 testonly = true
11 _runtime_deps_file = "$target_gen_dir/$target_name.runtime_deps" 11 _runtime_deps_file = "$target_gen_dir/$target_name.runtime_deps"
12 group("${target_name}__write_deps") { 12 group("${target_name}__write_deps") {
13 forward_variables_from(invoker, 13 forward_variables_from(invoker,
14 [ 14 [
15 "data", 15 "data",
16 "data_deps", 16 "data_deps",
17 "deps", 17 "deps",
18 "public_deps", 18 "public_deps",
19 ]) 19 ])
20 write_runtime_deps = _runtime_deps_file 20 write_runtime_deps = _runtime_deps_file
21 } 21 }
22 22
23 action(target_name) { 23 action(target_name) {
24 script = "//testing/generate_isolate.py" 24 script = "//testing/generate_isolate.py"
25 inputs = [
26 _runtime_deps_file,
27 ]
25 outputs = [ 28 outputs = [
26 invoker.output, 29 invoker.output,
27 ] 30 ]
28 args = [ 31 args = [
29 "--output-directory=.", 32 "--output-directory=.",
30 "--out-file", 33 "--out-file",
31 rebase_path(invoker.output, root_build_dir), 34 rebase_path(invoker.output, root_build_dir),
32 "--runtime-deps-file", 35 "--runtime-deps-file",
33 rebase_path(_runtime_deps_file, root_build_dir), 36 rebase_path(_runtime_deps_file, root_build_dir),
34 ] 37 ]
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 # TODO(GYP): Delete this after we've converted everything to GN. 340 # TODO(GYP): Delete this after we've converted everything to GN.
338 # The _run targets exist only for compatibility with GYP. 341 # The _run targets exist only for compatibility with GYP.
339 group("${target_name}_run") { 342 group("${target_name}_run") {
340 testonly = true 343 testonly = true
341 deps = [ 344 deps = [
342 ":${invoker.target_name}", 345 ":${invoker.target_name}",
343 ] 346 ]
344 } 347 }
345 } 348 }
346 } 349 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698