Add Static libs to droiddoc libs
Add Static libs to droiddoc libs because The droiddoc doesn't distinguish between shared libs and static libs and static libs are needed when creating droiddoc modules. Bug:77577799 Test: make -j Change-Id: Iace79800d2338518e5f881f01d0002908544234f
This commit is contained in:
@@ -356,7 +356,10 @@ func (module *sdkLibrary) createDocs(mctx android.TopDownMutatorContext, apiScop
|
||||
props.Srcs = append(props.Srcs, module.properties.Api_srcs...)
|
||||
props.Custom_template = proptools.StringPtr("droiddoc-templates-sdk")
|
||||
props.Installable = proptools.BoolPtr(false)
|
||||
// A droiddoc module has only one Libs property and doesn't distinguish between
|
||||
// shared libs and static libs. So we need to add both of these libs to Libs property.
|
||||
props.Libs = module.properties.Libs
|
||||
props.Libs = append(props.Libs, module.properties.Static_libs...)
|
||||
props.Aidl.Include_dirs = module.deviceProperties.Aidl.Include_dirs
|
||||
props.Aidl.Local_include_dirs = module.deviceProperties.Aidl.Local_include_dirs
|
||||
|
||||
|
Reference in New Issue
Block a user