Fix the issue for incorrect logic of "no_framework_libs" am: 9cbe677024

am: e715f2de51

Change-Id: I6e462f02e33c52811031999f90a56e3de1b0abc9
This commit is contained in:
Nan Zhang
2018-03-22 05:20:32 +00:00
committed by android-build-merger

View File

@@ -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 {