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

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

Issue 2066503002: Implement device::BatteryStatus support for UPower daemon 0.99.x (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement device::BatteryStatus support for UPower daemon 0.99.x (rebased) Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « device/BUILD.gn ('k') | device/battery/battery.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 # On android, BatteryManager mojo service is implemented directly in Java. 8 # On android, BatteryManager mojo service is implemented directly in Java.
9 if (!is_android) { 9 if (!is_android) {
10 component("battery") { 10 component("battery") {
11 output_name = "device_battery" 11 output_name = "device_battery"
12 12
13 sources = [ 13 sources = [
14 "battery_export.h", 14 "battery_export.h",
15 "battery_monitor_impl.cc", 15 "battery_monitor_impl.cc",
16 "battery_monitor_impl.h", 16 "battery_monitor_impl.h",
17 "battery_status_manager_chromeos.cc", 17 "battery_status_manager_chromeos.cc",
18 "battery_status_manager_default.cc", 18 "battery_status_manager_default.cc",
19 "battery_status_manager_linux-inl.h",
19 "battery_status_manager_linux.cc", 20 "battery_status_manager_linux.cc",
20 "battery_status_manager_linux.h", 21 "battery_status_manager_linux.h",
21 "battery_status_manager_mac.cc", 22 "battery_status_manager_mac.cc",
22 "battery_status_manager_win.cc", 23 "battery_status_manager_win.cc",
23 "battery_status_manager_win.h", 24 "battery_status_manager_win.h",
24 "battery_status_service.cc", 25 "battery_status_service.cc",
25 "battery_status_service.h", 26 "battery_status_service.h",
26 ] 27 ]
27 28
28 defines = [ "DEVICE_BATTERY_IMPLEMENTATION" ] 29 defines = [ "DEVICE_BATTERY_IMPLEMENTATION" ]
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 72 }
72 73
73 mojom("mojo_bindings") { 74 mojom("mojo_bindings") {
74 sources = [ 75 sources = [
75 "battery_monitor.mojom", 76 "battery_monitor.mojom",
76 "battery_status.mojom", 77 "battery_status.mojom",
77 ] 78 ]
78 79
79 use_new_wrapper_types = false 80 use_new_wrapper_types = false
80 } 81 }
OLDNEW
« no previous file with comments | « device/BUILD.gn ('k') | device/battery/battery.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698