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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 "bluetooth/test/test_bluetooth_adapter_observer.h", | 63 "bluetooth/test/test_bluetooth_adapter_observer.h", |
64 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", | 64 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
65 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", | 65 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
66 "gamepad/gamepad_provider_unittest.cc", | 66 "gamepad/gamepad_provider_unittest.cc", |
67 "gamepad/gamepad_service_unittest.cc", | 67 "gamepad/gamepad_service_unittest.cc", |
68 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", | 68 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", |
69 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", | 69 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", |
70 "generic_sensor/platform_sensor_provider_unittest.cc", | 70 "generic_sensor/platform_sensor_provider_unittest.cc", |
71 "power_monitor/power_monitor_message_broadcaster_unittest.cc", | 71 "power_monitor/power_monitor_message_broadcaster_unittest.cc", |
72 "power_monitor/public/cpp/power_monitor_broadcast_source_unittest.cc", | 72 "power_monitor/public/cpp/power_monitor_broadcast_source_unittest.cc", |
| 73 "sensors/data_fetcher_shared_memory_base_unittest.cc", |
| 74 "sensors/sensor_manager_android_unittest.cc", |
| 75 "sensors/sensor_manager_chromeos_unittest.cc", |
73 "test/run_all_unittests.cc", | 76 "test/run_all_unittests.cc", |
74 "wake_lock/wake_lock_service_context_unittest.cc", | 77 "wake_lock/wake_lock_service_context_unittest.cc", |
75 ] | 78 ] |
76 | 79 |
77 deps = [ | 80 deps = [ |
78 "//base/test:test_support", | 81 "//base/test:test_support", |
79 "//base/third_party/dynamic_annotations:dynamic_annotations", | 82 "//base/third_party/dynamic_annotations:dynamic_annotations", |
80 "//device/base/synchronization", | 83 "//device/base/synchronization", |
81 "//device/battery", | 84 "//device/battery", |
82 "//device/battery:mojo_bindings", | 85 "//device/battery:mojo_bindings", |
83 "//device/bluetooth", | 86 "//device/bluetooth", |
84 "//device/bluetooth:mocks", | 87 "//device/bluetooth:mocks", |
85 "//device/bluetooth:mojo", | 88 "//device/bluetooth:mojo", |
86 "//device/gamepad", | 89 "//device/gamepad", |
87 "//device/gamepad:test_helpers", | 90 "//device/gamepad:test_helpers", |
88 "//device/gamepad/public/interfaces", | 91 "//device/gamepad/public/interfaces", |
89 "//device/gamepad/public/interfaces:gamepad_struct_traits_test", | 92 "//device/gamepad/public/interfaces:gamepad_struct_traits_test", |
90 "//device/generic_sensor", | 93 "//device/generic_sensor", |
91 "//device/generic_sensor:testing", | 94 "//device/generic_sensor:testing", |
92 "//device/geolocation:unittests", | 95 "//device/geolocation:unittests", |
93 "//device/power_monitor", | 96 "//device/power_monitor", |
94 "//device/power_monitor/public/cpp", | 97 "//device/power_monitor/public/cpp", |
95 "//device/power_monitor/public/interfaces", | 98 "//device/power_monitor/public/interfaces", |
96 "//device/power_save_blocker", | 99 "//device/power_save_blocker", |
| 100 "//device/sensors", |
| 101 "//device/sensors/public/cpp", |
| 102 "//device/sensors/public/interfaces", |
97 "//device/wake_lock", | 103 "//device/wake_lock", |
98 "//mojo/common", | 104 "//mojo/common", |
99 "//mojo/edk/system", | 105 "//mojo/edk/system", |
100 "//mojo/public/cpp/bindings", | 106 "//mojo/public/cpp/bindings", |
101 "//net", | 107 "//net", |
102 "//testing/gmock", | 108 "//testing/gmock", |
103 "//testing/gtest", | 109 "//testing/gtest", |
| 110 "//third_party/WebKit/public:blink", |
104 "//third_party/WebKit/public:blink_headers", | 111 "//third_party/WebKit/public:blink_headers", |
105 "//tools/usb_gadget", | 112 "//tools/usb_gadget", |
106 "//url", | 113 "//url", |
107 ] | 114 ] |
108 | 115 |
109 if (is_linux && !is_chromeos && use_dbus) { | 116 if (is_linux && !is_chromeos && use_dbus) { |
110 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] | 117 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] |
111 deps += [ "//dbus:test_support" ] | 118 deps += [ "//dbus:test_support" ] |
112 } | 119 } |
113 | 120 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 deps += [ "//third_party/libusb" ] | 184 deps += [ "//third_party/libusb" ] |
178 } | 185 } |
179 | 186 |
180 if (is_android) { | 187 if (is_android) { |
181 sources -= [ "battery/battery_status_service_unittest.cc" ] | 188 sources -= [ "battery/battery_status_service_unittest.cc" ] |
182 deps += [ | 189 deps += [ |
183 ":bluetooth_test_java", | 190 ":bluetooth_test_java", |
184 ":bluetooth_test_jni_headers", | 191 ":bluetooth_test_jni_headers", |
185 "//device/geolocation:geolocation_java", | 192 "//device/geolocation:geolocation_java", |
186 "//device/geolocation:geolocation_java_test_support", | 193 "//device/geolocation:geolocation_java_test_support", |
| 194 "//device/sensors:java", |
187 "//device/usb:java", | 195 "//device/usb:java", |
188 ] | 196 ] |
189 deps -= [ "//device/battery" ] | 197 deps -= [ "//device/battery" ] |
190 } | 198 } |
191 | 199 |
192 if (is_chromeos) { | 200 if (is_chromeos) { |
193 deps += [ | 201 deps += [ |
194 "//chromeos", | 202 "//chromeos", |
195 "//chromeos:test_support", | 203 "//chromeos:test_support", |
196 "//chromeos:test_support_without_gmock", | 204 "//chromeos:test_support_without_gmock", |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 ] | 310 ] |
303 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 311 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
304 } | 312 } |
305 | 313 |
306 java_cpp_enum("bluetooth_test_javagen") { | 314 java_cpp_enum("bluetooth_test_javagen") { |
307 sources = [ | 315 sources = [ |
308 "bluetooth/test/bluetooth_test.h", | 316 "bluetooth/test/bluetooth_test.h", |
309 ] | 317 ] |
310 } | 318 } |
311 } | 319 } |
OLD | NEW |