blob: d9a1bf6341179c87c470697273919b336a421436 [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001# This file has all of the aos targets.
2# For the cRIO, shared_library means to build a .out file, NOT a shared library.
3# This means that depending on shared libraries doesn't work very well.
4# Shared libraries don't seem to be supported by the powerpc-wrs-vxworks
5# tools and gyp doesn't like a static_library that depends on static_librarys.
6{
brians343bc112013-02-10 01:53:46 +00007 'targets': [
8 {
9 'target_name': 'logging',
10 'type': 'static_library',
Brian Silvermanf665d692013-02-17 22:11:39 -080011 'sources': [
12 '<(AOS)/common/logging/logging_impl.cc',
13 ],
brians343bc112013-02-10 01:53:46 +000014 'conditions': [
Brian Silverman14fd0fb2014-01-14 21:42:01 -080015 ['OS=="linux"', {
brians343bc112013-02-10 01:53:46 +000016 'sources': [
Brian Silverman14fd0fb2014-01-14 21:42:01 -080017 '<(AOS)/linux_code/logging/linux_logging.cc',
brians343bc112013-02-10 01:53:46 +000018 ],
19 'dependencies': [
Brian Silverman14fd0fb2014-01-14 21:42:01 -080020 '<(AOS)/linux_code/ipc_lib/ipc_lib.gyp:queue',
brians343bc112013-02-10 01:53:46 +000021 ],
22 'export_dependent_settings': [
Brian Silverman14fd0fb2014-01-14 21:42:01 -080023 '<(AOS)/linux_code/ipc_lib/ipc_lib.gyp:queue',
brians343bc112013-02-10 01:53:46 +000024 ]
25 }],
26 ],
27 'dependencies': [
28 '<(AOS)/common/common.gyp:time',
Brian Silvermanf665d692013-02-17 22:11:39 -080029 '<(AOS)/common/common.gyp:once',
30 '<(AOS)/common/common.gyp:mutex',
31 '<(AOS)/common/common.gyp:die',
brians343bc112013-02-10 01:53:46 +000032 ],
33 },
34 {
35# Private to make Brian happy. Don't use elsewhere in so targets or risk things
36# breaking.
37 'target_name': 'aos_swig',
38 'type': 'static_library',
39 'sources': [
40 '<(AOS)/aos.swig',
41 ],
42 'variables': {
43 'package': 'aos',
44 },
45 'dependencies': [
46 '<(AOS)/common/common.gyp:queues',
47 ],
48 'includes': ['../build/swig.gypi'],
49 },
brians343bc112013-02-10 01:53:46 +000050 ],
51}