Exclude dev tools bounds from views dialog hosting bounds.
[chromium-blink-merge.git] / device / device_tests.gyp
blobe0564b5260c94cccfb2f3612263add4173ac0f07
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       ],
23       'sources': [
24         'bluetooth/bluetooth_adapter_mac_unittest.mm',
25         'bluetooth/bluetooth_adapter_win_unittest.cc',
26         'bluetooth/bluetooth_device_win_unittest.cc',
27         'bluetooth/bluetooth_chromeos_unittest.cc',
28         'bluetooth/bluetooth_profile_chromeos_unittest.cc',
29         'bluetooth/bluetooth_service_record_mac_unittest.mm',
30         'bluetooth/bluetooth_service_record_win_unittest.cc',
31         'bluetooth/bluetooth_task_manager_win_unittest.cc',
32         'bluetooth/bluetooth_utils_unittest.cc',
33         'nfc/nfc_chromeos_unittest.cc',
34         'nfc/nfc_ndef_record_unittest.cc',
35         'usb/usb_ids_unittest.cc',
36       ],
37       'conditions': [
38         ['chromeos==1', {
39           'dependencies': [
40             '../build/linux/system.gyp:dbus',
41             '../chromeos/chromeos.gyp:chromeos_test_support',
42             '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
43             '../dbus/dbus.gyp:dbus',
44           ]
45         }],
46         ['OS=="mac"', {
47           'link_settings': {
48             'libraries': [
49               '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework',
50             ],
51           },
52         }],
53         ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
54           'conditions': [
55             ['linux_use_tcmalloc == 1', {
56               'dependencies': [
57                 '../base/allocator/allocator.gyp:allocator',
58               ],
59             }],
60           ],
61         }],
62       ],
63     },
64   ],