Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: device/BUILD.gn

Issue 2896583005: Reland: Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors (Closed)
Patch Set: fix compile error on Windows Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("vr/features/features.gni") 5 import("vr/features/features.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", 61 "bluetooth/test/mock_bluetooth_central_manager_mac.mm",
62 "bluetooth/test/test_bluetooth_adapter_observer.cc", 62 "bluetooth/test/test_bluetooth_adapter_observer.cc",
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 "bluetooth/uribeacon/uri_encoder_unittest.cc", 66 "bluetooth/uribeacon/uri_encoder_unittest.cc",
67 "gamepad/gamepad_provider_unittest.cc", 67 "gamepad/gamepad_provider_unittest.cc",
68 "gamepad/gamepad_service_unittest.cc", 68 "gamepad/gamepad_service_unittest.cc",
69 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", 69 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc",
70 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", 70 "generic_sensor/platform_sensor_and_provider_unittest_win.cc",
71 "generic_sensor/platform_sensor_provider_unittest_android.cc",
71 "sensors/data_fetcher_shared_memory_base_unittest.cc", 72 "sensors/data_fetcher_shared_memory_base_unittest.cc",
72 "sensors/sensor_manager_android_unittest.cc", 73 "sensors/sensor_manager_android_unittest.cc",
73 "sensors/sensor_manager_chromeos_unittest.cc", 74 "sensors/sensor_manager_chromeos_unittest.cc",
74 "test/run_all_unittests.cc", 75 "test/run_all_unittests.cc",
75 ] 76 ]
76 77
77 deps = [ 78 deps = [
78 "//base/test:test_support", 79 "//base/test:test_support",
79 "//base/third_party/dynamic_annotations:dynamic_annotations", 80 "//base/third_party/dynamic_annotations:dynamic_annotations",
80 "//device/base/synchronization", 81 "//device/base/synchronization",
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 # UsbContext is a libusb-specific object. 179 # UsbContext is a libusb-specific object.
179 if (is_mac || is_win) { 180 if (is_mac || is_win) {
180 sources += [ "usb/usb_context_unittest.cc" ] 181 sources += [ "usb/usb_context_unittest.cc" ]
181 deps += [ "//third_party/libusb" ] 182 deps += [ "//third_party/libusb" ]
182 } 183 }
183 184
184 if (is_android) { 185 if (is_android) {
185 deps += [ 186 deps += [
186 ":bluetooth_test_java", 187 ":bluetooth_test_java",
187 ":bluetooth_test_jni_headers", 188 ":bluetooth_test_jni_headers",
189 "//device/generic_sensor:java",
188 "//device/geolocation:geolocation_java", 190 "//device/geolocation:geolocation_java",
189 "//device/geolocation:geolocation_java_test_support", 191 "//device/geolocation:geolocation_java_test_support",
190 "//device/sensors:java", 192 "//device/sensors:java",
191 "//device/usb:java", 193 "//device/usb:java",
192 ] 194 ]
193 } 195 }
194 196
195 if (is_chromeos) { 197 if (is_chromeos) {
196 deps += [ 198 deps += [
197 "//chromeos", 199 "//chromeos",
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 ] 310 ]
309 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] 311 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ]
310 } 312 }
311 313
312 java_cpp_enum("bluetooth_test_javagen") { 314 java_cpp_enum("bluetooth_test_javagen") {
313 sources = [ 315 sources = [
314 "bluetooth/test/bluetooth_test.h", 316 "bluetooth/test/bluetooth_test.h",
315 ] 317 ]
316 } 318 }
317 } 319 }
OLDNEW
« no previous file with comments | « content/test/data/device_sensors/device_motion_test.html ('k') | device/generic_sensor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698