diff options
Diffstat (limited to 'android/sdk.go')
-rw-r--r-- | android/sdk.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/android/sdk.go b/android/sdk.go index 36c576d80..93beb6e21 100644 --- a/android/sdk.go +++ b/android/sdk.go @@ -300,6 +300,22 @@ type BpModule interface { Name() string } +// BpPrintable is a marker interface that must be implemented by any struct that is added as a +// property value. +type BpPrintable interface { + bpPrintable() +} + +// BpPrintableBase must be embedded within any struct that is added as a +// property value. +type BpPrintableBase struct { +} + +func (b BpPrintableBase) bpPrintable() { +} + +var _ BpPrintable = BpPrintableBase{} + // An individual member of the SDK, includes all of the variants that the SDK // requires. type SdkMember interface { |