From 034af2c2e733f390ea6506f0391ac4c5c1c8221b Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Wed, 30 Oct 2024 21:45:09 +0000 Subject: Distinguish HideFromMake from SkipInstall Invoking HideFromMake today would also make the module uninstallable. This was a safe assumption since the packaging sytem was in build/make - if a module is not visible to make, it is also uninstallable. With the advent of soong packaging system, this might not always be true. This CL disentangles SkipInstall from HideFromMake. This CL also sets SkipInstall on modules where the installation rules should not be emitted, e.g. to prevent duplicate installation rules between platform and apex variants of libraries Test: m nothing --no-skip-soong-tests Test: no diff in aosp_cf_x86_64_phone's system file_list.txt Change-Id: I80cdd60d2ebdba22fd37e748eb00242cc412bda1 --- rust/rust.go | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/rust.go') diff --git a/rust/rust.go b/rust/rust.go index 6b91ccb25..9e06cd437 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -974,6 +974,7 @@ func (mod *Module) GenerateAndroidBuildActions(actx android.ModuleContext) { // side dependencies. In particular, proc-macros need to be captured in the // host snapshot. mod.HideFromMake() + mod.SkipInstall() } else if !mod.installable(apexInfo) { mod.SkipInstall() } -- cgit v1.2.3-59-g8ed1b