android: enable pollyhedral optimization by default.

This commit is contained in:
Andrey Akhmichin 2024-01-12 14:08:27 +05:00
parent 30c1a9fb57
commit b07153f800
1 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,12 @@ android {
minSdkVersion 3 minSdkVersion 3
targetSdk 34 targetSdk 34
compileSdk 34 compileSdk 34
externalNativeBuild {
cmake {
arguments '-DPOLLY=ON'
}
}
} }
externalNativeBuild { externalNativeBuild {
@ -64,4 +70,4 @@ static def getBuildNum() {
int qBuildNum = releaseDate.until(now, ChronoUnit.DAYS) int qBuildNum = releaseDate.until(now, ChronoUnit.DAYS)
int minuteOfDay = now.getHour() * 60 + now.getMinute() int minuteOfDay = now.getHour() * 60 + now.getMinute()
return qBuildNum * 10000 + minuteOfDay return qBuildNum * 10000 + minuteOfDay
} }