Skip to content
Snippets Groups Projects
Commit cf9acc6f authored by Peter Kalauskas's avatar Peter Kalauskas
Browse files

New dist target for private API stubs

Bug: 236188940
Flag: NONE
Test: m private_api_stubs dist
Change-Id: I7bfa72cd1db254a9a6d26c07a0219ce8671829f0
parent 59e8043a
No related branches found
No related tags found
No related merge requests found
......@@ -732,6 +732,10 @@ java_library {
system_modules: "none",
static_libs: ["android_stubs_private_hjar"],
dist: {
// Add to private_api_stubs dist target for easier packaging by scripts. This module is
// useful for creating a platform SDK, which can be packaged in ANDROID_HOME and used from
// Gradle, allowing for development of platform apps that make use of hidden APIs.
targets: ["private_api_stubs"],
dir: "apistubs/android/private",
},
}
......@@ -749,7 +753,12 @@ java_genrule {
"done && " +
"sort -u $(genDir)/framework.aidl.merged > $(out)",
dist: {
targets: ["sdk"],
targets: [
"sdk",
// Add to private_api_stubs dist target for easier packaging by scripts.
// See explanation in the "android_stubs_private" module above.
"private_api_stubs",
],
dir: "apistubs/android/private",
},
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment