Fix the issue for incorrect logic of "no_framework_libs"
am: 9cbe677024
Change-Id: I2daf3e97d3458250f6b075317f6bef80a1172599
This commit is contained in:
@@ -234,7 +234,7 @@ func (j *Javadoc) addDeps(ctx android.BottomUpMutatorContext) {
|
||||
sdkDep := decodeSdkDep(ctx, String(j.properties.Sdk_version))
|
||||
if sdkDep.useDefaultLibs {
|
||||
ctx.AddDependency(ctx.Module(), bootClasspathTag, config.DefaultBootclasspathLibraries...)
|
||||
if Bool(j.properties.No_framework_libs) {
|
||||
if !Bool(j.properties.No_framework_libs) {
|
||||
ctx.AddDependency(ctx.Module(), libTag, []string{"ext", "framework"}...)
|
||||
}
|
||||
} else if sdkDep.useModule {
|
||||
|
Reference in New Issue
Block a user