From e6a83e65d17234b78025cf849219f40ebe70366e Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 17 Dec 2020 18:22:34 -0800 Subject: [PATCH] Fix NDK build in downstream branches The NDK build in downstream branches with prebuilt apexes break with multiple rules to copy the apex after I8038ed5c6f05c989ac21ec06c4552fb3136b9a7a renamed SkipInstall to HideFromMake, which is shadowed by an existing HideFromMake method. Call through from the existing HideFromMake as a quick-fix for the build. Fixes: 175911330 Test: NDK build Change-Id: Id475671d5dad888913bfb1af2e4be1f2454c3211 --- apex/apex.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apex/apex.go b/apex/apex.go index 88d93afa2..9e6625471 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -1183,6 +1183,9 @@ func (a *apexBundle) PreventInstall() { // Implements cc.Coverage func (a *apexBundle) HideFromMake() { a.properties.HideFromMake = true + // This HideFromMake is shadowing the ModuleBase one, call through to it for now. + // TODO(ccross): untangle these + a.ModuleBase.HideFromMake() } // Implements cc.Coverage