Wire reviewed emotion bridges and action media playback fences
This commit is contained in:
@@ -29,6 +29,8 @@ if (avatarUiCandidate && !avatarNatural) {
|
||||
throw new GradleException('UI candidate requires the pinned natural debug runtime')
|
||||
}
|
||||
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 (avatarNatural && !(naturalManifestSha ==~ /[0-9a-f]{64}/)) {
|
||||
throw new GradleException('Natural debug candidate requires exact runtime manifest SHA')
|
||||
}
|
||||
@@ -93,12 +95,14 @@ android {
|
||||
buildConfigField 'boolean', 'AVATAR_NATURAL', avatarNatural ? 'true' : 'false'
|
||||
buildConfigField 'boolean', 'AVATAR_MOUTH_CANDIDATE', avatarMouthCandidate ? 'true' : 'false'
|
||||
buildConfigField 'String', 'NATURAL_MANIFEST_SHA', '"' + (avatarNatural ? naturalManifestSha : '') + '"'
|
||||
buildConfigField 'String', 'EMOTION_MANIFEST_SHA', '"' + emotionManifestSha + '"'
|
||||
}
|
||||
release {
|
||||
buildConfigField 'boolean', 'AVATAR_ENGINEERING', 'false'
|
||||
buildConfigField 'boolean', 'AVATAR_NATURAL', 'false'
|
||||
buildConfigField 'boolean', 'AVATAR_MOUTH_CANDIDATE', 'false'
|
||||
buildConfigField 'String', 'NATURAL_MANIFEST_SHA', '""'
|
||||
buildConfigField 'String', 'EMOTION_MANIFEST_SHA', '""'
|
||||
}
|
||||
}
|
||||
androidResources { noCompress += ['task', 'mp4'] }
|
||||
|
||||
Reference in New Issue
Block a user