blob: 4d5aff32aaee6d02098701c10b637e897663172b [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001{
2 'targets': [
3 {
Brian Silverman431500a2013-10-28 19:50:15 -07004 'target_name': 'team_number',
5 'type': 'static_library',
6 'sources': [
7 'team_number.cc',
8 ],
9 'dependencies': [
Brian Silverman14fd0fb2014-01-14 21:42:01 -080010 '<(AOS)/linux_code/linux_code.gyp:configuration',
Brian Silverman431500a2013-10-28 19:50:15 -070011 '<(AOS)/common/common.gyp:once',
Brian Silverman8f8b06f2013-10-30 22:04:27 -070012 '<(AOS)/build/aos.gyp:logging',
Brian Silverman431500a2013-10-28 19:50:15 -070013 ],
14 },
15 {
brians343bc112013-02-10 01:53:46 +000016 '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 Silverman598800f2013-05-09 17:08:42 -070025 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +000026 ],
27 'export_dependent_settings': [
brians343bc112013-02-10 01:53:46 +000028 ],
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 ],
brians343bc112013-02-10 01:53:46 +000052 'dependencies': [
53 '<(AOS)/build/aos.gyp:logging',
Brian Silvermana9cbe302013-03-12 18:41:44 -070054 '<(AOS)/common/common.gyp:time',
Brian Silverman66f079a2013-08-26 16:24:30 -070055 '<(AOS)/common/common.gyp:util',
Brian Silverman14fd0fb2014-01-14 21:42:01 -080056 '<(AOS)/linux_code/linux_code.gyp:configuration',
brians343bc112013-02-10 01:53:46 +000057 ],
58 'export_dependent_settings': [
59 '<(AOS)/build/aos.gyp:logging',
Brian Silvermana9cbe302013-03-12 18:41:44 -070060 '<(AOS)/common/common.gyp:time',
brians343bc112013-02-10 01:53:46 +000061 ],
62 },
63 ],
64}