diff options
author | Hal Canary <halcanary@google.com> | 2017-12-12 09:42:14 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-18 18:58:52 +0000 |
commit | 28f89389f026379aad6f90254ba37f4d37272bcb (patch) | |
tree | 7736d9a3fdd88d628bb070bc5348096d3e363a9a /platform_tools/android/apps/skqp/build.gradle | |
parent | 37155d476cd727329d985b75ecedbefe380a0f23 (diff) |
SkQP: add junit app
Change-Id: Ic32eaec6cce1509f07e7cf610717d3b12d335c89
Reviewed-on: https://skia-review.googlesource.com/83921
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'platform_tools/android/apps/skqp/build.gradle')
-rw-r--r-- | platform_tools/android/apps/skqp/build.gradle | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/platform_tools/android/apps/skqp/build.gradle b/platform_tools/android/apps/skqp/build.gradle new file mode 100644 index 0000000000..0a883ca869 --- /dev/null +++ b/platform_tools/android/apps/skqp/build.gradle @@ -0,0 +1,30 @@ +/* + * 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:support-annotations:24.0.0' + compile 'com.android.support.test:runner:0.5' + compile group: 'junit', name: 'junit', version: '4.+' +} + +android { + compileSdkVersion 23 + 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") +} |