From bf144cc3ea11b527dbed6bb16d56fd55c7e47e1d Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Thu, 30 Apr 2020 14:26:22 +0100 Subject: 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 --- framework/Android.bp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'framework/Android.bp') 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" }, } -- cgit v1.2.3-59-g8ed1b