OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 { |
11 'target_name': 'dbus', | 11 'target_name': 'dbus', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
15 '../build/linux/system.gyp:dbus', | 15 '../build/linux/system.gyp:dbus', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 'message.cc', | 18 'message.cc', |
19 'message.h', | 19 'message.h', |
| 20 'bus.cc', |
| 21 'bus.h', |
| 22 'object_proxy.cc', |
| 23 'object_proxy.h', |
20 ], | 24 ], |
21 }, | 25 }, |
22 { | 26 { |
23 'target_name': 'dbus_unittests', | 27 'target_name': 'dbus_unittests', |
24 'type': 'executable', | 28 'type': 'executable', |
25 'dependencies': [ | 29 'dependencies': [ |
26 'dbus', | 30 'dbus', |
27 '../base/base.gyp:test_support_base', | 31 '../base/base.gyp:test_support_base', |
28 '../testing/gtest.gyp:gtest', | 32 '../testing/gtest.gyp:gtest', |
29 '../build/linux/system.gyp:dbus', | 33 '../build/linux/system.gyp:dbus', |
30 ], | 34 ], |
31 'sources': [ | 35 'sources': [ |
32 '../base/test/run_all_unittests.cc', | 36 '../base/test/run_all_unittests.cc', |
33 'message_unittest.cc', | 37 'message_unittest.cc', |
34 ], | 38 ], |
35 'include_dirs': [ | 39 'include_dirs': [ |
36 '..', | 40 '..', |
37 ], | 41 ], |
38 }, | 42 }, |
| 43 { |
| 44 # Similar to dbus-send. Useful for manual testing. |
| 45 'target_name': 'dbus_test_client', |
| 46 'type': 'executable', |
| 47 'dependencies': [ |
| 48 'dbus', |
| 49 '../base/base.gyp:base', |
| 50 '../build/linux/system.gyp:dbus', |
| 51 ], |
| 52 'sources': [ |
| 53 'dbus_test_client.cc', |
| 54 ], |
| 55 'include_dirs': [ |
| 56 '..', |
| 57 ], |
| 58 }, |
39 ], | 59 ], |
40 } | 60 } |
OLD | NEW |