blob: ca3e6531d8ae1d90973b8bffe7b1896aa27e0660 [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': [
13 '<(AOS)/build/aos.gyp:aos_shared_lib',
14 ],
15 'export_dependent_settings': [
16 '<(AOS)/build/aos.gyp:aos_shared_lib',
17 ],
18 'conditions': [
19 ['OS=="crio"', {
20 'dependencies': [
21 '<(EXTERNALS):WPILib',
22 ]}
23 ],
24 ],
25 'direct_dependent_settings': {
26 'variables': {
27 'jni_libs': [
28 'socket_so',
29 ],
30 },
31 },
32 },
33 {
34 'target_name': 'socket',
35 'type': 'static_library',
36 'sources': [
37 'ReceiveSocket.cpp',
38 'SendSocket.cpp',
39 'Socket.cpp',
40 ],
41 'conditions': [
42 ['OS=="crio"', {
43 'dependencies': [
44 '<(EXTERNALS):WPILib',
45 ]}
46 ],
47 ],
48 'dependencies': [
49 '<(AOS)/build/aos.gyp:logging',
50 ],
51 'export_dependent_settings': [
52 '<(AOS)/build/aos.gyp:logging',
53 ],
54 },
55 ],
56}