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',
42 'scoped_dbus_error.h',
50 # Protobuf compiler / generator test protocol buffer
51 'target_name': 'dbus_test_proto',
52 'type': 'static_library',
53 'sources': [ 'test_proto.proto' ],
55 'proto_out_dir': 'dbus',
57 'includes': [ '../build/protoc.gypi' ],
60 # This target contains mocks that can be used to write unit tests
61 # without issuing actual D-Bus calls.
62 'target_name': 'dbus_test_support',
63 'type': 'static_library',
65 '../build/linux/system.gyp:dbus',
66 '../testing/gmock.gyp:gmock',
72 'mock_exported_object.cc',
73 'mock_exported_object.h',
74 'mock_object_proxy.cc',
75 'mock_object_proxy.h',
82 'target_name': 'dbus_unittests',
85 '../base/base.gyp:run_all_unittests',
86 '../base/base.gyp:test_support_base',
87 '../build/linux/system.gyp:dbus',
88 '../testing/gmock.gyp:gmock',
89 '../testing/gtest.gyp:gtest',
96 'dbus_statistics_unittest.cc',
97 'end_to_end_async_unittest.cc',
98 'end_to_end_sync_unittest.cc',
99 'message_unittest.cc',
101 'property_unittest.cc',
102 'signal_sender_verification_unittest.cc',
103 'string_util_unittest.cc',
106 'values_util_unittest.cc',
113 'target_name': 'dbus_test_server',
114 'type': 'executable',
116 '../base/base.gyp:test_support_base',
117 '../base/base.gyp:base',
118 '../build/linux/system.gyp:dbus',