mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Provides an implementation of a XRP-specific plugin that sends binary messages over UDP (to account for the less performant hardware on the XRP). This plugin leverages the work already done for the WebSocket protocol and does a translation to/from JSON/binary.
36 lines
858 B
Groovy
36 lines
858 B
Groovy
if (!project.hasProperty('onlylinuxathena')) {
|
|
|
|
description = "XRP Extension"
|
|
|
|
ext {
|
|
includeWpiutil = true
|
|
pluginName = 'halsim_xrp'
|
|
}
|
|
|
|
apply plugin: 'google-test-test-suite'
|
|
|
|
|
|
ext {
|
|
staticGtestConfigs = [:]
|
|
}
|
|
|
|
staticGtestConfigs["${pluginName}Test"] = []
|
|
apply from: "${rootDir}/shared/googletest.gradle"
|
|
|
|
apply from: "${rootDir}/shared/plugins/setupBuild.gradle"
|
|
|
|
model {
|
|
binaries {
|
|
all {
|
|
if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio) {
|
|
it.buildable = false
|
|
return
|
|
}
|
|
|
|
lib project: ':wpinet', library: 'wpinet', linkage: 'shared'
|
|
lib project: ":simulation:halsim_ws_core", library: "halsim_ws_core", linkage: "static"
|
|
}
|
|
}
|
|
}
|
|
}
|