blob: b8a2092f4d1d512f45b84267ae0a013afe54b7d5 [file] [log] [blame]
Brian Silverman3204dd82013-03-12 18:42:01 -07001{
2 'targets': [
3 {
4 'target_name': 'sensor_sink',
5 'type': 'static_library',
6 'sources': [
7 ],
8 'dependencies': [
9 'sensors',
10 ],
11 'export_dependent_settings': [
12 'sensors',
13 ],
14 },
15 {
16 'target_name': 'sensors',
17 'type': 'static_library',
18 'sources': [
19 'sensors.cc'
20 ],
21 'dependencies': [
22 '<(AOS)/common/common.gyp:time',
23 '<(AOS)/common/common.gyp:controls',
24 ],
25 'export_dependent_settings': [
26 '<(AOS)/common/common.gyp:time',
27 '<(AOS)/common/common.gyp:controls',
28 ],
29 },
30 {
Brian Silverman50df23f2013-03-20 21:38:07 -070031 'target_name': 'sensors_test',
32 'type': '<(aos_target)',
33 'sources': [
34 'sensors_test.cc',
35 ],
36 'dependencies': [
37 '<(EXTERNALS):gtest',
38 'sensors',
39 '<(AOS)/common/common.gyp:queue_testutils',
40 ],
41 },
42 {
Brian Silverman3204dd82013-03-12 18:42:01 -070043 'target_name': 'sensor_receiver',
44 'type': 'static_library',
45 'sources': [
46 #'sensor_receiver-tmpl.h'
47 ],
48 'dependencies': [
49 '<(AOS)/common/network/network.gyp:socket',
Brian Silverman3204dd82013-03-12 18:42:01 -070050 'sensors',
51 '<(AOS)/common/common.gyp:time',
52 '<(AOS)/common/common.gyp:gtest_prod',
53 ],
54 'export_dependent_settings': [
55 '<(AOS)/common/network/network.gyp:socket',
Brian Silverman3204dd82013-03-12 18:42:01 -070056 'sensors',
57 '<(AOS)/common/common.gyp:time',
58 '<(AOS)/common/common.gyp:gtest_prod',
59 ],
60 },
61 {
62 'target_name': 'sensor_receiver_test',
63 'type': 'executable',
64 'sources': [
65 'sensor_receiver_test.cc',
66 ],
67 'dependencies': [
68 '<(EXTERNALS):gtest',
69 'sensor_receiver',
70 '<(AOS)/common/common.gyp:time',
71 'sensors',
72 '<(AOS)/common/common.gyp:queue_testutils',
73 ],
74 },
Brian Silverman3204dd82013-03-12 18:42:01 -070075 ],
76}