Ditch REPRODUCIBLE_BUILD flag and set all prefix maps unconditionally
All checks were successful
/ build-debug (push) Successful in 3m45s

This commit is contained in:
Peter Cai 2024-04-13 11:33:00 -04:00
parent a4bd4f4305
commit d588ba78c1
2 changed files with 5 additions and 10 deletions

View file

@ -2,10 +2,6 @@ on:
push:
tags: 'jmp-v*'
env:
# Enable reproducibility-related build system workarounds
REPRODUCIBLE_BUILD: 'true'
jobs:
release:
runs-on: [docker, android-app-certs]

View file

@ -15,12 +15,11 @@ android {
externalNativeBuild {
ndkBuild {
if (System.getenv("REPRODUCIBLE_BUILD") != "true") {
arguments("-j4")
} else {
arguments("-j1")
cFlags("-fmacro-prefix-map=${project.projectDir.toString()}=/fake/path/")
}
cFlags(
"-fmacro-prefix-map=${project.projectDir.toString()}=/fake/path/",
"-fdebug-prefix-map=${project.projectDir.toString()}=/fake/path/",
"-ffile-prefix-map=${project.projectDir.toString()}=/fake/path/"
)
}
}
}