Enable windows builds

This commit is contained in:
Brad Davis 2017-11-22 17:15:45 -08:00
parent 6bdaf638cf
commit 8f43083ded
5 changed files with 16 additions and 11 deletions

View file

@ -11,7 +11,7 @@ buildscript {
def file='gvrsdk_v1.101.0.tgz'
def url='https://github.com/googlevr/gvr-android-sdk/archive/v1.101.0.tar.gz'
def url='https://hifi-public.s3.amazonaws.com/austin/android/' + file
def destFile = new File(HIFI_ANDROID_PRECOMPILED, file)
// FIXME find a way to only download if the file doesn't exist

View file

@ -10,7 +10,7 @@ buildscript {
}
def file='openssl-1.1.0g_armv8.tgz'
def url='https://s3.amazonaws.com/Oculus/Android/' + file
def url='https://hifi-public.s3.amazonaws.com/austin/android/' + file
def destFile = new File(HIFI_ANDROID_PRECOMPILED, file)
task downloadOpenSSL(type: de.undercouch.gradle.tasks.download.Download) {

View file

@ -12,11 +12,14 @@ buildscript {
import org.apache.tools.ant.taskdefs.condition.Os
def file='qt-5.9.2_armv8-libcpp.tgz'
def file='qt-5.9.2_linux_armv8-libcpp.tgz'
if (Os.isFamily(Os.FAMILY_MAC)) {
file = 'qt-5.9.2_osx_armv8-libcpp.tgz'
} else if (Os.isFamily(Os.FAMILY_WINDOWS)) {
file = 'qt-5.9.3_win_armv8-libcpp.tgz'
}
def url='https://s3.amazonaws.com/Oculus/Android/' + file
def url='https://hifi-public.s3.amazonaws.com/austin/android/' + file
def destFile = new File(HIFI_ANDROID_PRECOMPILED, file)
task downloadQt(type: de.undercouch.gradle.tasks.download.Download) {

View file

@ -12,19 +12,21 @@ buildscript {
import org.apache.tools.ant.taskdefs.condition.Os
def file='scribe_linux_x86_64'
def localFile='scribe'
if (Os.isFamily(Os.FAMILY_MAC)) {
file = 'scribe_osx_x86_64'
}
def localFile='scribe'
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
file = 'scribe.exe'
} else if (Os.isFamily(Os.FAMILY_WINDOWS)) {
file = 'scribe_win32_x86_64.exe'
localFile = 'scribe.exe'
}
def url='https://s3.amazonaws.com/Oculus/Android/' + file
def url='https://hifi-public.s3.amazonaws.com/austin/android/' + file
def destFile = new File(HIFI_ANDROID_PRECOMPILED, localFile)
task filepermission(type: Exec) {
commandLine 'chmod', '700', '<file_path>'
if (!Os.isFamily(Os.FAMILY_WINDOWS)) {
commandLine 'chmod', '700', '<file_path>'
}
}
task downloadScribe(type: de.undercouch.gradle.tasks.download.Download) {

View file

@ -10,7 +10,7 @@ buildscript {
}
def file='tbb-2018_U1_armv8_libcpp.tgz'
def url='https://s3.amazonaws.com/Oculus/Android/' + file
def url='https://hifi-public.s3.amazonaws.com/austin/android/' + file
def destFile = new File(HIFI_ANDROID_PRECOMPILED, file)
task downloadTBB(type: de.undercouch.gradle.tasks.download.Download) {