c35959f3cb
Adds activities to the skqp app so it can run as an Android app (as opposed to just instrumentation tests). A user can trigger the tests via a button. Adds the an intent receiver so the tests can be triggered on Firebase Testlab via the gameloop option. It adds the run_testlab.go script to run an apk across devices on Firebase Testlab. Bug: skia: Change-Id: I3ff5c37d743fa47913a916a0fa1e7db3c2cc79c7 Reviewed-on: https://skia-review.googlesource.com/89163 Commit-Queue: Stephan Altmueller <stephana@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com>
31 lines
875 B
Groovy
31 lines
875 B
Groovy
/*
|
|
* Copyright 2017 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
apply plugin: 'com.android.application'
|
|
|
|
dependencies {
|
|
compile 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
compile 'com.android.support:design:26.+'
|
|
compile 'com.android.support.test:runner:0.5'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 26
|
|
buildToolsVersion "22.0.1"
|
|
defaultConfig {
|
|
applicationId "org.skia.skqp"
|
|
minSdkVersion 19
|
|
targetSdkVersion 19
|
|
versionCode 1
|
|
versionName "1.0"
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
sourceSets.main.jni.srcDirs = []
|
|
sourceSets.main.jniLibs.srcDir "src/main/libs"
|
|
productFlavors { arm {}; arm64 {}; x86 {}; x64 {}; arm64vulkan{}; }
|
|
setupSkiaLibraryBuild(project, applicationVariants, "libskqp_app")
|
|
}
|