From d7586b6526f6db839d368587fb58574db9b7042a Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Thu, 1 Apr 2021 09:49:36 -0400 Subject: Refactor vendor snapshot to use LinkableInterface. Refactors the vendor snapshot support to use the LinkableInterface so that support can be extended to Rust. This CL does not add vendor snapshot support for Rust; that is left for a follow-on CL. Bug: 184042776 Test: m nothing Change-Id: Id0c4970ca00053484a52677d182153cbc454c301 --- rust/proc_macro.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rust/proc_macro.go') diff --git a/rust/proc_macro.go b/rust/proc_macro.go index 4eead3267..c217959cd 100644 --- a/rust/proc_macro.go +++ b/rust/proc_macro.go @@ -82,3 +82,8 @@ func (procMacro *procMacroDecorator) getStem(ctx ModuleContext) string { func (procMacro *procMacroDecorator) autoDep(ctx android.BottomUpMutatorContext) autoDep { return rlibAutoDep } + +func (procMacro *procMacroDecorator) everInstallable() bool { + // Proc_macros are never installed + return false +} -- cgit v1.2.3-59-g8ed1b