Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion filament
Submodule filament deleted from 5d9337
26 changes: 26 additions & 0 deletions package/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,35 @@ task deleteCmakeCache() {
}
}

task extractFilament(type: Copy) {
// Define the AAR file as an input
def filamentAar = configurations.compileClasspath.filter { it.name.contains("filament-android") }.singleFile
inputs.file(filamentAar)

// Define the output directory
def outputDir = file("$buildDir/filament")
outputs.dir(outputDir)

from zipTree(filamentAar)
into outputDir

include "jni/**/*"
include "libs/**/*.so"

doFirst {
println "Extracting Filament AAR..."
}
doLast {
println "Extraction complete."
}
}

tasks.configureEach { task ->
// C++ clean
if (task.name.contains("clean")) {
task.dependsOn(deleteCmakeCache)
}
if (task.name.startsWith('externalNativeBuild')) {
task.dependsOn(extractFilament)
}
}
202 changes: 0 additions & 202 deletions package/android/libs/filament/LICENSE

This file was deleted.

Loading