Support bridge-owned TALK layers and recover free P4a candidate
This commit is contained in:
+4
-1
@@ -31,6 +31,7 @@ if (avatarUiCandidate && !avatarNatural) {
|
||||
def naturalManifestSha = providers.gradleProperty('naturalManifestSha').orNull ?: ''
|
||||
def emotionManifestSha = providers.gradleProperty('emotionManifestSha').orNull ?: ''
|
||||
if (emotionManifestSha && !(emotionManifestSha ==~ /[0-9a-f]{64}/)) throw new GradleException('Emotion graph requires exact external manifest SHA')
|
||||
if (emotionManifestSha && (!avatarActionCandidate || !avatarMouthCandidate || !avatarNatural || actionVersionCode < 17)) throw new GradleException('Emotion candidate requires own-mouth runtime and a fresh code >=17')
|
||||
if (avatarNatural && !(naturalManifestSha ==~ /[0-9a-f]{64}/)) {
|
||||
throw new GradleException('Natural debug candidate requires exact runtime manifest SHA')
|
||||
}
|
||||
@@ -66,6 +67,7 @@ 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 (!emotionManifestSha) exclude 'avatar/a01-expression-action-v1/**'
|
||||
into(packagedAssets)
|
||||
}
|
||||
|
||||
@@ -86,7 +88,8 @@ android {
|
||||
buildFeatures { compose true; buildConfig true }
|
||||
buildTypes {
|
||||
debug {
|
||||
if (avatarActionCandidate) versionNameSuffix '-stage-dev'
|
||||
if (emotionManifestSha) versionNameSuffix '-emotion-stage-dev'
|
||||
else if (avatarActionCandidate) versionNameSuffix '-stage-dev'
|
||||
else if (avatarMouthCandidate) versionNameSuffix '-mouth-dev'
|
||||
else if (avatarUiCandidate) versionNameSuffix '-ui-dev'
|
||||
else if (avatarNatural) versionNameSuffix '-natural-dev'
|
||||
|
||||
Reference in New Issue
Block a user