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

Side by Side Diff: device/device_tests.gyp

Issue 1144493003: Extract //device/usb mocks so that they can be shared. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android and GN builds for real. Created 5 years, 7 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
« no previous file with comments | « device/BUILD.gn ('k') | device/usb/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'nfc/nfc.gyp:device_nfc', 25 'nfc/nfc.gyp:device_nfc',
26 'usb/usb.gyp:device_usb', 26 'usb/usb.gyp:device_usb',
27 'usb/usb.gyp:device_usb_mocks',
27 'hid/hid.gyp:device_hid', 28 'hid/hid.gyp:device_hid',
28 'serial/serial.gyp:device_serial', 29 'serial/serial.gyp:device_serial',
29 'serial/serial.gyp:device_serial_test_util', 30 'serial/serial.gyp:device_serial_test_util',
30 ], 31 ],
31 'sources': [ 32 'sources': [
32 'battery/battery_status_manager_linux_unittest.cc', 33 'battery/battery_status_manager_linux_unittest.cc',
33 'battery/battery_status_manager_win_unittest.cc', 34 'battery/battery_status_manager_win_unittest.cc',
34 'battery/battery_status_service_unittest.cc', 35 'battery/battery_status_service_unittest.cc',
35 'bluetooth/bluetooth_adapter_android_unittest.cc', 36 'bluetooth/bluetooth_adapter_android_unittest.cc',
36 'bluetooth/bluetooth_adapter_mac_unittest.mm', 37 'bluetooth/bluetooth_adapter_mac_unittest.mm',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 '../dbus/dbus.gyp:dbus', 81 '../dbus/dbus.gyp:dbus',
81 ], 82 ],
82 'sources!': [ 83 'sources!': [
83 'battery/battery_status_manager_linux_unittest.cc', 84 'battery/battery_status_manager_linux_unittest.cc',
84 ], 85 ],
85 }], 86 }],
86 ['OS=="android"', { 87 ['OS=="android"', {
87 'dependencies!': [ 88 'dependencies!': [
88 '../tools/usb_gadget/usb_gadget.gyp:usb_gadget', 89 '../tools/usb_gadget/usb_gadget.gyp:usb_gadget',
89 'usb/usb.gyp:device_usb', 90 'usb/usb.gyp:device_usb',
91 'usb/usb.gyp:device_usb_mocks',
90 'serial/serial.gyp:device_serial', 92 'serial/serial.gyp:device_serial',
91 'serial/serial.gyp:device_serial_test_util', 93 'serial/serial.gyp:device_serial_test_util',
92 'hid/hid.gyp:device_hid', 94 'hid/hid.gyp:device_hid',
93 ], 95 ],
94 'dependencies': [ 96 'dependencies': [
95 'bluetooth/bluetooth.gyp:device_bluetooth_java', 97 'bluetooth/bluetooth.gyp:device_bluetooth_java',
96 '../testing/android/native_test.gyp:native_test_native_code', 98 '../testing/android/native_test.gyp:native_test_native_code',
97 ], 99 ],
98 'sources/': [ 100 'sources/': [
99 ['exclude', '(^|/)hid'], 101 ['exclude', '(^|/)hid'],
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 ], 159 ],
158 'variables': { 160 'variables': {
159 'test_suite_name': 'device_unittests', 161 'test_suite_name': 'device_unittests',
160 }, 162 },
161 'includes': [ '../build/apk_test.gypi' ], 163 'includes': [ '../build/apk_test.gypi' ],
162 }, 164 },
163 ], 165 ],
164 }], 166 }],
165 ], 167 ],
166 } 168 }
OLDNEW
« no previous file with comments | « device/BUILD.gn ('k') | device/usb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698