Move AOSP libs to root libs dir

This commit is contained in:
Torsten Grote 2024-08-28 16:36:02 -03:00
parent b59da2a805
commit 206affee00
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF
4 changed files with 2 additions and 2 deletions

View file

@ -187,7 +187,7 @@ dependencies {
gradle.projectsEvaluated {
tasks.withType(JavaCompile::class) {
options.compilerArgs.add("-Xbootclasspath/p:app/libs/android.jar:app/libs/libcore.jar")
options.compilerArgs.add("-Xbootclasspath/p:libs/aosp/android.jar:libs/aosp/libcore.jar")
}
}

View file

@ -17,7 +17,7 @@ plugins {
}
val aospLibs by extra {
fileTree("$rootDir/app/libs") { // TODO move libs to root
fileTree("$rootDir/libs/aosp") {
// For more information about this module:
// https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-11.0.0_r3/Android.bp#507
// framework_intermediates/classes-header.jar works for gradle build as well,