blob: 72e9b6b0b320254b7d039973b9f236fc4b075797 [file] [log] [blame]
Brian Silvermane51ad632014-01-08 15:12:29 -08001# This file is needed because gyp wants to drag in all of the targets in a file
2# which is a problem because the main and bot3 code contain some executables
3# with the same names.
Daniel Petti03f58112013-11-09 16:35:55 +00004{
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}