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

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

Issue 686773004: Fixes the device/battery GN buildfile for ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | 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 component("battery") { 8 component("battery") {
9 output_name = "device_battery" 9 output_name = "device_battery"
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 ] 57 ]
58 deps += [ 58 deps += [
59 "//chromeos:power_manager_proto", 59 "//chromeos:power_manager_proto",
60 ] 60 ]
61 sources -= [ 61 sources -= [
62 "battery_status_manager_default.cc", 62 "battery_status_manager_default.cc",
63 "battery_status_manager_linux.cc", 63 "battery_status_manager_linux.cc",
64 ] 64 ]
65 } 65 }
66 66
67 if (is_linux) { 67 if (is_desktop_linux) {
timvolodine 2014/10/29 18:49:49 what happens if it's a linux laptop? it should wor
68 if (use_dbus) { 68 if (use_dbus) {
69 configs += [ 69 configs += [
70 "//build/config/linux:dbus", 70 "//build/config/linux:dbus",
71 ] 71 ]
72 deps += [ 72 deps += [
73 "//dbus" 73 "//dbus"
74 ] 74 ]
75 sources -= [ 75 sources -= [
76 "battery_status_manager_default.cc", 76 "battery_status_manager_default.cc",
77 ] 77 ]
(...skipping 16 matching lines...) Expand all
94 ] 94 ]
95 } 95 }
96 } 96 }
97 97
98 mojom("mojo_bindings") { 98 mojom("mojo_bindings") {
99 sources = [ 99 sources = [
100 "battery_monitor.mojom", 100 "battery_monitor.mojom",
101 "battery_status.mojom", 101 "battery_status.mojom",
102 ] 102 ]
103 } 103 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698