diff options
author | 2021-06-23 17:47:49 +0000 | |
---|---|---|
committer | 2021-06-23 17:47:49 +0000 | |
commit | 94b51488d9dcbb178847d18b46381c9073d3e7af (patch) | |
tree | d44fd0e3d6d54b7e104b6fcf574907b0dfa7a22f /android/sdk.go | |
parent | 91913e3e07cdd01d9e318d3cad5c6b06f241d5f6 (diff) | |
parent | 51227d875b1ae91cde5af5b5b463c93a56c79f94 (diff) |
Merge "Output bootclasspath_fragment's fragments property to sdk snapshot"
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 { |