summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2019-03-22 17:16:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-03-22 17:16:45 +0000
commit66f2e8701e68f18d600c91a7c0779d4b9c8db3fe (patch)
tree9bbc899d59c6478ba4cf0a79120781d645abab5b /java
parent663716bc35b1c3e00823a044c76593577b7e3538 (diff)
parent5fb5b2a7f52cd867dedec3df34f6e0eef96e833c (diff)
Merge "Add synopsis for prebuilt_apis."
Diffstat (limited to 'java')
-rw-r--r--java/prebuilt_apis.go13
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)