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': 'static_library',
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',
36 'scoped_dbus_error.h',
42 # Protobuf compiler / generator test protocol buffer
43 'target_name': 'dbus_test_proto',
44 'type': 'static_library',
45 'sources': [ 'test_proto.proto' ],
47 'proto_out_dir': 'dbus',
49 'includes': [ '../build/protoc.gypi' ],
52 # This target contains mocks that can be used to write unit tests
53 # without issuing actual D-Bus calls.
54 'target_name': 'dbus_test_support',
55 'type': 'static_library',
57 '../build/linux/system.gyp:dbus',
58 '../testing/gmock.gyp:gmock',
64 'mock_exported_object.cc',
65 'mock_exported_object.h',
66 'mock_object_proxy.cc',
67 'mock_object_proxy.h',
74 'target_name': 'dbus_unittests',
77 '../base/base.gyp:run_all_unittests',
78 '../base/base.gyp:test_support_base',
79 '../build/linux/system.gyp:dbus',
80 '../testing/gmock.gyp:gmock',
81 '../testing/gtest.gyp:gtest',
88 'end_to_end_async_unittest.cc',
89 'end_to_end_sync_unittest.cc',
90 'message_unittest.cc',
92 'property_unittest.cc',
95 'values_util_unittest.cc',