Skip to content

Commit

Permalink
Move AOSP libs to root libs dir
Browse files Browse the repository at this point in the history
  • Loading branch information
grote committed Sep 6, 2024
1 parent 4cdec60 commit 0dc6821
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 0dc6821

Please sign in to comment.