| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/rules.gni") # For generate_jni(). | 9 import("//build/config/android/rules.gni") # For generate_jni(). |
| 10 } | 10 } |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 "//device/nfc", | 66 "//device/nfc", |
| 67 "//mojo/environment:chromium", | 67 "//mojo/environment:chromium", |
| 68 "//net", | 68 "//net", |
| 69 "//testing/gmock", | 69 "//testing/gmock", |
| 70 "//testing/gtest", | 70 "//testing/gtest", |
| 71 "//third_party/mojo/src/mojo/edk/system", | 71 "//third_party/mojo/src/mojo/edk/system", |
| 72 "//third_party/mojo/src/mojo/public/cpp/bindings", | 72 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 73 "//url", | 73 "//url", |
| 74 ] | 74 ] |
| 75 | 75 |
| 76 if (!is_linux_without_dbus && !is_chromeos) { | 76 if (!is_linux_without_dbus && !is_chromeos_ui) { |
| 77 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] | 77 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] |
| 78 } | 78 } |
| 79 | 79 |
| 80 # HID and Serial: | 80 # HID and Serial: |
| 81 # Android doesn't compile. | 81 # Android doesn't compile. |
| 82 # Linux, requires udev. | 82 # Linux, requires udev. |
| 83 if (!is_linux_without_udev && !is_android) { | 83 if (!is_linux_without_udev && !is_android) { |
| 84 sources += [ | 84 sources += [ |
| 85 "hid/hid_connection_unittest.cc", | 85 "hid/hid_connection_unittest.cc", |
| 86 "hid/hid_device_filter_unittest.cc", | 86 "hid/hid_device_filter_unittest.cc", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 "//device/usb:mocks", | 127 "//device/usb:mocks", |
| 128 "//third_party/libusb", | 128 "//third_party/libusb", |
| 129 ] | 129 ] |
| 130 } | 130 } |
| 131 | 131 |
| 132 if (is_android) { | 132 if (is_android) { |
| 133 deps += [ ":bluetooth_test_jni_headers" ] | 133 deps += [ ":bluetooth_test_jni_headers" ] |
| 134 apk_deps = [ ":bluetooth_test_java" ] | 134 apk_deps = [ ":bluetooth_test_java" ] |
| 135 } | 135 } |
| 136 | 136 |
| 137 if (is_chromeos) { | 137 if (is_chromeos_ui) { |
| 138 configs += [ "//build/config/linux:dbus" ] | 138 configs += [ "//build/config/linux:dbus" ] |
| 139 | 139 |
| 140 deps += [ | 140 deps += [ |
| 141 "//chromeos", | 141 "//chromeos", |
| 142 "//chromeos:test_support", | 142 "//chromeos:test_support", |
| 143 "//chromeos:test_support_without_gmock", | 143 "//chromeos:test_support_without_gmock", |
| 144 "//dbus", | 144 "//dbus", |
| 145 ] | 145 ] |
| 146 } | 146 } |
| 147 | 147 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 173 } | 173 } |
| 174 | 174 |
| 175 android_library("bluetooth_test_java") { | 175 android_library("bluetooth_test_java") { |
| 176 java_files = bluetooth_java_sources_needing_jni | 176 java_files = bluetooth_java_sources_needing_jni |
| 177 deps = [ | 177 deps = [ |
| 178 "//base:base_java", | 178 "//base:base_java", |
| 179 "//device/bluetooth:java", | 179 "//device/bluetooth:java", |
| 180 ] | 180 ] |
| 181 } | 181 } |
| 182 } | 182 } |
| OLD | NEW |