Stage the Qualcomm runtime before the build so lint sees its assets as a dependency

(cherry picked from commit d93021ad52)
This commit is contained in:
maxjivi05 authored and The412Banner committed 2026-10-25 23:09:14 +00:00
1 parent b0b2daa993
commit c133a2fbd9
1 file changed
+1 -3
+1 -3
View File
@@ -313,9 +313,7 @@ def stageQualcommRuntime = tasks.register('stageQualcommRuntime', Exec) {
'--ndk', android.ndkDirectory.absolutePath
}
android.sourceSets.main.assets.srcDir(layout.buildDirectory.dir('qualcommAssets'))
tasks.configureEach { task ->
if (task.name ==~ /merge.*Assets/) task.dependsOn(stageQualcommRuntime)
}
tasks.named('preBuild').configure { dependsOn(stageQualcommRuntime) }
if (vitureSdkDir) android.sourceSets.main.assets.srcDir(layout.buildDirectory.dir('vitureAssets'))
if (uvcDir) {
def stageUvcNotices = tasks.register('stageUvcNotices', Copy) {