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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 "bluetooth/test/mock_bluetooth_cbservice_mac.h", | 56 "bluetooth/test/mock_bluetooth_cbservice_mac.h", |
57 "bluetooth/test/mock_bluetooth_cbservice_mac.mm", | 57 "bluetooth/test/mock_bluetooth_cbservice_mac.mm", |
58 "bluetooth/test/mock_bluetooth_central_manager_mac.h", | 58 "bluetooth/test/mock_bluetooth_central_manager_mac.h", |
59 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", | 59 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", |
60 "bluetooth/test/test_bluetooth_adapter_observer.cc", | 60 "bluetooth/test/test_bluetooth_adapter_observer.cc", |
61 "bluetooth/test/test_bluetooth_adapter_observer.h", | 61 "bluetooth/test/test_bluetooth_adapter_observer.h", |
62 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", | 62 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
63 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", | 63 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
64 "gamepad/gamepad_provider_unittest.cc", | 64 "gamepad/gamepad_provider_unittest.cc", |
65 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", | 65 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", |
| 66 "generic_sensor/platform_sensor_and_provider_unittest_linux.cc", |
66 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", | 67 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", |
67 "generic_sensor/platform_sensor_provider_unittest.cc", | 68 "generic_sensor/platform_sensor_provider_unittest.cc", |
68 "power_monitor/power_monitor_message_broadcaster_unittest.cc", | 69 "power_monitor/power_monitor_message_broadcaster_unittest.cc", |
69 "power_monitor/public/cpp/power_monitor_broadcast_source_unittest.cc", | 70 "power_monitor/public/cpp/power_monitor_broadcast_source_unittest.cc", |
70 "test/run_all_unittests.cc", | 71 "test/run_all_unittests.cc", |
71 "wake_lock/wake_lock_service_context_unittest.cc", | 72 "wake_lock/wake_lock_service_context_unittest.cc", |
72 ] | 73 ] |
73 | 74 |
74 deps = [ | 75 deps = [ |
75 "//base/test:test_support", | 76 "//base/test:test_support", |
(...skipping 25 matching lines...) Expand all Loading... |
101 "//third_party/WebKit/public:blink_headers", | 102 "//third_party/WebKit/public:blink_headers", |
102 "//tools/usb_gadget", | 103 "//tools/usb_gadget", |
103 "//url", | 104 "//url", |
104 ] | 105 ] |
105 | 106 |
106 if (is_linux && !is_chromeos && use_dbus) { | 107 if (is_linux && !is_chromeos && use_dbus) { |
107 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] | 108 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] |
108 deps += [ "//dbus:test_support" ] | 109 deps += [ "//dbus:test_support" ] |
109 } | 110 } |
110 | 111 |
111 if (is_linux) { | |
112 sources += [ "generic_sensor/linux/sensor_reader_unittest.cc" ] | |
113 } | |
114 | |
115 # HID and Serial: | 112 # HID and Serial: |
116 # Android doesn't compile. | 113 # Android doesn't compile. |
117 # Linux, requires udev. | 114 # Linux, requires udev. |
118 if (!is_linux_without_udev && !is_android) { | 115 if (!is_linux_without_udev && !is_android) { |
119 sources += [ | 116 sources += [ |
120 "hid/hid_connection_unittest.cc", | 117 "hid/hid_connection_unittest.cc", |
121 "hid/hid_device_filter_unittest.cc", | 118 "hid/hid_device_filter_unittest.cc", |
122 "hid/hid_report_descriptor_unittest.cc", | 119 "hid/hid_report_descriptor_unittest.cc", |
123 "hid/input_service_linux_unittest.cc", | 120 "hid/input_service_linux_unittest.cc", |
124 "hid/test_report_descriptors.cc", | 121 "hid/test_report_descriptors.cc", |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 ] | 292 ] |
296 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 293 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
297 } | 294 } |
298 | 295 |
299 java_cpp_enum("bluetooth_test_javagen") { | 296 java_cpp_enum("bluetooth_test_javagen") { |
300 sources = [ | 297 sources = [ |
301 "bluetooth/test/bluetooth_test.h", | 298 "bluetooth/test/bluetooth_test.h", |
302 ] | 299 ] |
303 } | 300 } |
304 } | 301 } |
OLD | NEW |