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

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

Issue 2059983002: Remove unnecessary dependencies on mojo/edk/system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 6 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 | « content/test/BUILD.gn ('k') | device/usb/BUILD.gn » ('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") {
(...skipping 13 matching lines...) Expand all
24 "battery_status_service.cc", 24 "battery_status_service.cc",
25 "battery_status_service.h", 25 "battery_status_service.h",
26 ] 26 ]
27 27
28 defines = [ "DEVICE_BATTERY_IMPLEMENTATION" ] 28 defines = [ "DEVICE_BATTERY_IMPLEMENTATION" ]
29 29
30 deps = [ 30 deps = [
31 ":mojo_bindings", 31 ":mojo_bindings",
32 "//base", 32 "//base",
33 "//base/third_party/dynamic_annotations", 33 "//base/third_party/dynamic_annotations",
34 "//mojo/edk/system",
35 "//mojo/public/cpp/bindings", 34 "//mojo/public/cpp/bindings",
36 ] 35 ]
37 36
38 if (is_chromeos) { 37 if (is_chromeos) {
39 configs += [ "//build/config/linux/dbus" ] 38 configs += [ "//build/config/linux/dbus" ]
40 deps += [ 39 deps += [
41 "//chromeos:chromeos", 40 "//chromeos:chromeos",
42 "//chromeos:power_manager_proto", 41 "//chromeos:power_manager_proto",
43 ] 42 ]
44 sources -= [ 43 sources -= [
(...skipping 25 matching lines...) Expand all
70 } 69 }
71 } 70 }
72 } 71 }
73 72
74 mojom("mojo_bindings") { 73 mojom("mojo_bindings") {
75 sources = [ 74 sources = [
76 "battery_monitor.mojom", 75 "battery_monitor.mojom",
77 "battery_status.mojom", 76 "battery_status.mojom",
78 ] 77 ]
79 } 78 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | device/usb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698