| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 component("power_monitor") { | 7 source_set("power_monitor") { |
| 8 visibility = [ "//services/device:*" ] |
| 9 |
| 8 sources = [ | 10 sources = [ |
| 9 "power_monitor_export.h", | |
| 10 "power_monitor_message_broadcaster.cc", | 11 "power_monitor_message_broadcaster.cc", |
| 11 "power_monitor_message_broadcaster.h", | 12 "power_monitor_message_broadcaster.h", |
| 12 ] | 13 ] |
| 13 | 14 |
| 14 defines = [ "DEVICE_POWER_MONITOR_IMPLEMENTATION" ] | |
| 15 | |
| 16 deps = [ | 15 deps = [ |
| 17 "//base", | 16 "//base", |
| 18 "//mojo/public/cpp/bindings", | 17 "//mojo/public/cpp/bindings", |
| 19 ] | 18 ] |
| 20 | 19 |
| 21 public_deps = [ | 20 public_deps = [ |
| 22 "//device/power_monitor/public/interfaces", | 21 "//services/device/public/interfaces", |
| 23 ] | 22 ] |
| 24 } | 23 } |
| OLD | NEW |