Index: webrtc/test/BUILD.gn |
diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn |
index 126857b50c6612dedf72a52bbe9f7ad5a3eff30e..c7c6458008d08abaf605bb1988f52bbbb0f20d37 100644 |
--- a/webrtc/test/BUILD.gn |
+++ b/webrtc/test/BUILD.gn |
@@ -11,6 +11,9 @@ import("//build/config/ui.gni") |
if (is_android) { |
import("//build/config/android/rules.gni") |
} |
+if (rtc_use_memcheck) { |
+ import("//tools/valgrind-webrtc/valgrind-webrtc.gni") |
+} |
group("test") { |
testonly = true |
@@ -151,6 +154,10 @@ rtc_source_set("test_support") { |
if (is_android) { |
deps += [ "//base:base" ] |
} |
+ |
+ if (rtc_use_memcheck) { |
+ data = valgrind_webrtc_dependencies |
+ } |
} |
# Depend on this target when you want to have test_support but also the |