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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 if (use_udev) { | 105 if (use_udev) { |
106 sources += [ "udev_linux/udev_unittest.cc" ] | 106 sources += [ "udev_linux/udev_unittest.cc" ] |
107 deps += [ "//device/udev_linux" ] | 107 deps += [ "//device/udev_linux" ] |
108 } | 108 } |
109 | 109 |
110 # USB does not compile on mobile platforms. | 110 # USB does not compile on mobile platforms. |
111 if (!is_android && !is_ios) { | 111 if (!is_android && !is_ios) { |
112 sources += [ | 112 sources += [ |
113 "devices_app/usb/device_impl_unittest.cc", | 113 "devices_app/usb/device_impl_unittest.cc", |
114 "devices_app/usb/device_manager_impl_unittest.cc", | 114 "devices_app/usb/device_manager_impl_unittest.cc", |
| 115 "devices_app/usb/fake_permission_provider.cc", |
| 116 "devices_app/usb/fake_permission_provider.h", |
115 "test/test_device_client.cc", | 117 "test/test_device_client.cc", |
116 "test/test_device_client.h", | 118 "test/test_device_client.h", |
117 "test/usb_test_gadget_impl.cc", | 119 "test/usb_test_gadget_impl.cc", |
118 "usb/usb_context_unittest.cc", | 120 "usb/usb_context_unittest.cc", |
119 "usb/usb_descriptors_unittest.cc", | 121 "usb/usb_descriptors_unittest.cc", |
120 "usb/usb_device_filter_unittest.cc", | 122 "usb/usb_device_filter_unittest.cc", |
121 "usb/usb_device_handle_unittest.cc", | 123 "usb/usb_device_handle_unittest.cc", |
122 "usb/usb_ids_unittest.cc", | 124 "usb/usb_ids_unittest.cc", |
123 "usb/usb_service_unittest.cc", | 125 "usb/usb_service_unittest.cc", |
124 "usb/webusb_descriptors_unittest.cc", | 126 "usb/webusb_descriptors_unittest.cc", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 } | 181 } |
180 | 182 |
181 android_library("bluetooth_test_java") { | 183 android_library("bluetooth_test_java") { |
182 java_files = bluetooth_java_sources_needing_jni | 184 java_files = bluetooth_java_sources_needing_jni |
183 deps = [ | 185 deps = [ |
184 "//base:base_java", | 186 "//base:base_java", |
185 "//device/bluetooth:java", | 187 "//device/bluetooth:java", |
186 ] | 188 ] |
187 } | 189 } |
188 } | 190 } |
OLD | NEW |