summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/test.gni11
1 files changed, 2 insertions, 9 deletions
diff --git a/testing/test.gni b/testing/test.gni
index eeda272430..3b9eddc4ee 100644
--- a/testing/test.gni
+++ b/testing/test.gni
@@ -15,7 +15,6 @@ template("test") {
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
- import("//build/config/sanitizers/sanitizers.gni")
_use_raw_android_executable = defined(invoker.use_raw_android_executable) &&
invoker.use_raw_android_executable
@@ -231,11 +230,7 @@ template("test") {
if (!defined(deps)) {
deps = []
}
- deps += [
- # All shared libraries must have the sanitizer deps to properly link in
- # asan mode (this target will be empty in other cases).
- "//build/config/sanitizers:deps",
- ]
+ deps += [ "//build/config:exe_and_shlib_deps" ]
if (!defined(bundle_deps)) {
bundle_deps = []
}
@@ -248,9 +243,7 @@ template("test") {
testonly = true
deps += [
- # All shared libraries must have the sanitizer deps to properly link in
- # asan mode (this target will be empty in other cases).
- "//build/config/sanitizers:deps",
+ "//build/config:exe_and_shlib_deps",
# Give tests the default manifest on Windows (a no-op elsewhere).
"//build/win:default_exe_manifest",