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

Unified Diff: device/battery/BUILD.gn

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dbus/BUILD.gn ('k') | device/hid/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/battery/BUILD.gn
diff --git a/device/battery/BUILD.gn b/device/battery/BUILD.gn
index 4921e9d6a3013a31bd0a17409ac2803300044bad..5a633743335bb73c2648ecc055f6849ee7898659 100644
--- a/device/battery/BUILD.gn
+++ b/device/battery/BUILD.gn
@@ -25,9 +25,7 @@ component("battery") {
"battery_status_service.h",
]
- defines = [
- "DEVICE_BATTERY_IMPLEMENTATION",
- ]
+ defines = [ "DEVICE_BATTERY_IMPLEMENTATION" ]
deps = [
":mojo_bindings",
@@ -39,25 +37,17 @@ component("battery") {
]
if (is_android) {
- deps += [
- "//device/battery/android:battery_jni_headers",
- ]
+ deps += [ "//device/battery/android:battery_jni_headers" ]
sources += [
"android/battery_jni_registrar.h",
"android/battery_jni_registrar.cc",
]
- sources -= [
- "battery_status_manager_default.cc",
- ]
+ sources -= [ "battery_status_manager_default.cc" ]
}
if (is_chromeos) {
- configs += [
- "//build/config/linux:dbus",
- ]
- deps += [
- "//chromeos:power_manager_proto",
- ]
+ configs += [ "//build/config/linux:dbus" ]
+ deps += [ "//chromeos:power_manager_proto" ]
sources -= [
"battery_status_manager_default.cc",
"battery_status_manager_linux.cc",
@@ -66,32 +56,20 @@ component("battery") {
if (is_desktop_linux) {
if (use_dbus) {
- configs += [
- "//build/config/linux:dbus",
- ]
- deps += [
- "//dbus"
- ]
- sources -= [
- "battery_status_manager_default.cc",
- ]
+ configs += [ "//build/config/linux:dbus" ]
+ deps += [ "//dbus" ]
+ sources -= [ "battery_status_manager_default.cc" ]
} else {
- sources -= [
- "battery_status_manager_linux.cc",
- ]
+ sources -= [ "battery_status_manager_linux.cc" ]
}
}
if (is_mac) {
- sources -= [
- "battery_status_manager_default.cc",
- ]
+ sources -= [ "battery_status_manager_default.cc" ]
}
if (is_win) {
- sources -= [
- "battery_status_manager_default.cc",
- ]
+ sources -= [ "battery_status_manager_default.cc" ]
}
}
« no previous file with comments | « dbus/BUILD.gn ('k') | device/hid/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698