blob: 8cf1430f7e6c989d49ad8893291608df0db3c88a [file] [log] [blame]
#This file is needed because gyp is stupid, and if we put the usb_receiver
#target in the same file as the other input stuff, it screws up the build
#for the third robot.
{
'targets': [
{
'target_name': 'usb_receiver',
'type': 'static_library',
'sources': [
'usb_receiver.cc',
],
'dependencies': [
'<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
'<(AOS)/build/aos.gyp:logging',
'<(AOS)/common/common.gyp:time',
'<(AOS)/common/common.gyp:controls',
],
'export_dependent_settings': [
'<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
'<(AOS)/common/common.gyp:time',
],
'variables': {
# TODO(brians): Add dependency on this file too (or something).
'checksum': '<!(<(DEPTH)/gyro_board/src/usb/data_struct_checksum.sh)',
},
'defines': [
'GYRO_BOARD_DATA_CHECKSUM=<(checksum)',
],
},
],
}