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.cc',
45 'scoped_dbus_error.h',
55 # Protobuf compiler / generator test protocol buffer
56 'target_name': 'dbus_test_proto',
57 'type': 'static_library',
58 'sources': [ 'test_proto.proto' ],
60 'proto_out_dir': 'dbus',
62 'includes': [ '../build/protoc.gypi' ],
65 # This target contains mocks that can be used to write unit tests
66 # without issuing actual D-Bus calls.
67 'target_name': 'dbus_test_support',
68 'type': 'static_library',
70 '../build/linux/system.gyp:dbus',
71 '../testing/gmock.gyp:gmock',
77 'mock_exported_object.cc',
78 'mock_exported_object.h',
79 'mock_object_manager.cc',
80 'mock_object_manager.h',
81 'mock_object_proxy.cc',
82 'mock_object_proxy.h',
89 'target_name': 'dbus_unittests',
92 '../base/base.gyp:test_support_base',
93 '../build/linux/system.gyp:dbus',
94 '../testing/gmock.gyp:gmock',
95 '../testing/gtest.gyp:gtest',
102 'dbus_statistics_unittest.cc',
103 'end_to_end_async_unittest.cc',
104 'end_to_end_sync_unittest.cc',
105 'message_unittest.cc',
107 'object_manager_unittest.cc',
108 'object_proxy_unittest.cc',
109 'property_unittest.cc',
110 'run_all_unittests.cc',
111 'signal_sender_verification_unittest.cc',
112 'string_util_unittest.cc',
116 'values_util_unittest.cc',
123 'target_name': 'dbus_test_server',
124 'type': 'executable',
126 '../base/base.gyp:test_support_base',
127 '../base/base.gyp:base',
128 '../build/linux/system.gyp:dbus',