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

Unified Diff: chrome/test/BUILD.gn

Issue 1681263003: metrics: Add leak detector controller in Chrome OS metrics system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use new build flag generation system; Define var 'enable_leak_detector' locally Created 4 years, 10 months 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
Index: chrome/test/BUILD.gn
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index ea7f8c9cdb0aa6c538a75d4bb618fbb6e2941dfe..01987eb5bcc47da22a0c7d23692b669c7b24a11c 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -9,6 +9,7 @@ import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//chrome/chrome_tests.gni")
import("//chrome/test/base/js2gtest.gni")
+import("//components/metrics/leak_detector/leak_detector.gni")
import("//testing/test.gni")
if (is_android) {
@@ -1878,6 +1879,9 @@ test("unit_tests") {
]
sources -= [ "../browser/signin/signin_manager_unittest.cc" ]
}
+ if (is_chromeos && enable_leak_detector) {
+ sources += [ "../browser/metrics/leak_detector_controller_unittest.cc" ]
+ }
if (use_x11) {
deps += [ "//ui/events/devices" ]
data_deps += [ "//tools/xdisplaycheck" ]

Powered by Google App Engine
This is Rietveld 408576698