# 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")

component("power_monitor") {
  sources = [
    "power_monitor_export.h",
    "power_monitor_message_broadcaster.cc",
    "power_monitor_message_broadcaster.h",
  ]

  defines = [ "DEVICE_POWER_MONITOR_IMPLEMENTATION" ]

  deps = [
    "//base",
    "//mojo/public/cpp/bindings",
  ]

  public_deps = [
    "//device/power_monitor/public/interfaces",
  ]
}
