aboutsummaryrefslogtreecommitdiff
path: root/android/WALT/app/build.gradle
diff options
context:
space:
mode:
authorAndrew Lehmer <alehmer@google.com>2017-04-26 14:58:59 -0700
committerAndrew Lehmer <alehmer@google.com>2017-04-26 14:58:59 -0700
commite76dcf96b0c451e46cddfa695de8feeb92533937 (patch)
treeed9a45d409f988f517e6c3f3a685cbf81ac45a5a /android/WALT/app/build.gradle
parentbcf013dda8ffac9fd76937be6441b44bb9f3586f (diff)
downloadwalt-e76dcf96b0c451e46cddfa695de8feeb92533937.tar.gz
Import google/walt
Cloned from https://github.com/google/walt.git without modification. Bug: 36896528 Test: N/A
Diffstat (limited to 'android/WALT/app/build.gradle')
-rw-r--r--android/WALT/app/build.gradle50
1 files changed, 50 insertions, 0 deletions
diff --git a/android/WALT/app/build.gradle b/android/WALT/app/build.gradle
new file mode 100644
index 0000000..531142e
--- /dev/null
+++ b/android/WALT/app/build.gradle
@@ -0,0 +1,50 @@
+apply plugin: 'com.android.model.application'
+
+model {
+ android {
+ compileSdkVersion 25
+ buildToolsVersion "25.0.2"
+
+ defaultConfig {
+ applicationId "org.chromium.latency.walt"
+ minSdkVersion.apiLevel 17
+ targetSdkVersion.apiLevel 23
+ versionCode 8
+ versionName "0.1.7"
+ }
+ ndk {
+ moduleName "sync_clock_jni"
+ CFlags.addAll "-I${project.rootDir}/app/src/main/jni".toString(), "-g", "-DUSE_LIBLOG", "-Werror"
+ ldLibs.addAll "OpenSLES", "log"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles.add(file("proguard-rules.pro"))
+ }
+ debug {
+ ndk {
+ debuggable true
+ }
+ }
+ }
+ }
+}
+
+dependencies {
+ compile 'com.android.support:appcompat-v7:25.1.0'
+ compile 'com.android.support:design:25.1.0'
+ compile 'com.android.support:preference-v7:25.1.0'
+ compile 'com.android.support:preference-v14:25.1.0'
+ compile 'com.github.PhilJay:MPAndroidChart:v3.0.1'
+ testCompile 'junit:junit:4.12'
+ testCompile 'org.mockito:mockito-core:1.10.19'
+ testCompile ('org.powermock:powermock-api-mockito:1.6.2') {
+ exclude module: 'hamcrest-core'
+ exclude module: 'objenesis'
+ }
+ testCompile ('org.powermock:powermock-module-junit4:1.6.2') {
+ exclude module: 'hamcrest-core'
+ exclude module: 'objenesis'
+ }
+}