From 0df49686b3f01c20a5f12250f9a0d57666f2f30f Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Fri, 7 May 2021 01:10:01 +0100 Subject: Add support for name-less modules and property comments Bug: 181569894 Test: m nothing Change-Id: Ia4da1d2a55a924db82ae999da455adedbaca47c0 --- android/sdk.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'android/sdk.go') 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 -- cgit v1.2.3-59-g8ed1b