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

Unified Diff: device/power_monitor/public/cpp/BUILD.gn

Issue 2460823002: Decouple Power Monitor from //content. (Closed)
Patch Set: code rebase Created 4 years, 1 month 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: device/power_monitor/public/cpp/BUILD.gn
diff --git a/device/power_monitor/public/cpp/BUILD.gn b/device/power_monitor/public/cpp/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3303541b7a1acb94ecee98c1d298b762d8774624
--- /dev/null
+++ b/device/power_monitor/public/cpp/BUILD.gn
@@ -0,0 +1,25 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/features.gni")
+
+source_set("cpp") {
+ sources = [
+ "//device/power_monitor/power_monitor_export.h",
+ "power_monitor_broadcast_source.cc",
+ "power_monitor_broadcast_source.h",
+ ]
+
+ defines = [ "DEVICE_POWER_MONITOR_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ "//mojo/public/cpp/bindings",
+ "//services/service_manager/public/cpp",
+ ]
+
+ public_deps = [
+ "//device/power_monitor/public/interfaces",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698