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:run_all_unittests',
90 '../base/base.gyp:test_support_base',
91 '../build/linux/system.gyp:dbus',
92 '../testing/gmock.gyp:gmock',
93 '../testing/gtest.gyp:gtest',
100 'dbus_statistics_unittest.cc',
101 'end_to_end_async_unittest.cc',
102 'end_to_end_sync_unittest.cc',
103 'message_unittest.cc',
105 'object_manager_unittest.cc',
106 'property_unittest.cc',
107 'signal_sender_verification_unittest.cc',
108 'string_util_unittest.cc',
111 'values_util_unittest.cc',
118 'target_name': 'dbus_test_server',
119 'type': 'executable',
121 '../base/base.gyp:test_support_base',
122 '../base/base.gyp:base',
123 '../build/linux/system.gyp:dbus',