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',
34 'scoped_dbus_error.h',
38 # Protobuf compiler / generator test protocol buffer
39 'target_name': 'dbus_test_proto',
40 'type': 'static_library',
41 'sources': [ 'test_proto.proto' ],
43 'proto_out_dir': 'dbus',
45 'includes': [ '../build/protoc.gypi' ],
48 # This target contains mocks that can be used to write unit tests
49 # without issuing actual D-Bus calls.
50 'target_name': 'dbus_test_support',
51 'type': 'static_library',
53 '../build/linux/system.gyp:dbus',
54 '../testing/gmock.gyp:gmock',
60 'mock_exported_object.cc',
61 'mock_exported_object.h',
62 'mock_object_proxy.cc',
63 'mock_object_proxy.h',
70 'target_name': 'dbus_unittests',
73 '../base/base.gyp:test_support_base',
74 '../build/linux/system.gyp:dbus',
75 '../testing/gmock.gyp:gmock',
76 '../testing/gtest.gyp:gtest',
82 '../base/test/run_all_unittests.cc',
84 'end_to_end_async_unittest.cc',
85 'end_to_end_sync_unittest.cc',
86 'message_unittest.cc',
88 'property_unittest.cc',