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

Unified Diff: components/metrics/BUILD.gn

Issue 2018983004: Mojo interface for Leak Detector on remote process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix conditional mojom source module declaration Created 4 years, 7 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
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/leak_detector/leak_detector_remote.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/BUILD.gn
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
index 83469f2e151aba21c6277a4a5e7b91dae8863c17..585e3b433e2665846716fc86ad84bb6f9d64dab0 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//mojo/public/tools/bindings/mojom.gni")
+
declare_args() {
# Overrides os name in uma metrics log to "Blimp".
metrics_use_blimp = false
@@ -303,6 +305,14 @@ if (is_linux) {
}
if (is_chromeos) {
+ mojom("interfaces") {
+ sources = [
+ "leak_detector/leak_detector_remote.mojom",
+ ]
+ }
+}
+
+if (is_chromeos) {
source_set("leak_detector_unit_tests") {
testonly = true
sources = [
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/leak_detector/leak_detector_remote.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698