mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Replace tabs with spaces in gradle files.
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -54,11 +54,11 @@ apply from: "dependencies.gradle"
|
||||
|
||||
ext.setupDefines = { project, binaries ->
|
||||
binaries.all {
|
||||
if (project.hasProperty('debug')) {
|
||||
project.setupDebugDefines(cppCompiler, linker)
|
||||
} else {
|
||||
project.setupReleaseDefines(cppCompiler, linker)
|
||||
}
|
||||
if (project.hasProperty('debug')) {
|
||||
project.setupDebugDefines(cppCompiler, linker)
|
||||
} else {
|
||||
project.setupReleaseDefines(cppCompiler, linker)
|
||||
}
|
||||
tasks.withType(CppCompile) {
|
||||
if (!project.hasProperty('compilerPrefix') && targetPlatform.architecture.name == 'arm-v7') {
|
||||
project.addWpiUtilSharedLibraryLinks(it, linker, targetPlatform)
|
||||
|
||||
@@ -4,10 +4,10 @@ ext.buildPlatform = 'arm'
|
||||
def compilerPrefix = project.hasProperty('compilerPrefix') ? project.compilerPrefix : 'arm-frc-linux-gnueabi-'
|
||||
model {
|
||||
platforms {
|
||||
arm {
|
||||
architecture 'arm'
|
||||
operatingSystem 'linux'
|
||||
}
|
||||
arm {
|
||||
architecture 'arm'
|
||||
operatingSystem 'linux'
|
||||
}
|
||||
}
|
||||
toolChains {
|
||||
gcc(Gcc) {
|
||||
|
||||
@@ -15,11 +15,11 @@ if (OperatingSystem.current().isLinux()) {
|
||||
|
||||
model {
|
||||
platforms {
|
||||
x86 {
|
||||
architecture 'x86'
|
||||
}
|
||||
x64 {
|
||||
architecture 'x86_64'
|
||||
}
|
||||
x86 {
|
||||
architecture 'x86'
|
||||
}
|
||||
x64 {
|
||||
architecture 'x86_64'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user