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',
52 # Protobuf compiler / generator test protocol buffer
53 'target_name': 'dbus_test_proto',
54 'type': 'static_library',
55 'sources': [ 'test_proto.proto' ],
57 'proto_out_dir': 'dbus',
59 'includes': [ '../build/protoc.gypi' ],
62 # This target contains mocks that can be used to write unit tests
63 # without issuing actual D-Bus calls.
64 'target_name': 'dbus_test_support',
65 'type': 'static_library',
67 '../build/linux/system.gyp:dbus',
68 '../testing/gmock.gyp:gmock',
74 'mock_exported_object.cc',
75 'mock_exported_object.h',
76 'mock_object_manager.cc',
77 'mock_object_manager.h',
78 'mock_object_proxy.cc',
79 'mock_object_proxy.h',
86 'target_name': 'dbus_unittests',
89 '../base/base.gyp:test_support_base',
90 '../build/linux/system.gyp:dbus',
91 '../testing/gmock.gyp:gmock',
92 '../testing/gtest.gyp:gtest',
99 'dbus_statistics_unittest.cc',
100 'end_to_end_async_unittest.cc',
101 'end_to_end_sync_unittest.cc',
102 'message_unittest.cc',
104 'object_manager_unittest.cc',
105 'object_proxy_unittest.cc',
106 'property_unittest.cc',
107 'run_all_unittests.cc',
108 'signal_sender_verification_unittest.cc',
109 'string_util_unittest.cc',
112 'values_util_unittest.cc',
119 'target_name': 'dbus_test_server',
120 'type': 'executable',
122 '../base/base.gyp:test_support_base',
123 '../base/base.gyp:base',
124 '../build/linux/system.gyp:dbus',