summaryrefslogtreecommitdiff
path: root/android/sdk.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-02-04 11:15:34 +0000
committer Paul Duffin <paulduffin@google.com> 2021-02-05 13:35:25 +0000
commit22ff0aaf51bdd9409eafe74151decb58f47308bc (patch)
tree90342540bc1b8d69a76aa58940f4bac70864e47a /android/sdk.go
parentdd63d6d7bdae32a1bf89a1ce8ade15ee10afd6cc (diff)
Export implementation class jars for java_boot_libs
Hiddenapi processing currently requires access to the class implementation jars for libraries on the bootclasspath which means that they need to be provided as part of the prebuilts. This change modifies the java_boot_libs property on the sdk to make those files available. Modularization of the hiddenapi processing will hopefully remove the need for these to be exported so this should be temporary. Bug: 178361284 Test: m art-module-sdk check generated snapshot zip contains implementation jars Change-Id: I9e94662dddb0ddb85a477ae6d27e533085147e88
Diffstat (limited to 'android/sdk.go')
-rw-r--r--android/sdk.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/android/sdk.go b/android/sdk.go
index bab0ed8fd..f2cdc880b 100644
--- a/android/sdk.go
+++ b/android/sdk.go
@@ -177,12 +177,6 @@ type SnapshotBuilder interface {
// to the zip
CopyToSnapshot(src Path, dest string)
- // Return the path to an empty file.
- //
- // This can be used by sdk member types that need to create an empty file in the snapshot, simply
- // pass the value returned from this to the CopyToSnapshot() method.
- EmptyFile() Path
-
// Unzip the supplied zip into the snapshot relative directory destDir.
UnzipToSnapshot(zipPath Path, destDir string)