Merge "Add synopsis for prebuilt_apis."
am: 66f2e8701e
Change-Id: I371cd04d327f97f93ef46fa391a6fb43b87887b4
This commit is contained in:
commit
a04359740d
1 changed files with 6 additions and 7 deletions
|
@ -22,13 +22,6 @@ import (
|
|||
"github.com/google/blueprint/proptools"
|
||||
)
|
||||
|
||||
// prebuilt_apis is a meta-module that generates filegroup modules for all
|
||||
// API txt files found under the directory where the Android.bp is located.
|
||||
// Specificaly, an API file located at ./<ver>/<scope>/api/<module>.txt
|
||||
// generates a filegroup module named <module>-api.<scope>.<ver>.
|
||||
//
|
||||
// It also creates <module>-api.<scope>.latest for the lastest <ver>.
|
||||
//
|
||||
func init() {
|
||||
android.RegisterModuleType("prebuilt_apis", PrebuiltApisFactory)
|
||||
|
||||
|
@ -188,6 +181,12 @@ func PrebuiltApisMutator(mctx android.TopDownMutatorContext) {
|
|||
}
|
||||
}
|
||||
|
||||
// prebuilt_apis is a meta-module that generates filegroup modules for all
|
||||
// API txt files found under the directory where the Android.bp is located.
|
||||
// Specifically, an API file located at ./<ver>/<scope>/api/<module>.txt
|
||||
// generates a filegroup module named <module>-api.<scope>.<ver>.
|
||||
//
|
||||
// It also creates <module>-api.<scope>.latest for the latest <ver>.
|
||||
func PrebuiltApisFactory() android.Module {
|
||||
module := &prebuiltApis{}
|
||||
module.AddProperties(&module.properties)
|
||||
|
|
Loading…
Reference in a new issue