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: push:
tags: 'jmp-v*' tags: 'jmp-v*'
env:
# Enable reproducibility-related build system workarounds
REPRODUCIBLE_BUILD: 'true'
jobs: jobs:
release: release:
runs-on: [docker, android-app-certs] runs-on: [docker, android-app-certs]

View file

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