Added wpilib_interface and roboRIO specific code.
Change-Id: I9900f79e8557879abd20edd3f194575b0e4772ef
diff --git a/aos/build/externals.gyp b/aos/build/externals.gyp
index a097fd7..5e3a64f 100644
--- a/aos/build/externals.gyp
+++ b/aos/build/externals.gyp
@@ -19,6 +19,34 @@
},
'targets': [
{
+ 'target_name': 'WPILib_roboRIO',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '/opt/wpilib_4.8.3/include',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '-L/opt/wpilib_4.8.3/lib/',
+ '-lpthread',
+ '-lFRC_NetworkCommunication',
+ '-lRoboRIO_FRC_ChipObject',
+ '-lNiFpgaLv',
+ '-lNiFpga',
+ '-lNiRioSrv',
+ '-lspi',
+ '-li2c',
+ '/opt/wpilib_4.8.3/lib/libwpilib_nonshared.a',
+ '/opt/wpilib_4.8.3/lib/libHALAthena.a',
+ '/opt/wpilib_4.8.3/lib/libNetworkTables.a',
+ ],
+ },
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '-isystem', '/opt/wpilib_4.8.3/include/',
+ ],
+ },
+ },
+ {
'target_name': 'WPILib',
'type': 'static_library',
'sources': [