summaryrefslogtreecommitdiff
path: root/sdk/sdk.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2019-11-26 18:02:20 +0000
committer Paul Duffin <paulduffin@google.com> 2019-11-26 22:30:19 +0000
commitac37c503e05fa4d99a97bac4cf97a65dc8406795 (patch)
treee9cbde71a06a6f8f2db3194635c8c3006f7175b4 /sdk/sdk.go
parent0375dd9a377fcfa869ebbf2761341f5712a16c6b (diff)
Check the contents of an SDK snapshot's generated Android.bp
Test: m nothing Bug: 143678475 Change-Id: I407d83c79d6b1ad8082e560726f0bfa7cacab3f0
Diffstat (limited to 'sdk/sdk.go')
-rw-r--r--sdk/sdk.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/sdk/sdk.go b/sdk/sdk.go
index ac6fce989..321d5ab2c 100644
--- a/sdk/sdk.go
+++ b/sdk/sdk.go
@@ -44,6 +44,9 @@ type sdk struct {
properties sdkProperties
snapshotFile android.OptionalPath
+
+ // The builder, preserved for testing.
+ builderForTests *snapshotBuilder
}
type sdkProperties struct {