xref: /aosp_15_r20/external/walt/android/WALT/app/build.gradle (revision bf47c6829f95be9dd55f4c5bbc44a71c90aad403)
1*bf47c682SAndroid Build Coastguard Workerapply plugin: 'com.android.application'
2*bf47c682SAndroid Build Coastguard Worker
3*bf47c682SAndroid Build Coastguard Worker
4*bf47c682SAndroid Build Coastguard Workerandroid {
5*bf47c682SAndroid Build Coastguard Worker    compileSdkVersion 29
6*bf47c682SAndroid Build Coastguard Worker    buildToolsVersion '29.0.3'
7*bf47c682SAndroid Build Coastguard Worker
8*bf47c682SAndroid Build Coastguard Worker    defaultConfig {
9*bf47c682SAndroid Build Coastguard Worker        applicationId "org.chromium.latency.walt"
10*bf47c682SAndroid Build Coastguard Worker        minSdkVersion 21
11*bf47c682SAndroid Build Coastguard Worker        targetSdkVersion 29
12*bf47c682SAndroid Build Coastguard Worker        versionCode 10
13*bf47c682SAndroid Build Coastguard Worker        versionName "0.1.10"
14*bf47c682SAndroid Build Coastguard Worker    }
15*bf47c682SAndroid Build Coastguard Worker
16*bf47c682SAndroid Build Coastguard Worker    externalNativeBuild.ndkBuild {
17*bf47c682SAndroid Build Coastguard Worker        path 'src/main/jni/Android.mk'
18*bf47c682SAndroid Build Coastguard Worker    }
19*bf47c682SAndroid Build Coastguard Worker
20*bf47c682SAndroid Build Coastguard Worker    buildTypes {
21*bf47c682SAndroid Build Coastguard Worker        release {
22*bf47c682SAndroid Build Coastguard Worker                minifyEnabled false
23*bf47c682SAndroid Build Coastguard Worker        }
24*bf47c682SAndroid Build Coastguard Worker        debug {
25*bf47c682SAndroid Build Coastguard Worker            ndk {
26*bf47c682SAndroid Build Coastguard Worker                debuggable true
27*bf47c682SAndroid Build Coastguard Worker            }
28*bf47c682SAndroid Build Coastguard Worker        }
29*bf47c682SAndroid Build Coastguard Worker    }
30*bf47c682SAndroid Build Coastguard Worker
31*bf47c682SAndroid Build Coastguard Worker    ndkVersion "21.0.6113669"
32*bf47c682SAndroid Build Coastguard Worker
33*bf47c682SAndroid Build Coastguard Worker    lintOptions {
34*bf47c682SAndroid Build Coastguard Worker        abortOnError false
35*bf47c682SAndroid Build Coastguard Worker    }
36*bf47c682SAndroid Build Coastguard Worker}
37*bf47c682SAndroid Build Coastguard Worker
38*bf47c682SAndroid Build Coastguard Workerdependencies {
39*bf47c682SAndroid Build Coastguard Worker    implementation 'androidx.appcompat:appcompat:1.1.0'
40*bf47c682SAndroid Build Coastguard Worker    implementation 'com.google.android.material:material:1.1.0'
41*bf47c682SAndroid Build Coastguard Worker    implementation 'androidx.preference:preference:1.1.1'
42*bf47c682SAndroid Build Coastguard Worker    implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
43*bf47c682SAndroid Build Coastguard Worker    implementation 'com.github.PhilJay:MPAndroidChart:v3.0.1'
44*bf47c682SAndroid Build Coastguard Worker    implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
45*bf47c682SAndroid Build Coastguard Worker    testImplementation 'junit:junit:4.13'
46*bf47c682SAndroid Build Coastguard Worker    testImplementation 'org.mockito:mockito-core:1.10.19'
47*bf47c682SAndroid Build Coastguard Worker    testImplementation ('org.powermock:powermock-api-mockito:1.6.6') {
48*bf47c682SAndroid Build Coastguard Worker        exclude module: 'hamcrest-core'
49*bf47c682SAndroid Build Coastguard Worker        exclude module: 'objenesis'
50*bf47c682SAndroid Build Coastguard Worker    }
51*bf47c682SAndroid Build Coastguard Worker    testImplementation ('org.powermock:powermock-module-junit4:1.6.6') {
52*bf47c682SAndroid Build Coastguard Worker        exclude module: 'hamcrest-core'
53*bf47c682SAndroid Build Coastguard Worker        exclude module: 'objenesis'
54*bf47c682SAndroid Build Coastguard Worker    }
55*bf47c682SAndroid Build Coastguard Worker}
56