Brian Silverman | e51ad63 | 2014-01-08 15:12:29 -0800 | [diff] [blame] | 1 | # 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 Petti | 03f5811 | 2013-11-09 16:35:55 +0000 | [diff] [blame] | 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 | } |