Integrate exact user-authorized correct03 720 debug assets with isolated admission
This commit is contained in:
+15
-3
@@ -18,6 +18,7 @@ def avatarNatural = providers.gradleProperty('avatarNatural').orNull == 'true'
|
||||
def avatarUiCandidate = providers.gradleProperty('avatarUiCandidate').orNull == 'true'
|
||||
def avatarMouthCandidate = providers.gradleProperty('avatarMouthCandidate').orNull == 'true'
|
||||
def avatarActionCandidate = providers.gradleProperty('avatarActionCandidate').orNull == 'true'
|
||||
def avatarUserAssetCandidate = providers.gradleProperty('avatarUserAssetCandidate').orNull == 'true'
|
||||
def avatarStartupFix = providers.gradleProperty('avatarStartupFix').orNull == 'true'
|
||||
def cameraCompatibilityFix = providers.gradleProperty('cameraCompatibilityFix').orNull == 'true'
|
||||
def cameraDirectYuv = providers.gradleProperty('cameraDirectYuv').orNull == 'true'
|
||||
@@ -51,7 +52,8 @@ if (cameraPreviewStream && (!cameraDirectYuv || actionVersionCode < 27)) throw n
|
||||
if (faceDiagnosticsFix && (!presenceCandidate || actionVersionCode < 24)) throw new GradleException('Face diagnostics fix requires presence and fresh code >=24')
|
||||
if (presenceCandidate && (!avatarStartupFix || actionVersionCode < 23)) throw new GradleException('Presence candidate requires startup fix and fresh code >=23')
|
||||
if (avatarStartupFix && (!avatarPlaybackClockFix || actionVersionCode < 22)) throw new GradleException('Startup fix requires repaired playback and fresh code >=22')
|
||||
if (avatarPlaybackClockFix && (!avatarFullActionCandidate || actionVersionCode < 21 || emotionManifestSha != '987e125a7d7a2cde99121b5f5246c82f4dbe36c4899d3d49eaffd1a68bafb887')) throw new GradleException('Playback clock fix requires frozen full graph and fresh code >=21')
|
||||
if (avatarUserAssetCandidate && (!avatarStartupFix || !cameraProbeDiagnostic || actionVersionCode < 30 || emotionManifestSha != '208f703ed92bf795bfeb78a1cef89b67bed2e45da80038a56157fd1ecd4cfa93')) throw new GradleException('User asset debug candidate requires exact authorized correct03, startup and current diagnostics, fresh code >=30')
|
||||
if (!avatarUserAssetCandidate && avatarPlaybackClockFix && (!avatarFullActionCandidate || actionVersionCode < 21 || emotionManifestSha != '987e125a7d7a2cde99121b5f5246c82f4dbe36c4899d3d49eaffd1a68bafb887')) throw new GradleException('Playback clock fix requires frozen full graph and fresh code >=21')
|
||||
if (avatarPlaybackDiagnostic && (!avatarFullActionCandidate || actionVersionCode < 20 || emotionManifestSha != '987e125a7d7a2cde99121b5f5246c82f4dbe36c4899d3d49eaffd1a68bafb887')) throw new GradleException('Playback diagnostic requires frozen full graph and fresh code >=20')
|
||||
if (avatarRuntimeFix && (!avatarFullActionCandidate || actionVersionCode < 19)) throw new GradleException('Runtime fix requires full pinned graph and fresh code >=19')
|
||||
if (avatarNatural && !(naturalManifestSha ==~ /[0-9a-f]{64}/)) {
|
||||
@@ -89,7 +91,9 @@ def stagePackagedAssets = tasks.register('stagePackagedAssets', Sync) {
|
||||
from('src/main/assets')
|
||||
exclude 'avatar/a01-v1/**', 'avatar/a01-standing-v2/**'
|
||||
if (!avatarMouthCandidate) exclude 'avatar/a01-neutral-graph-v1/runtime-04/**'
|
||||
if (!avatarStartupFix) exclude 'avatar/startup-white-01/**'
|
||||
if (!avatarStartupFix || avatarUserAssetCandidate) exclude 'avatar/startup-white-01/**'
|
||||
if (!avatarUserAssetCandidate) exclude 'avatar/startup-black-tulle-correct03/**', 'avatar/a01-black-tulle-roomy720-correct03/**'
|
||||
if (avatarUserAssetCandidate) exclude 'avatar/a01-expression-action-v1/**'
|
||||
if (!emotionManifestSha) exclude 'avatar/a01-expression-action-v1/**'
|
||||
into(packagedAssets)
|
||||
}
|
||||
@@ -103,7 +107,7 @@ android {
|
||||
targetSdk 34
|
||||
testInstrumentationRunner 'com.gorios.lanvoice.AvatarCleanUiInstrumentation'
|
||||
versionCode avatarActionCandidate ? actionVersionCode : (avatarMouthCandidate ? 15 : (avatarUiCandidate ? 14 : (avatarNatural ? 13 : 12)))
|
||||
versionName = cameraProbeDiagnostic ? '0.7.11' : cameraPreviewStream ? '0.7.9' : cameraDirectYuv ? '0.7.8' : cameraCompatibilityFix ? '0.7.7' : faceDiagnosticsFix ? '0.7.6' : presenceCandidate ? '0.7.5' : avatarStartupFix ? '0.7.4' : avatarPlaybackClockFix ? '0.7.3' : avatarPlaybackDiagnostic ? '0.7.2' : avatarRuntimeFix ? '0.7.1' : (avatarActionCandidate ? '0.7.0' : ((avatarUiCandidate || avatarMouthCandidate) ? '0.6.2' : '0.6.1'))
|
||||
versionName = avatarUserAssetCandidate ? '0.7.12' : cameraProbeDiagnostic ? '0.7.11' : cameraPreviewStream ? '0.7.9' : cameraDirectYuv ? '0.7.8' : cameraCompatibilityFix ? '0.7.7' : faceDiagnosticsFix ? '0.7.6' : presenceCandidate ? '0.7.5' : avatarStartupFix ? '0.7.4' : avatarPlaybackClockFix ? '0.7.3' : avatarPlaybackDiagnostic ? '0.7.2' : avatarRuntimeFix ? '0.7.1' : (avatarActionCandidate ? '0.7.0' : ((avatarUiCandidate || avatarMouthCandidate) ? '0.6.2' : '0.6.1'))
|
||||
ndk { abiFilters 'arm64-v8a' }
|
||||
}
|
||||
compileOptions { sourceCompatibility JavaVersion.VERSION_17; targetCompatibility JavaVersion.VERSION_17 }
|
||||
@@ -118,6 +122,10 @@ android {
|
||||
else if (avatarUiCandidate) versionNameSuffix '-ui-dev'
|
||||
else if (avatarNatural) versionNameSuffix '-natural-dev'
|
||||
else if (avatarEngineering) versionNameSuffix '-dev'
|
||||
buildConfigField 'boolean', 'AVATAR_USER_ASSET_CANDIDATE', avatarUserAssetCandidate ? 'true' : 'false'
|
||||
buildConfigField 'String', 'EMOTION_ASSET_ROOT', '"' + (avatarUserAssetCandidate ? 'avatar/a01-black-tulle-roomy720-correct03/' : 'avatar/a01-expression-action-v1/') + '"'
|
||||
buildConfigField 'String', 'STARTUP_ASSET_ROOT', '"' + (avatarUserAssetCandidate ? 'avatar/startup-black-tulle-correct03/' : 'avatar/startup-white-01/') + '"'
|
||||
buildConfigField 'String', 'STARTUP_MANIFEST_SHA', '"' + (avatarUserAssetCandidate ? '29669529887db78e0d64d2e7afd89cb8866aefc84e2523195d4bb936ec2ae382' : '461f5cfc10036de5f10ca3ce765fb8d9998697d3fd035aa9b1862d2ccfc3eaa2') + '"'
|
||||
buildConfigField 'boolean', 'CAMERA_PROBE_DIAGNOSTIC', cameraProbeDiagnostic ? 'true' : 'false'
|
||||
buildConfigField 'boolean', 'AVATAR_STARTUP_FIX', avatarStartupFix ? 'true' : 'false'
|
||||
buildConfigField 'boolean', 'AVATAR_ENGINEERING', (avatarEngineering || avatarNatural) ? 'true' : 'false'
|
||||
@@ -127,6 +135,10 @@ android {
|
||||
buildConfigField 'String', 'EMOTION_MANIFEST_SHA', '"' + emotionManifestSha + '"'
|
||||
}
|
||||
release {
|
||||
buildConfigField 'boolean', 'AVATAR_USER_ASSET_CANDIDATE', 'false'
|
||||
buildConfigField 'String', 'EMOTION_ASSET_ROOT', '"avatar/a01-expression-action-v1/"'
|
||||
buildConfigField 'String', 'STARTUP_ASSET_ROOT', '"avatar/startup-white-01/"'
|
||||
buildConfigField 'String', 'STARTUP_MANIFEST_SHA', '"461f5cfc10036de5f10ca3ce765fb8d9998697d3fd035aa9b1862d2ccfc3eaa2"'
|
||||
buildConfigField 'boolean', 'CAMERA_PROBE_DIAGNOSTIC', 'false'
|
||||
buildConfigField 'boolean', 'AVATAR_STARTUP_FIX', 'false'
|
||||
buildConfigField 'boolean', 'AVATAR_ENGINEERING', 'false'
|
||||
|
||||
Reference in New Issue
Block a user