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

Side by Side Diff: device/power_monitor/BUILD.gn

Issue 2460823002: Decouple Power Monitor from //content. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/features.gni")
6
7 component("power_monitor_broadcast_source") {
blundell 2016/10/28 21:33:51 This is the client-side code of power monitor, so
ke.he 2016/10/29 11:10:53 Done.
8 sources = [
9 "power_monitor_broadcast_source.cc",
10 "power_monitor_broadcast_source.h",
11 "power_monitor_export.h",
12 ]
13
14 defines = [ "DEVICE_POWER_MONITOR_IMPLEMENTATION" ]
15
16 deps = [
17 "//base",
18 "//mojo/public/cpp/bindings",
19 ]
20
21 public_deps = [
22 "//device/power_monitor/public/interfaces",
23 ]
24 }
25
26 component("power_monitor_message_broadcaster") {
blundell 2016/10/28 21:33:51 this is the implementation of power_monitor, so it
ke.he 2016/10/29 11:10:53 Done.
27 sources = [
28 "power_monitor_export.h",
29 "power_monitor_message_broadcaster.cc",
30 "power_monitor_message_broadcaster.h",
31 ]
32
33 defines = [ "DEVICE_POWER_MONITOR_IMPLEMENTATION" ]
34
35 deps = [
36 "//base",
37 "//mojo/public/cpp/bindings",
38 ]
39
40 public_deps = [
41 "//device/power_monitor/public/interfaces",
42 ]
43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698