From 5fb5b2a7f52cd867dedec3df34f6e0eef96e833c Mon Sep 17 00:00:00 2001 From: Jaewoong Jung Date: Thu, 21 Mar 2019 10:48:25 -0700 Subject: [PATCH] Add synopsis for prebuilt_apis. Test: m soong_docs Change-Id: I0e2cefd3dd24e5c8483d32cc325a37e96d3d495c --- java/prebuilt_apis.go | 13 ++++++------- 1 file 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 .///api/.txt -// generates a filegroup module named -api... -// -// It also creates -api..latest for the lastest . -// 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 .///api/.txt +// generates a filegroup module named -api... +// +// It also creates -api..latest for the latest . func PrebuiltApisFactory() android.Module { module := &prebuiltApis{} module.AddProperties(&module.properties)