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

Unified Diff: build/config/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: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 9a3a6b7452a50f09e826f4eba07f96d59115ffde..e65d0fef27f2fc1ba761fc1d532cd3d2c1377dc2 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -277,6 +277,9 @@ config("feature_flags") {
if (!fieldtrial_testing_like_official_build && !is_chrome_branded) {
defines += [ "FIELDTRIAL_TESTING_ENABLED" ]
}
+ if (enable_leak_detector && is_chromeos) {
+ defines += [ "ENABLE_LEAK_DETECTOR=1" ]
+ }
}
# Debug/release ----------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698