| 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' |
| } |