blob: 4fc3a09f8ed230e2f2a129d7820f6c7fcec5d364 [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 ],
40 'conditions': [
41 ['OS=="crio"', {
42 'dependencies': [
43 '<(EXTERNALS):WPILib',
44 ]}
45 ],
46 ],
47 'dependencies': [
48 '<(AOS)/build/aos.gyp:logging',
Brian Silvermana9cbe302013-03-12 18:41:44 -070049 '<(AOS)/common/common.gyp:time',
brians343bc112013-02-10 01:53:46 +000050 ],
51 'export_dependent_settings': [
52 '<(AOS)/build/aos.gyp:logging',
Brian Silvermana9cbe302013-03-12 18:41:44 -070053 '<(AOS)/common/common.gyp:time',
brians343bc112013-02-10 01:53:46 +000054 ],
55 },
56 ],
57}