Index: build/config/android/internal_rules.gni |
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni |
index 3d91676e9f4b641d9c182ef1c0d9e88dc406a615..94d309ff0555185b2b49a6a1aa8128c6ee6e7338 100644 |
--- a/build/config/android/internal_rules.gni |
+++ b/build/config/android/internal_rules.gni |
@@ -3,6 +3,7 @@ |
# found in the LICENSE file. |
import("//build/config/android/config.gni") |
+import("//build/config/sanitizers/sanitizers.gni") |
import("//build/config/zip.gni") |
import("//third_party/ijar/ijar.gni") |
@@ -1971,6 +1972,9 @@ template("test_runner_script") { |
"--num_retries=0", |
] |
} |
+ if (is_asan) { |
+ test_runner_args += [ "--tool=asan" ] |
+ } |
generated_script = "$root_build_dir/bin/run_${_test_name}" |
outputs = [ |