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.
11 'target_name': 'dbus',
12 'type': '<(component)',
14 '../base/base.gyp:base',
15 '../build/linux/system.gyp:dbus',
16 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
18 'export_dependent_settings': [
19 '../base/base.gyp:base',
22 'DBUS_IMPLEMENTATION',
44 'scoped_dbus_error.h',
54 # Protobuf compiler / generator test protocol buffer
55 'target_name': 'dbus_test_proto',
56 'type': 'static_library',
57 'sources': [ 'test_proto.proto' ],
59 'proto_out_dir': 'dbus',
61 'includes': [ '../build/protoc.gypi' ],
64 # This target contains mocks that can be used to write unit tests
65 # without issuing actual D-Bus calls.
66 'target_name': 'dbus_test_support',
67 'type': 'static_library',
69 '../build/linux/system.gyp:dbus',
70 '../testing/gmock.gyp:gmock',
76 'mock_exported_object.cc',
77 'mock_exported_object.h',
78 'mock_object_manager.cc',
79 'mock_object_manager.h',
80 'mock_object_proxy.cc',
81 'mock_object_proxy.h',
88 'target_name': 'dbus_unittests',
91 '../base/base.gyp:test_support_base',
92 '../build/linux/system.gyp:dbus',
93 '../testing/gmock.gyp:gmock',
94 '../testing/gtest.gyp:gtest',
101 'dbus_statistics_unittest.cc',
102 'end_to_end_async_unittest.cc',
103 'end_to_end_sync_unittest.cc',
104 'message_unittest.cc',
106 'object_manager_unittest.cc',
107 'object_proxy_unittest.cc',
108 'property_unittest.cc',
109 'run_all_unittests.cc',
110 'signal_sender_verification_unittest.cc',
111 'string_util_unittest.cc',
115 'values_util_unittest.cc',
122 'target_name': 'dbus_test_server',
123 'type': 'executable',
125 '../base/base.gyp:test_support_base',
126 '../base/base.gyp:base',
127 '../build/linux/system.gyp:dbus',