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 '-fvisibility=hidden', |
| 43 ], |
| 44 'defines': [ |
| 45 'DBUS_HAS_RECURSIVE_MUTEX', |
| 46 'DBUS_HAS_THREADS_INIT_DEFAULT', |
| 47 ], |
| 48 'direct_dependent_settings': { |
| 49 'include_dirs': [ |
| 50 'source/include', |
| 51 ], |
| 52 }, |
| 53 'include_dirs': [ |
| 54 'source/include', |
| 55 ], |
| 56 }, |
| 57 ], |
| 58 } |
OLD | NEW |