File: build.gradle

package info (click to toggle)
mlterm 3.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,340 kB
  • sloc: ansic: 154,713; sh: 5,302; cpp: 2,953; objc: 2,776; java: 2,472; makefile: 2,445; perl: 1,674; xml: 44
file content (43 lines) | stat: -rw-r--r-- 820 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apply plugin: 'com.android.application'

android {
    namespace = "mlterm.native_activity"

    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 24
        compileSdkVersion 24

        ndk {
            abiFilters 'x86_64', 'armeabi-v7a'
        }
    }

    externalNativeBuild {
        ndkBuild {
            path 'src/main/jni/Android.mk'
        }
    }

    buildTypes {
        debug {
            externalNativeBuild {
                ndkBuild {
                    arguments 'LOCAL_CFLAGS_DEB+=-DBL_DEBUG', 'LOCAL_CFLAGS_DEB+=-DDEBUG'
                }
            }
        }

        release {
            externalNativeBuild {
                ndkBuild {
                }
            }
        }
    }

    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
}