OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 # Protobuf compiler / generator test protocol buffer | 52 # Protobuf compiler / generator test protocol buffer |
53 'target_name': 'dbus_test_proto', | 53 'target_name': 'dbus_test_proto', |
54 'type': 'static_library', | 54 'type': 'static_library', |
55 'sources': [ 'test_proto.proto' ], | 55 'sources': [ 'test_proto.proto' ], |
56 'variables': { | 56 'variables': { |
57 'proto_out_dir': 'dbus', | 57 'proto_out_dir': 'dbus', |
58 }, | 58 }, |
59 'includes': [ '../build/protoc.gypi' ], | 59 'includes': [ '../build/protoc.gypi' ], |
60 }, | 60 }, |
61 { | 61 { |
62 # This target contains mocks that can be used to write unit tests | 62 # This target contains mocks and fakes that can be used to write unit |
63 # without issuing actual D-Bus calls. | 63 # tests without issuing actual D-Bus calls. |
64 'target_name': 'dbus_test_support', | 64 'target_name': 'dbus_test_support', |
65 'type': 'static_library', | 65 'type': 'static_library', |
66 'dependencies': [ | 66 'dependencies': [ |
67 '../build/linux/system.gyp:dbus', | 67 '../build/linux/system.gyp:dbus', |
68 '../testing/gmock.gyp:gmock', | 68 '../testing/gmock.gyp:gmock', |
69 'dbus', | 69 'dbus', |
70 ], | 70 ], |
71 'sources': [ | 71 'sources': [ |
| 72 'fake_bus.cc', |
| 73 'fake_bus.h', |
72 'mock_bus.cc', | 74 'mock_bus.cc', |
73 'mock_bus.h', | 75 'mock_bus.h', |
74 'mock_exported_object.cc', | 76 'mock_exported_object.cc', |
75 'mock_exported_object.h', | 77 'mock_exported_object.h', |
76 'mock_object_manager.cc', | 78 'mock_object_manager.cc', |
77 'mock_object_manager.h', | 79 'mock_object_manager.h', |
78 'mock_object_proxy.cc', | 80 'mock_object_proxy.cc', |
79 'mock_object_proxy.h', | 81 'mock_object_proxy.h', |
80 ], | 82 ], |
81 'include_dirs': [ | 83 'include_dirs': [ |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 'test_server.cc', | 129 'test_server.cc', |
128 'test_service.cc', | 130 'test_service.cc', |
129 'test_service.h', | 131 'test_service.h', |
130 ], | 132 ], |
131 'include_dirs': [ | 133 'include_dirs': [ |
132 '..', | 134 '..', |
133 ], | 135 ], |
134 }, | 136 }, |
135 ], | 137 ], |
136 } | 138 } |
OLD | NEW |