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