chrome: bluetooth: hook up the AdapterAdded signal
[chromium-blink-merge.git] / dbus / dbus.gyp
blobce2fbd43ce97e0c608770da0f36a5a92c598faea
1 # Copyright (c) 2011 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': 'dbus',
12       'type': 'static_library',
13       'dependencies': [
14         '../base/base.gyp:base',
15         '../build/linux/system.gyp:dbus',
16       ],
17       'export_dependent_settings': [
18         '../base/base.gyp:base',
19       ],
20       'sources': [
21         'bus.cc',
22         'bus.h',
23         'exported_object.cc',
24         'exported_object.h',
25         'message.cc',
26         'message.h',
27         'object_proxy.cc',
28         'object_proxy.h',
29         'scoped_dbus_error.h',
30       ],
31     },
32     {
33       # This target contains mocks that can be used to write unit tests
34       # without issuing actual D-Bus calls.
35       'target_name': 'dbus_test_support',
36       'type': 'static_library',
37       'dependencies': [
38         '../build/linux/system.gyp:dbus',
39         '../testing/gmock.gyp:gmock',
40         'dbus',
41       ],
42       'sources': [
43         'mock_bus.cc',
44         'mock_bus.h',
45         'mock_exported_object.cc',
46         'mock_exported_object.h',
47         'mock_object_proxy.cc',
48         'mock_object_proxy.h',
49       ],
50       'include_dirs': [
51         '..',
52       ],
53     },
54     {
55       'target_name': 'dbus_unittests',
56       'type': 'executable',
57       'dependencies': [
58         '../base/base.gyp:test_support_base',
59         '../build/linux/system.gyp:dbus',
60         '../testing/gmock.gyp:gmock',
61         '../testing/gtest.gyp:gtest',
62         'dbus',
63         'dbus_test_support',
64       ],
65       'sources': [
66         '../base/test/run_all_unittests.cc',
67         'bus_unittest.cc',
68         'end_to_end_async_unittest.cc',
69         'end_to_end_sync_unittest.cc',
70         'message_unittest.cc',
71         'mock_unittest.cc',
72         'test_service.cc',
73         'test_service.h',
74       ],
75       'include_dirs': [
76         '..',
77       ],
78     },
79   ],