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

Unified Diff: device/BUILD.gn

Issue 2818673003: [DeviceService] Expose battery monitoring solely via the Device Service (Closed)
Patch Set: Java file format change Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | device/battery/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/BUILD.gn
diff --git a/device/BUILD.gn b/device/BUILD.gn
index 1df91d79d98dcbb434148e33b1f1857eb6ea7d2b..602b61e963b71a7760080fbfaedc6d96559d49dc 100644
--- a/device/BUILD.gn
+++ b/device/BUILD.gn
@@ -20,8 +20,6 @@ is_linux_without_udev = is_linux && !use_udev
test("device_unittests") {
sources = [
"base/synchronization/one_writer_seqlock_unittest.cc",
- "battery/battery_status_manager_win_unittest.cc",
- "battery/battery_status_service_unittest.cc",
"bluetooth/bluetooth_adapter_mac_unittest.mm",
"bluetooth/bluetooth_adapter_unittest.cc",
"bluetooth/bluetooth_adapter_win_unittest.cc",
@@ -81,8 +79,6 @@ test("device_unittests") {
"//base/test:test_support",
"//base/third_party/dynamic_annotations:dynamic_annotations",
"//device/base/synchronization",
- "//device/battery",
- "//device/battery:mojo_bindings",
"//device/bluetooth",
"//device/bluetooth:mocks",
"//device/bluetooth:mojo",
@@ -111,11 +107,6 @@ test("device_unittests") {
"//url",
]
- if (is_linux && !is_chromeos && use_dbus) {
- sources += [ "battery/battery_status_manager_linux_unittest.cc" ]
- deps += [ "//dbus:test_support" ]
- }
-
if (!is_linux_without_udev) {
sources +=
[ "generic_sensor/platform_sensor_and_provider_unittest_linux.cc" ]
@@ -191,7 +182,6 @@ test("device_unittests") {
}
if (is_android) {
- sources -= [ "battery/battery_status_service_unittest.cc" ]
deps += [
":bluetooth_test_java",
":bluetooth_test_jni_headers",
@@ -200,7 +190,6 @@ test("device_unittests") {
"//device/sensors:java",
"//device/usb:java",
]
- deps -= [ "//device/battery" ]
}
if (is_chromeos) {
« no previous file with comments | « chrome/test/BUILD.gn ('k') | device/battery/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698