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

Unified Diff: services/device/BUILD.gn

Issue 2678373003: [DeviceService] Move PowerMonitor interfaces, client lib, impl to live in Device Service (Closed)
Patch Set: Created 3 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
« no previous file with comments | « services/BUILD.gn ('k') | services/device/device_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/device/BUILD.gn
diff --git a/services/device/BUILD.gn b/services/device/BUILD.gn
index c3273655e92a9a79d2d90caabb04870aa30cb939..44681f244b74cc5bed41d9602eea817b838944f0 100644
--- a/services/device/BUILD.gn
+++ b/services/device/BUILD.gn
@@ -13,8 +13,8 @@ source_set("lib") {
deps = [
"//base",
- "//device/power_monitor",
"//device/time_zone_monitor",
+ "//services/device/power_monitor",
"//services/service_manager/public/cpp",
]
@@ -26,6 +26,24 @@ source_set("lib") {
]
}
+source_set("tests") {
+ testonly = true
+
+ sources = [
+ "power_monitor/power_monitor_message_broadcaster_unittest.cc",
+ "public/cpp/power_monitor/power_monitor_broadcast_source_unittest.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//base/test:test_support",
+ "//mojo/public/cpp/bindings",
+ "//services/device/power_monitor",
+ "//services/device/public/cpp/power_monitor",
+ "//testing/gtest",
+ ]
+}
+
service_manifest("manifest") {
name = "device"
source = "manifest.json"
« no previous file with comments | « services/BUILD.gn ('k') | services/device/device_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698