Merge "Add synopsis for prebuilt_apis." am: 66f2e8701e
am: a04359740d
Change-Id: I2850abfa3564bfa711e867b2b7707d2f3b329801
This commit is contained in:
commit
8dce4b328d
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