blob: 8cf1430f7e6c989d49ad8893291608df0db3c88a [file] [log] [blame]
Daniel Petti03f58112013-11-09 16:35:55 +00001#This file is needed because gyp is stupid, and if we put the usb_receiver
2#target in the same file as the other input stuff, it screws up the build
3#for the third robot.
4{
5 'targets': [
6 {
7 'target_name': 'usb_receiver',
8 'type': 'static_library',
9 'sources': [
10 'usb_receiver.cc',
11 ],
12 'dependencies': [
13 '<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
14 '<(AOS)/build/aos.gyp:logging',
15 '<(AOS)/common/common.gyp:time',
16 '<(AOS)/common/common.gyp:controls',
17 ],
18 'export_dependent_settings': [
19 '<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
20 '<(AOS)/common/common.gyp:time',
21 ],
22 'variables': {
23 # TODO(brians): Add dependency on this file too (or something).
24 'checksum': '<!(<(DEPTH)/gyro_board/src/usb/data_struct_checksum.sh)',
25 },
26 'defines': [
27 'GYRO_BOARD_DATA_CHECKSUM=<(checksum)',
28 ],
29 },
30 ],
31}