blob: 279bb538988e1029c2c0e73ed476ea9b6680472c [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001{
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': [
Brian Silverman598800f2013-05-09 17:08:42 -070013 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +000014 ],
15 'export_dependent_settings': [
brians343bc112013-02-10 01:53:46 +000016 ],
17 'conditions': [
18 ['OS=="crio"', {
19 'dependencies': [
20 '<(EXTERNALS):WPILib',
21 ]}
22 ],
23 ],
24 'direct_dependent_settings': {
25 'variables': {
26 'jni_libs': [
27 'socket_so',
28 ],
29 },
30 },
31 },
32 {
33 'target_name': 'socket',
34 'type': 'static_library',
35 'sources': [
36 'ReceiveSocket.cpp',
37 'SendSocket.cpp',
38 'Socket.cpp',
39 ],
brians343bc112013-02-10 01:53:46 +000040 'dependencies': [
41 '<(AOS)/build/aos.gyp:logging',
Brian Silvermana9cbe302013-03-12 18:41:44 -070042 '<(AOS)/common/common.gyp:time',
Brian Silverman66f079a2013-08-26 16:24:30 -070043 '<(AOS)/common/common.gyp:util',
44 '<(AOS)/atom_code/atom_code.gyp:configuration',
brians343bc112013-02-10 01:53:46 +000045 ],
46 'export_dependent_settings': [
47 '<(AOS)/build/aos.gyp:logging',
Brian Silvermana9cbe302013-03-12 18:41:44 -070048 '<(AOS)/common/common.gyp:time',
brians343bc112013-02-10 01:53:46 +000049 ],
50 },
51 ],
52}