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

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: Properly implement gn build 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..01aaf8c3eb3dabd281e369c9f87675e1162bb77b 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/allocator.gni")
import("//build/config/chrome_build.gni")
import("//build/config/compiler/compiler.gni")
import("//build/config/crypto.gni")
@@ -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