Add aidl properties
The aidl files are allowed when creating the droiddoc module in java_sdk_library. But The properties of AIDL, local_include_dir and include_dir, are not passed to the droiddoc module. These properties are add because they are needed to generate the java files. Bug: 77575606 Test: build && java_test.go Change-Id: I1006c9ce7a5c7e424416d39fb921c27a3fa86afa
This commit is contained in:
parent
4a789b1c3d
commit
1b92c824f3
1 changed files with 6 additions and 0 deletions
|
@ -345,6 +345,10 @@ func (module *sdkLibrary) createDocs(mctx android.TopDownMutatorContext, apiScop
|
|||
Current ApiToCheck
|
||||
Last_released ApiToCheck
|
||||
}
|
||||
Aidl struct {
|
||||
Include_dirs []string
|
||||
Local_include_dirs []string
|
||||
}
|
||||
}{}
|
||||
|
||||
props.Name = proptools.StringPtr(module.docsName(apiScope))
|
||||
|
@ -353,6 +357,8 @@ func (module *sdkLibrary) createDocs(mctx android.TopDownMutatorContext, apiScop
|
|||
props.Custom_template = proptools.StringPtr("droiddoc-templates-sdk")
|
||||
props.Installable = proptools.BoolPtr(false)
|
||||
props.Libs = module.properties.Libs
|
||||
props.Aidl.Include_dirs = module.deviceProperties.Aidl.Include_dirs
|
||||
props.Aidl.Local_include_dirs = module.deviceProperties.Aidl.Local_include_dirs
|
||||
|
||||
droiddocArgs := " -hide 110 -hide 111 -hide 113 -hide 121 -hide 125 -hide 126 -hide 127 -hide 128" +
|
||||
" -stubpackages " + strings.Join(module.properties.Api_packages, ":") +
|
||||
|
|
Loading…
Reference in a new issue