Remove api_srcs property from java_sdk_library

The property is no longer used.

Bug: 141149570
Test: m
Change-Id: I3136c7b03138296dc59127f596f7e96502edf608
This commit is contained in:
Jiyong Park
2019-10-31 20:38:14 +09:00
parent 5d0b3b7195
commit 9495b76fbd

View File

@@ -79,9 +79,6 @@ func init() {
}
type sdkLibraryProperties struct {
// list of optional source files that are part of API but not part of runtime library.
Api_srcs []string `android:"arch_variant"`
// List of Java libraries that will be in the classpath when building stubs
Stub_only_libs []string `android:"arch_variant"`
@@ -461,7 +458,6 @@ func (module *SdkLibrary) createDocs(mctx android.LoadHookContext, apiScope apiS
props.Name = proptools.StringPtr(module.docsName(apiScope))
props.Srcs = append(props.Srcs, module.Library.Module.properties.Srcs...)
props.Srcs = append(props.Srcs, module.sdkLibraryProperties.Api_srcs...)
props.Sdk_version = proptools.StringPtr(sdkVersion)
props.Installable = proptools.BoolPtr(false)
// A droiddoc module has only one Libs property and doesn't distinguish between