summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-04-30 14:26:22 +0100
committerAnton Hansson <hansson@google.com>2020-04-30 17:42:20 +0100
commitbf144cc3ea11b527dbed6bb16d56fd55c7e47e1d (patch)
treebb51e4f11991d2550a62d2b7e789209d9315c89e /framework
parentdfc7558e02e6a378075267b01c771cba6a9db42e (diff)
downloadPermission-bf144cc3ea11b527dbed6bb16d56fd55c7e47e1d.tar.gz
Rename module dist files
This makes the filenames of the disted artifacts (api txts and stubs) match the module name of the modules they're from. This matches the naming scheme used by java_sdk_library, which should make the future transition to this build rule easier. Bug: 149293194 Test: lunch sdk_phone_armv7 && m sdk dist && find out/dist/apistubs Change-Id: I076f30931bf2524d57703873cd7de25b3f23b457
Diffstat (limited to 'framework')
-rw-r--r--framework/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/Android.bp b/framework/Android.bp
index fc9052e8b..3119b7d29 100644
--- a/framework/Android.bp
+++ b/framework/Android.bp
@@ -46,6 +46,7 @@ stubs_defaults {
name: "framework-permission-stubs-defaults",
srcs: [ ":framework-permission-sources" ],
libs: [ "framework-annotations-lib" ],
+ dist: { dest: "framework-permission.txt" },
}
droidstubs {
@@ -84,16 +85,19 @@ java_library {
name: "framework-permission-stubs-publicapi",
srcs: [ ":framework-permission-stubs-srcs-publicapi" ],
defaults: ["framework-module-stubs-lib-defaults-publicapi"],
+ dist: { dest: "framework-permission.jar" },
}
java_library {
name: "framework-permission-stubs-systemapi",
srcs: [ ":framework-permission-stubs-srcs-systemapi" ],
defaults: ["framework-module-stubs-lib-defaults-systemapi"],
+ dist: { dest: "framework-permission.jar" },
}
java_library {
name: "framework-permission-stubs-module_libs_api",
srcs: [ ":framework-permission-stubs-srcs-module_libs_api" ],
defaults: ["framework-module-stubs-lib-defaults-module_libs_api"],
+ dist: { dest: "framework-permission.jar" },
}