Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1110)

Unified Diff: webrtc/test/BUILD.gn

Issue 2510033004: Add rtc_use_memcheck flag, update MB and GN to handle it, and add gni files listing the runtime deps (Closed)
Patch Set: Fixed android and added unittest. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/build/webrtc.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/build/webrtc.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698