blob: a41509d06ea4a79c6c41480156e9e28eb8faed3e [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',
Brian Silvermana9cbe302013-03-12 18:41:44 -070050 '<(AOS)/common/common.gyp:time',
brians343bc112013-02-10 01:53:46 +000051 ],
52 'export_dependent_settings': [
53 '<(AOS)/build/aos.gyp:logging',
Brian Silvermana9cbe302013-03-12 18:41:44 -070054 '<(AOS)/common/common.gyp:time',
brians343bc112013-02-10 01:53:46 +000055 ],
56 },
57 ],
58}