blob: c91ab4397f9759e4aabf23754867d3b23f142702 [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 Silverman04723522013-05-14 16:50:56 -070015 ['OS=="atom"', {
brians343bc112013-02-10 01:53:46 +000016 'sources': [
Brian Silvermanf665d692013-02-17 22:11:39 -080017 '<(AOS)/atom_code/logging/atom_logging.cc',
brians343bc112013-02-10 01:53:46 +000018 ],
19 'dependencies': [
Brian Silverman08661c72013-09-01 17:24:38 -070020 '<(AOS)/atom_code/ipc_lib/ipc_lib.gyp:queue',
brians343bc112013-02-10 01:53:46 +000021 ],
22 'export_dependent_settings': [
Brian Silverman08661c72013-09-01 17:24:38 -070023 '<(AOS)/atom_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}