lpac-jni: Reimplement deterministic __FILE__ prefix using gradle
This commit is contained in:
parent
a923b0995c
commit
17ff506d88
|
@ -14,9 +14,12 @@ android {
|
|||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
externalNativeBuild {
|
||||
if (System.getenv("REPRODUCIBLE_BUILD") != "true") {
|
||||
ndkBuild {
|
||||
ndkBuild {
|
||||
if (System.getenv("REPRODUCIBLE_BUILD") != "true") {
|
||||
arguments("-j4")
|
||||
} else {
|
||||
arguments("-j1")
|
||||
cFlags("-fmacro-prefix-map=${project.projectDir.toString()}=/fake/path/")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
APP_ABI := all
|
||||
APP_SHORT_COMMANDS := true
|
||||
APP_CLFAGS := -fmacro-prefix-map="$(call my-dir)"=/fake/prefix/
|
||||
APP_SHORT_COMMANDS := true
|
Loading…
Reference in a new issue