brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'socket_so', |
| 5 | 'type': 'shared_library', |
| 6 | 'variables': {'no_rsync': 1}, |
| 7 | 'sources': [ |
| 8 | 'ReceiveSocket.cpp', |
| 9 | 'SendSocket.cpp', |
| 10 | 'Socket.cpp', |
| 11 | ], |
| 12 | 'dependencies': [ |
| 13 | '<(AOS)/build/aos.gyp:aos_shared_lib', |
| 14 | ], |
| 15 | 'export_dependent_settings': [ |
| 16 | '<(AOS)/build/aos.gyp:aos_shared_lib', |
| 17 | ], |
| 18 | 'conditions': [ |
| 19 | ['OS=="crio"', { |
| 20 | 'dependencies': [ |
| 21 | '<(EXTERNALS):WPILib', |
| 22 | ]} |
| 23 | ], |
| 24 | ], |
| 25 | 'direct_dependent_settings': { |
| 26 | 'variables': { |
| 27 | 'jni_libs': [ |
| 28 | 'socket_so', |
| 29 | ], |
| 30 | }, |
| 31 | }, |
| 32 | }, |
| 33 | { |
| 34 | 'target_name': 'socket', |
| 35 | 'type': 'static_library', |
| 36 | 'sources': [ |
| 37 | 'ReceiveSocket.cpp', |
| 38 | 'SendSocket.cpp', |
| 39 | 'Socket.cpp', |
| 40 | ], |
| 41 | 'conditions': [ |
| 42 | ['OS=="crio"', { |
| 43 | 'dependencies': [ |
| 44 | '<(EXTERNALS):WPILib', |
| 45 | ]} |
| 46 | ], |
| 47 | ], |
| 48 | 'dependencies': [ |
| 49 | '<(AOS)/build/aos.gyp:logging', |
Brian Silverman | a9cbe30 | 2013-03-12 18:41:44 -0700 | [diff] [blame] | 50 | '<(AOS)/common/common.gyp:time', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 51 | ], |
| 52 | 'export_dependent_settings': [ |
| 53 | '<(AOS)/build/aos.gyp:logging', |
Brian Silverman | a9cbe30 | 2013-03-12 18:41:44 -0700 | [diff] [blame] | 54 | '<(AOS)/common/common.gyp:time', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 55 | ], |
| 56 | }, |
| 57 | ], |
| 58 | } |