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