Move AOSP libs to root libs dir
This commit is contained in:
parent
b59da2a805
commit
206affee00
4 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ dependencies {
|
||||||
|
|
||||||
gradle.projectsEvaluated {
|
gradle.projectsEvaluated {
|
||||||
tasks.withType(JavaCompile::class) {
|
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
val aospLibs by extra {
|
val aospLibs by extra {
|
||||||
fileTree("$rootDir/app/libs") { // TODO move libs to root
|
fileTree("$rootDir/libs/aosp") {
|
||||||
// For more information about this module:
|
// For more information about this module:
|
||||||
// https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-11.0.0_r3/Android.bp#507
|
// 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,
|
// framework_intermediates/classes-header.jar works for gradle build as well,
|
||||||
|
|
Loading…
Reference in a new issue