diff options
author | 2021-05-07 01:10:01 +0100 | |
---|---|---|
committer | 2021-05-11 01:00:12 +0100 | |
commit | 0df49686b3f01c20a5f12250f9a0d57666f2f30f (patch) | |
tree | c07e9d48c3da959f0b45d413cca0981f88d08f22 /android/sdk.go | |
parent | 1308205638c6c345b0ac6d993211b4b87f8d43cb (diff) |
Add support for name-less modules and property comments
Bug: 181569894
Test: m nothing
Change-Id: Ia4da1d2a55a924db82ae999da455adedbaca47c0
Diffstat (limited to 'android/sdk.go')
-rw-r--r-- | android/sdk.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/android/sdk.go b/android/sdk.go index 048a36cd0..36c576d80 100644 --- a/android/sdk.go +++ b/android/sdk.go @@ -284,11 +284,20 @@ type BpPropertySet interface { // Add a property set with the specified name and return so that additional // properties can be added. AddPropertySet(name string) BpPropertySet + + // Add comment for property (or property set). + AddCommentForProperty(name, text string) } // A .bp module definition. type BpModule interface { BpPropertySet + + // ModuleType returns the module type of the module + ModuleType() string + + // Name returns the name of the module or "" if no name has been specified. + Name() string } // An individual member of the SDK, includes all of the variants that the SDK |