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

Unified Diff: components/metrics/BUILD.gn

Issue 2064463002: Mojo interface/service for Leak Detector on remote process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment about unretained binding; Decompose protobufs into mojo structs Created 4 years, 6 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: components/metrics/BUILD.gn
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
index 7fc0934af87e331d8a95b3f0a6c0b9ac1b1528ea..af890f11b1fe9be0657d1d0d7cfc3789570c99c1 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
@@ -305,6 +307,14 @@ if (is_linux) {
}
if (is_chromeos) {
+ mojom("interfaces") {
+ sources = [
+ "leak_detector/leak_detector_remote.mojom",
+ ]
+ }
+}
+
+if (is_chromeos) {
Ilya Sherman 2016/06/17 22:18:20 nit: Please combine the two ChromeOS stanzas. Als
Simon Que 2016/06/18 04:17:53 Done.
source_set("leak_detector_unit_tests") {
testonly = true
sources = [

Powered by Google App Engine
This is Rietveld 408576698