OLD | NEW |
| (Empty) |
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. | |
4 | |
5 # This is used to build parts of dbus-c++ in Chromium on Linux. | |
6 # TODO(thestig) Add support for system dbus-c++ in the future if it becomes | |
7 # compatible with the CrOS fork. | |
8 { | |
9 'targets': [ | |
10 { | |
11 'target_name': 'dbus_cplusplus', | |
12 'type': 'shared_library', | |
13 'dependencies': [ | |
14 '../../build/linux/system.gyp:dbus', | |
15 '../../build/linux/system.gyp:glib', | |
16 ], | |
17 'sources': [ | |
18 'source/src/connection.cpp', | |
19 'source/src/connection_p.h', | |
20 'source/src/debug.cpp', | |
21 'source/src/dispatcher.cpp', | |
22 'source/src/dispatcher_p.h', | |
23 'source/src/error.cpp', | |
24 'source/src/eventloop-integration.cpp', | |
25 'source/src/eventloop.cpp', | |
26 'source/src/glib-integration.cpp', | |
27 'source/src/interface.cpp', | |
28 'source/src/internalerror.h', | |
29 'source/src/introspection.cpp', | |
30 'source/src/message.cpp', | |
31 'source/src/message_p.h', | |
32 'source/src/object.cpp', | |
33 'source/src/pendingcall.cpp', | |
34 'source/src/pendingcall_p.h', | |
35 'source/src/property.cpp', | |
36 'source/src/server.cpp', | |
37 'source/src/server_p.h', | |
38 'source/src/types.cpp', | |
39 ], | |
40 'cflags!': [ | |
41 '-fno-exceptions', | |
42 ], | |
43 'defines': [ | |
44 'DBUS_HAS_RECURSIVE_MUTEX', | |
45 'DBUS_HAS_THREADS_INIT_DEFAULT', | |
46 'GCC_HASCLASSVISIBILITY', | |
47 ], | |
48 'direct_dependent_settings': { | |
49 'cflags!': [ | |
50 '-fno-exceptions', | |
51 ], | |
52 'defines': [ | |
53 'DBUS_HAS_RECURSIVE_MUTEX', | |
54 'DBUS_HAS_THREADS_INIT_DEFAULT', | |
55 'GCC_HASCLASSVISIBILITY', | |
56 ], | |
57 'include_dirs': [ | |
58 'source/include', | |
59 ], | |
60 }, | |
61 'include_dirs': [ | |
62 'source/include', | |
63 ], | |
64 }, | |
65 ], | |
66 } | |
OLD | NEW |