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

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

Issue 1576473002: Android gtest runner: Only query device for test list when necessary (take 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: indentation fix Created 4 years, 10 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 | « build/android/test_runner.py ('k') | 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 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/zip.gni") 7 import("//build/config/zip.gni")
8 import("//third_party/ijar/ijar.gni") 8 import("//third_party/ijar/ijar.gni")
9 9
10 assert(is_android) 10 assert(is_android)
(...skipping 2064 matching lines...) Expand 10 before | Expand all | Expand 10 after
2075 rebase_path(invoker.isolate_file, root_build_dir), 2075 rebase_path(invoker.isolate_file, root_build_dir),
2076 ] 2076 ]
2077 } 2077 }
2078 if (defined(invoker.incremental_install) && invoker.incremental_install) { 2078 if (defined(invoker.incremental_install) && invoker.incremental_install) {
2079 test_runner_args += [ "--incremental-install" ] 2079 test_runner_args += [ "--incremental-install" ]
2080 2080
2081 # These can still be overridden, but make more better defaults during 2081 # These can still be overridden, but make more better defaults during
2082 # development. 2082 # development.
2083 test_runner_args += [ 2083 test_runner_args += [
2084 "--enable-device-cache", 2084 "--enable-device-cache",
2085 "--extract-test-list-from-filter",
2085 "--num_retries=0", 2086 "--num_retries=0",
2086 ] 2087 ]
2087 } 2088 }
2088 if (is_asan) { 2089 if (is_asan) {
2089 test_runner_args += [ "--tool=asan" ] 2090 test_runner_args += [ "--tool=asan" ]
2090 } 2091 }
2091 2092
2092 generated_script = "$root_build_dir/bin/run_${_test_name}" 2093 generated_script = "$root_build_dir/bin/run_${_test_name}"
2093 outputs = [ 2094 outputs = [
2094 depfile, 2095 depfile,
2095 generated_script, 2096 generated_script,
2096 ] 2097 ]
2097 args = [ 2098 args = [
2098 "--depfile", 2099 "--depfile",
2099 rebase_path(depfile, root_build_dir), 2100 rebase_path(depfile, root_build_dir),
2100 "--script-output-path", 2101 "--script-output-path",
2101 rebase_path(generated_script, root_build_dir), 2102 rebase_path(generated_script, root_build_dir),
2102 ] 2103 ]
2103 args += test_runner_args 2104 args += test_runner_args
2104 } 2105 }
2105 } 2106 }
OLDNEW
« no previous file with comments | « build/android/test_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698