| OLD | NEW |
| 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/zip.gni") | 7 import("//build/config/zip.gni") |
| 7 import("//third_party/ijar/ijar.gni") | 8 import("//third_party/ijar/ijar.gni") |
| 8 | 9 |
| 9 assert(is_android) | 10 assert(is_android) |
| 10 | 11 |
| 11 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) | 12 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) |
| 12 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) | 13 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) |
| 13 rebased_android_sdk_build_tools = | 14 rebased_android_sdk_build_tools = |
| 14 rebase_path(android_sdk_build_tools, root_build_dir) | 15 rebase_path(android_sdk_build_tools, root_build_dir) |
| 15 | 16 |
| (...skipping 1948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1964 if (defined(invoker.incremental_install) && invoker.incremental_install) { | 1965 if (defined(invoker.incremental_install) && invoker.incremental_install) { |
| 1965 test_runner_args += [ "--incremental-install" ] | 1966 test_runner_args += [ "--incremental-install" ] |
| 1966 | 1967 |
| 1967 # These can still be overridden, but make more better defaults during | 1968 # These can still be overridden, but make more better defaults during |
| 1968 # development. | 1969 # development. |
| 1969 test_runner_args += [ | 1970 test_runner_args += [ |
| 1970 "--enable-device-cache", | 1971 "--enable-device-cache", |
| 1971 "--num_retries=0", | 1972 "--num_retries=0", |
| 1972 ] | 1973 ] |
| 1973 } | 1974 } |
| 1975 if (is_asan) { |
| 1976 test_runner_args += [ "--tool=asan" ] |
| 1977 } |
| 1974 | 1978 |
| 1975 generated_script = "$root_build_dir/bin/run_${_test_name}" | 1979 generated_script = "$root_build_dir/bin/run_${_test_name}" |
| 1976 outputs = [ | 1980 outputs = [ |
| 1977 depfile, | 1981 depfile, |
| 1978 generated_script, | 1982 generated_script, |
| 1979 ] | 1983 ] |
| 1980 args = [ | 1984 args = [ |
| 1981 "--depfile", | 1985 "--depfile", |
| 1982 rebase_path(depfile, root_build_dir), | 1986 rebase_path(depfile, root_build_dir), |
| 1983 "--script-output-path", | 1987 "--script-output-path", |
| 1984 rebase_path(generated_script, root_build_dir), | 1988 rebase_path(generated_script, root_build_dir), |
| 1985 ] | 1989 ] |
| 1986 args += test_runner_args | 1990 args += test_runner_args |
| 1987 } | 1991 } |
| 1988 } | 1992 } |
| OLD | NEW |