blob: fb563ab5586fa64440f4cf98d579ff28452c8869 [file] [log] [blame]
James Kuszmaulb13e13f2023-11-22 20:44:04 -08001if (project.hasProperty('onlylinuxathena')) {
2 return;
3}
Austin Schuh1e69f942020-11-14 15:06:14 -08004
James Kuszmaulb13e13f2023-11-22 20:44:04 -08005description = "WebSocket Client Extension"
Austin Schuh1e69f942020-11-14 15:06:14 -08006
James Kuszmaulb13e13f2023-11-22 20:44:04 -08007ext {
8 includeWpiutil = true
9 pluginName = 'halsim_ws_client'
10}
Austin Schuh1e69f942020-11-14 15:06:14 -080011
James Kuszmaulb13e13f2023-11-22 20:44:04 -080012apply plugin: 'google-test-test-suite'
Austin Schuh1e69f942020-11-14 15:06:14 -080013
James Kuszmaulb13e13f2023-11-22 20:44:04 -080014ext {
15 staticGtestConfigs = [:]
16}
Austin Schuh1e69f942020-11-14 15:06:14 -080017
James Kuszmaulb13e13f2023-11-22 20:44:04 -080018staticGtestConfigs["${pluginName}Test"] = []
19apply from: "${rootDir}/shared/googletest.gradle"
Austin Schuh1e69f942020-11-14 15:06:14 -080020
James Kuszmaulb13e13f2023-11-22 20:44:04 -080021apply from: "${rootDir}/shared/plugins/setupBuild.gradle"
Austin Schuh1e69f942020-11-14 15:06:14 -080022
James Kuszmaulb13e13f2023-11-22 20:44:04 -080023model {
24 binaries {
25 all {
26 if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio) {
27 it.buildable = false
28 return
Austin Schuh1e69f942020-11-14 15:06:14 -080029 }
James Kuszmaulb13e13f2023-11-22 20:44:04 -080030
31 lib project: ':wpinet', library: 'wpinet', linkage: 'shared'
32 lib project: ":simulation:halsim_ws_core", library: "halsim_ws_core", linkage: "static"
Austin Schuh1e69f942020-11-14 15:06:14 -080033 }
34 }
35}