From d32fadc1e6a37f43c3c8efa38ace7c4cb5eaeda7 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Mon, 25 Jan 2021 10:20:46 +0000 Subject: Set installable: false on apex jars by default They shouldn't be installed, so don't generate install rules. Test: m Change-Id: I87a6a577b98d1140b5882d4c72f875914d551287 --- apex/Android.bp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apex') diff --git a/apex/Android.bp b/apex/Android.bp index 0a535a8fe9b9..c6edc8fb227c 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -96,6 +96,10 @@ java_defaults { sdk_version: "module_current", }, + // installable implies we'll create a non-apex (platform) variant, which + // we shouldn't ordinarily need (and it can create issues), so disable that. + installable: false, + // Configure framework module specific metalava options. droiddoc_options: [mainline_stubs_args], -- cgit v1.2.3