Update more references to sanitizers:deps
[1] updated sanitizers:deps references to exe_and_shlib_deps.
However, this was only for *.gn files. I missed a *.gni file which is
changed in this CL.
[1] https://pdfium-review.googlesource.com/c/5670/
Bug=chromium:723069
R=thestig@chromium.org
Change-Id: Ib5e0c0a31f4227b89d067f9645c2c78945c1ab4f
Reviewed-on: https://pdfium-review.googlesource.com/5734
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/testing/test.gni b/testing/test.gni
index eeda272..3b9eddc 100644
--- a/testing/test.gni
+++ b/testing/test.gni
@@ -15,7 +15,6 @@
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 @@
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 @@
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",