Austin Schuh | 1e69f94 | 2020-11-14 15:06:14 -0800 | [diff] [blame^] | 1 | if (!project.hasProperty('onlylinuxathena')) { |
| 2 | |
| 3 | description = "WebSocket Client Extension" |
| 4 | |
| 5 | ext { |
| 6 | includeWpiutil = true |
| 7 | pluginName = 'halsim_ws_client' |
| 8 | } |
| 9 | |
| 10 | apply plugin: 'google-test-test-suite' |
| 11 | |
| 12 | |
| 13 | ext { |
| 14 | staticGtestConfigs = [:] |
| 15 | } |
| 16 | |
| 17 | staticGtestConfigs["${pluginName}Test"] = [] |
| 18 | apply from: "${rootDir}/shared/googletest.gradle" |
| 19 | |
| 20 | apply from: "${rootDir}/shared/plugins/setupBuild.gradle" |
| 21 | |
| 22 | model { |
| 23 | binaries { |
| 24 | all { |
| 25 | if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio) { |
| 26 | it.buildable = false |
| 27 | return |
| 28 | } |
| 29 | |
| 30 | lib project: ":simulation:halsim_ws_core", library: "halsim_ws_core", linkage: "static" |
| 31 | |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | } |