diff options
author | leon.han <leon.han@intel.com> | 2015-09-02 00:12:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-02 07:12:31 +0000 |
commit | 4e5d810cb0cfeccb530119d80b07d34c098eafc2 (patch) | |
tree | 0368c4c8749418eb310e1daac69d5ecb2b47fa2f /device/BUILD.gn | |
parent | 81ef4ddf8497da864d4b6af0268f02bba04b4ca7 (diff) | |
download | chromium_src-4e5d810cb0cfeccb530119d80b07d34c098eafc2.zip chromium_src-4e5d810cb0cfeccb530119d80b07d34c098eafc2.tar.gz chromium_src-4e5d810cb0cfeccb530119d80b07d34c098eafc2.tar.bz2 |
Exclude BatteryMonitor C++ impl files from Android build.
As BatteryMonitor mojo interface is implemented with Java
directly on Android, should exclude its C++ implementation.
Further, exclude BatteryStatusService and PowerUsageMonitor
as well, which are not needed for Android build.
BUG=
Review URL: https://codereview.chromium.org/1286853003
Cr-Commit-Position: refs/heads/master@{#346860}
Diffstat (limited to 'device/BUILD.gn')
-rw-r--r-- | device/BUILD.gn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/device/BUILD.gn b/device/BUILD.gn index f147303..8c5bf66f 100644 --- a/device/BUILD.gn +++ b/device/BUILD.gn @@ -135,6 +135,8 @@ test("device_unittests") { } if (is_android) { + sources -= [ "battery/battery_status_service_unittest.cc" ] + deps -= [ "//device/battery" ] deps += [ ":bluetooth_test_jni_headers" ] apk_deps = [ ":bluetooth_test_java" ] } |