Add new PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 pepper interface.
[chromium-blink-merge.git] / device / device_tests.gyp
blob0cadffb86154b5e24bacc9eacea816c0bbc9ef0d
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
3 # found in the LICENSE file.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'device_unittests',
12       'type': '<(gtest_target_type)',
13       'dependencies': [
14         '../base/base.gyp:run_all_unittests',
15         '../base/base.gyp:test_support_base',
16         '../testing/gmock.gyp:gmock',
17         '../testing/gtest.gyp:gtest',
18         'bluetooth/bluetooth.gyp:device_bluetooth',
19         'bluetooth/bluetooth.gyp:device_bluetooth_mocks',
20         'nfc/nfc.gyp:device_nfc',
21         'usb/usb.gyp:device_usb',
22         'hid/hid.gyp:device_hid',
23       ],
24       'sources': [
25         'bluetooth/bluetooth_adapter_mac_unittest.mm',
26         'bluetooth/bluetooth_adapter_unittest.cc',
27         'bluetooth/bluetooth_adapter_win_unittest.cc',
28         'bluetooth/bluetooth_device_win_unittest.cc',
29         'bluetooth/bluetooth_chromeos_unittest.cc',
30         'bluetooth/bluetooth_profile_chromeos_unittest.cc',
31         'bluetooth/bluetooth_service_record_mac_unittest.mm',
32         'bluetooth/bluetooth_service_record_win_unittest.cc',
33         'bluetooth/bluetooth_task_manager_win_unittest.cc',
34         'bluetooth/bluetooth_utils_unittest.cc',
35         'nfc/nfc_chromeos_unittest.cc',
36         'nfc/nfc_ndef_record_unittest.cc',
37         'usb/usb_ids_unittest.cc',
38         'hid/hid_connection_unittest.cc',
39         'hid/hid_service_unittest.cc',
40       ],
41       'conditions': [
42         ['chromeos==1', {
43           'dependencies': [
44             '../build/linux/system.gyp:dbus',
45             '../chromeos/chromeos.gyp:chromeos_test_support',
46             '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
47             '../dbus/dbus.gyp:dbus',
48           ]
49         }],
50         ['OS=="mac"', {
51           'link_settings': {
52             'libraries': [
53               '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework',
54             ],
55           },
56         }],
57         ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
58           'conditions': [
59             # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
60             ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', {
61               'dependencies': [
62                 '../base/allocator/allocator.gyp:allocator',
63               ],
64             }],
65           ],
66         }],
67       ],
68     },
69   ],