diff options
author | 2019-03-21 10:48:25 -0700 | |
---|---|---|
committer | 2019-03-21 17:44:11 -0700 | |
commit | 5fb5b2a7f52cd867dedec3df34f6e0eef96e833c (patch) | |
tree | 9c41086bc49312ff42c03746bd5f04d3186ef2fd /java/prebuilt_apis.go | |
parent | 53c88448fd2497023cd6403a7aa72a3f763f3e3a (diff) |
Add synopsis for prebuilt_apis.
Test: m soong_docs
Change-Id: I0e2cefd3dd24e5c8483d32cc325a37e96d3d495c
Diffstat (limited to 'java/prebuilt_apis.go')
-rw-r--r-- | java/prebuilt_apis.go | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/java/prebuilt_apis.go b/java/prebuilt_apis.go index 02b9b455d..c37081130 100644 --- a/java/prebuilt_apis.go +++ b/java/prebuilt_apis.go @@ -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) |