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

Side by Side Diff: build/config/android/internal_rules.gni

Issue 2851523002: [android] Write a runner script to the top-level output dir for gtests. (Closed)
Patch Set: trivial rebase Created 3 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 | testing/test.gni » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # Do not add any imports to non-//build directories here. 5 # Do not add any imports to non-//build directories here.
6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in.
7 import("//build_overrides/build.gni") 7 import("//build_overrides/build.gni")
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/dcheck_always_on.gni") 9 import("//build/config/dcheck_always_on.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 "--apk-under-test-incremental-install-script", 608 "--apk-under-test-incremental-install-script",
609 "@FileArg($_rebased_apk_under_test_build_config:deps_info:incremental_ install_script_path)", 609 "@FileArg($_rebased_apk_under_test_build_config:deps_info:incremental_ install_script_path)",
610 ] 610 ]
611 } 611 }
612 test_runner_args += [ "--fast-local-dev" ] 612 test_runner_args += [ "--fast-local-dev" ]
613 } 613 }
614 if (_device_test && is_asan) { 614 if (_device_test && is_asan) {
615 test_runner_args += [ "--tool=asan" ] 615 test_runner_args += [ "--tool=asan" ]
616 } 616 }
617 617
618 generated_script = "$root_build_dir/bin/run_${_test_name}" 618 if (defined(invoker.generated_script)) {
619 assert(_test_name != "" || true) # Mark _test_name as used.
620 generated_script = invoker.generated_script
621 } else {
622 generated_script = "$root_build_dir/bin/run_${_test_name}"
623 }
619 outputs = [ 624 outputs = [
620 generated_script, 625 generated_script,
621 ] 626 ]
622 data += [ generated_script ] 627 data += [ generated_script ]
623 628
624 args = [ 629 args = [
625 "--depfile", 630 "--depfile",
626 rebase_path(depfile, root_build_dir), 631 rebase_path(depfile, root_build_dir),
627 "--script-output-path", 632 "--script-output-path",
628 rebase_path(generated_script, root_build_dir), 633 rebase_path(generated_script, root_build_dir),
(...skipping 2218 matching lines...) Expand 10 before | Expand all | Expand 10 after
2847 rebase_path(root_build_dir, root_build_dir), 2852 rebase_path(root_build_dir, root_build_dir),
2848 "--packed-libraries-dir", 2853 "--packed-libraries-dir",
2849 rebase_path(_packed_libraries_dir, root_build_dir), 2854 rebase_path(_packed_libraries_dir, root_build_dir),
2850 "--libraries=${invoker.libraries_filearg}", 2855 "--libraries=${invoker.libraries_filearg}",
2851 "--filelistjson", 2856 "--filelistjson",
2852 rebase_path(invoker.file_list_json, root_build_dir), 2857 rebase_path(invoker.file_list_json, root_build_dir),
2853 ] 2858 ]
2854 } 2859 }
2855 } 2860 }
2856 } 2861 }
OLDNEW
« no previous file with comments | « no previous file | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698