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

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

Issue 1570043004: Adds --skip-clear-data flag to android's test_runner.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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
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 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after
2044 } 2044 }
2045 if (defined(invoker.incremental_install) && invoker.incremental_install) { 2045 if (defined(invoker.incremental_install) && invoker.incremental_install) {
2046 test_runner_args += [ "--incremental-install" ] 2046 test_runner_args += [ "--incremental-install" ]
2047 2047
2048 # These can still be overridden, but make more better defaults during 2048 # These can still be overridden, but make more better defaults during
2049 # development. 2049 # development.
2050 test_runner_args += [ 2050 test_runner_args += [
2051 "--enable-device-cache", 2051 "--enable-device-cache",
2052 "--extract-test-list-from-filter", 2052 "--extract-test-list-from-filter",
2053 "--num_retries=0", 2053 "--num_retries=0",
2054 "--skip-clear-data", # Clearing wipes optimized dex files.
2054 ] 2055 ]
2055 } 2056 }
2056 if (is_asan) { 2057 if (is_asan) {
2057 test_runner_args += [ "--tool=asan" ] 2058 test_runner_args += [ "--tool=asan" ]
2058 } 2059 }
2059 2060
2060 generated_script = "$root_build_dir/bin/run_${_test_name}" 2061 generated_script = "$root_build_dir/bin/run_${_test_name}"
2061 outputs = [ 2062 outputs = [
2062 depfile, 2063 depfile,
2063 generated_script, 2064 generated_script,
2064 ] 2065 ]
2065 args = [ 2066 args = [
2066 "--depfile", 2067 "--depfile",
2067 rebase_path(depfile, root_build_dir), 2068 rebase_path(depfile, root_build_dir),
2068 "--script-output-path", 2069 "--script-output-path",
2069 rebase_path(generated_script, root_build_dir), 2070 rebase_path(generated_script, root_build_dir),
2070 ] 2071 ]
2071 args += test_runner_args 2072 args += test_runner_args
2072 } 2073 }
2073 } 2074 }
OLDNEW
« build/android/pylib/local/device/local_device_gtest_run.py ('K') | « build/android/test_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698