OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'device_unittests', | 11 'target_name': 'device_unittests', |
12 'type': '<(gtest_target_type)', | 12 'type': '<(gtest_target_type)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../base/base.gyp:test_support_base', | 14 '../base/base.gyp:test_support_base', |
15 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 15 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
16 '../testing/gmock.gyp:gmock', | 16 '../testing/gmock.gyp:gmock', |
17 '../testing/gtest.gyp:gtest', | 17 '../testing/gtest.gyp:gtest', |
18 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl', | 18 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl', |
19 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 19 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
20 '../tools/usb_gadget/usb_gadget.gyp:usb_gadget', | 20 '../tools/usb_gadget/usb_gadget.gyp:usb_gadget', |
21 'battery/battery.gyp:device_battery', | 21 'battery/battery.gyp:device_battery', |
22 'battery/battery.gyp:device_battery_mojo_bindings', | 22 'battery/battery.gyp:device_battery_mojo_bindings', |
23 'bluetooth/bluetooth.gyp:device_bluetooth', | 23 'bluetooth/bluetooth.gyp:device_bluetooth', |
24 'bluetooth/bluetooth.gyp:device_bluetooth_mocks', | 24 'bluetooth/bluetooth.gyp:device_bluetooth_mocks', |
| 25 'devices_app/devices_app.gyp:devices_app_lib', |
25 'nfc/nfc.gyp:device_nfc', | 26 'nfc/nfc.gyp:device_nfc', |
26 'usb/usb.gyp:device_usb', | 27 'usb/usb.gyp:device_usb', |
27 'usb/usb.gyp:device_usb_mocks', | 28 'usb/usb.gyp:device_usb_mocks', |
28 'hid/hid.gyp:device_hid', | 29 'hid/hid.gyp:device_hid', |
29 'serial/serial.gyp:device_serial', | 30 'serial/serial.gyp:device_serial', |
30 'serial/serial.gyp:device_serial_test_util', | 31 'serial/serial.gyp:device_serial_test_util', |
31 ], | 32 ], |
32 'sources': [ | 33 'sources': [ |
33 'battery/battery_status_manager_linux_unittest.cc', | 34 'battery/battery_status_manager_linux_unittest.cc', |
34 'battery/battery_status_manager_win_unittest.cc', | 35 'battery/battery_status_manager_win_unittest.cc', |
(...skipping 10 matching lines...) Expand all Loading... |
45 'bluetooth/bluetooth_device_win_unittest.cc', | 46 'bluetooth/bluetooth_device_win_unittest.cc', |
46 'bluetooth/bluetooth_discovery_filter_unittest.cc', | 47 'bluetooth/bluetooth_discovery_filter_unittest.cc', |
47 'bluetooth/bluetooth_gatt_chromeos_unittest.cc', | 48 'bluetooth/bluetooth_gatt_chromeos_unittest.cc', |
48 'bluetooth/bluetooth_low_energy_win_unittest.cc', | 49 'bluetooth/bluetooth_low_energy_win_unittest.cc', |
49 'bluetooth/bluetooth_service_record_win_unittest.cc', | 50 'bluetooth/bluetooth_service_record_win_unittest.cc', |
50 'bluetooth/bluetooth_socket_chromeos_unittest.cc', | 51 'bluetooth/bluetooth_socket_chromeos_unittest.cc', |
51 'bluetooth/bluetooth_task_manager_win_unittest.cc', | 52 'bluetooth/bluetooth_task_manager_win_unittest.cc', |
52 'bluetooth/bluetooth_uuid_unittest.cc', | 53 'bluetooth/bluetooth_uuid_unittest.cc', |
53 'bluetooth/test/test_bluetooth_adapter_observer.cc', | 54 'bluetooth/test/test_bluetooth_adapter_observer.cc', |
54 'bluetooth/test/test_bluetooth_adapter_observer.h', | 55 'bluetooth/test/test_bluetooth_adapter_observer.h', |
| 56 'devices_app/usb/device_impl_unittest.cc', |
| 57 'devices_app/usb/device_manager_impl_unittest.cc', |
55 'hid/hid_connection_unittest.cc', | 58 'hid/hid_connection_unittest.cc', |
56 'hid/hid_device_filter_unittest.cc', | 59 'hid/hid_device_filter_unittest.cc', |
57 'hid/hid_report_descriptor_unittest.cc', | 60 'hid/hid_report_descriptor_unittest.cc', |
58 'hid/input_service_linux_unittest.cc', | 61 'hid/input_service_linux_unittest.cc', |
59 'hid/test_report_descriptors.cc', | 62 'hid/test_report_descriptors.cc', |
60 'hid/test_report_descriptors.h', | 63 'hid/test_report_descriptors.h', |
61 'nfc/nfc_chromeos_unittest.cc', | 64 'nfc/nfc_chromeos_unittest.cc', |
62 'nfc/nfc_ndef_record_unittest.cc', | 65 'nfc/nfc_ndef_record_unittest.cc', |
63 'serial/data_sink_unittest.cc', | 66 'serial/data_sink_unittest.cc', |
64 'serial/data_source_unittest.cc', | 67 'serial/data_source_unittest.cc', |
65 'serial/serial_connection_unittest.cc', | 68 'serial/serial_connection_unittest.cc', |
66 'serial/serial_service_unittest.cc', | 69 'serial/serial_service_unittest.cc', |
67 'test/run_all_unittests.cc', | 70 'test/run_all_unittests.cc', |
68 'test/usb_test_gadget_impl.cc', | 71 'test/usb_test_gadget_impl.cc', |
69 'usb/device_impl_unittest.cc', | |
70 'usb/device_manager_impl_unittest.cc', | |
71 'usb/usb_context_unittest.cc', | 72 'usb/usb_context_unittest.cc', |
72 'usb/usb_device_filter_unittest.cc', | 73 'usb/usb_device_filter_unittest.cc', |
73 'usb/usb_device_handle_unittest.cc', | 74 'usb/usb_device_handle_unittest.cc', |
74 'usb/usb_ids_unittest.cc', | 75 'usb/usb_ids_unittest.cc', |
75 'usb/usb_service_unittest.cc', | 76 'usb/usb_service_unittest.cc', |
76 ], | 77 ], |
77 'conditions': [ | 78 'conditions': [ |
78 ['chromeos==1', { | 79 ['chromeos==1', { |
79 'dependencies': [ | 80 'dependencies': [ |
80 '../build/linux/system.gyp:dbus', | 81 '../build/linux/system.gyp:dbus', |
81 '../chromeos/chromeos.gyp:chromeos_test_support', | 82 '../chromeos/chromeos.gyp:chromeos_test_support', |
82 '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', | 83 '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', |
83 '../dbus/dbus.gyp:dbus', | 84 '../dbus/dbus.gyp:dbus', |
84 ], | 85 ], |
85 'sources!': [ | 86 'sources!': [ |
86 'battery/battery_status_manager_linux_unittest.cc', | 87 'battery/battery_status_manager_linux_unittest.cc', |
87 ], | 88 ], |
88 }], | 89 }], |
89 ['OS=="android"', { | 90 ['OS=="android"', { |
90 'dependencies!': [ | 91 'dependencies!': [ |
91 '../tools/usb_gadget/usb_gadget.gyp:usb_gadget', | 92 '../tools/usb_gadget/usb_gadget.gyp:usb_gadget', |
| 93 'devices_app/devices_app.gyp:devices_app_lib', |
92 'usb/usb.gyp:device_usb', | 94 'usb/usb.gyp:device_usb', |
93 'usb/usb.gyp:device_usb_mocks', | 95 'usb/usb.gyp:device_usb_mocks', |
94 'serial/serial.gyp:device_serial', | 96 'serial/serial.gyp:device_serial', |
95 'serial/serial.gyp:device_serial_test_util', | 97 'serial/serial.gyp:device_serial_test_util', |
96 'hid/hid.gyp:device_hid', | 98 'hid/hid.gyp:device_hid', |
97 ], | 99 ], |
98 'dependencies': [ | 100 'dependencies': [ |
99 '../testing/android/native_test.gyp:native_test_native_code', | 101 '../testing/android/native_test.gyp:native_test_native_code', |
100 ], | 102 ], |
101 'sources/': [ | 103 'sources/': [ |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 ], | 162 ], |
161 'variables': { | 163 'variables': { |
162 'test_suite_name': 'device_unittests', | 164 'test_suite_name': 'device_unittests', |
163 }, | 165 }, |
164 'includes': [ '../build/apk_test.gypi' ], | 166 'includes': [ '../build/apk_test.gypi' ], |
165 }, | 167 }, |
166 ], | 168 ], |
167 }], | 169 }], |
168 ], | 170 ], |
169 } | 171 } |
OLD | NEW |