You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
44 lines
1.3 KiB
apply plugin: 'com.android.application'
|
|
|
|
apply from: 'profiling.gradle'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion '26.0.2'
|
|
defaultConfig {
|
|
applicationId "com.example.simpleperf.simpleperfexamplewithnative"
|
|
minSdkVersion 15
|
|
targetSdkVersion 25
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
externalNativeBuild {
|
|
cmake {
|
|
cppFlags "-std=c++11"
|
|
}
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path "CMakeLists.txt"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
implementation 'com.android.support:appcompat-v7:25.3.1'
|
|
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
testImplementation 'junit:junit:4.12'
|
|
}
|