brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 1 | # 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 | { |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 7 | 'targets': [ |
| 8 | { |
| 9 | 'target_name': 'logging', |
| 10 | 'type': 'static_library', |
Brian Silverman | f665d69 | 2013-02-17 22:11:39 -0800 | [diff] [blame] | 11 | 'sources': [ |
| 12 | '<(AOS)/common/logging/logging_impl.cc', |
| 13 | ], |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 14 | 'conditions': [ |
Brian Silverman | 14fd0fb | 2014-01-14 21:42:01 -0800 | [diff] [blame^] | 15 | ['OS=="linux"', { |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 16 | 'sources': [ |
Brian Silverman | 14fd0fb | 2014-01-14 21:42:01 -0800 | [diff] [blame^] | 17 | '<(AOS)/linux_code/logging/linux_logging.cc', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 18 | ], |
| 19 | 'dependencies': [ |
Brian Silverman | 14fd0fb | 2014-01-14 21:42:01 -0800 | [diff] [blame^] | 20 | '<(AOS)/linux_code/ipc_lib/ipc_lib.gyp:queue', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 21 | ], |
| 22 | 'export_dependent_settings': [ |
Brian Silverman | 14fd0fb | 2014-01-14 21:42:01 -0800 | [diff] [blame^] | 23 | '<(AOS)/linux_code/ipc_lib/ipc_lib.gyp:queue', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 24 | ] |
| 25 | }], |
| 26 | ], |
| 27 | 'dependencies': [ |
| 28 | '<(AOS)/common/common.gyp:time', |
Brian Silverman | f665d69 | 2013-02-17 22:11:39 -0800 | [diff] [blame] | 29 | '<(AOS)/common/common.gyp:once', |
| 30 | '<(AOS)/common/common.gyp:mutex', |
| 31 | '<(AOS)/common/common.gyp:die', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 32 | ], |
| 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 | }, |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 50 | ], |
| 51 | } |