From f9e2172aec5c3d890337e568152b3c2e758a1527 Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Wed, 2 Dec 2020 09:00:51 -0500 Subject: Refactor for preliminary Rust vendor image support Refactors parts of CC to prepare for preliminary support for using Rust static libraries in vendor images. Some previously private functions are made public, and additional functions are added to LinkableInterface so GetMakeLinkType can be passed a LinkableInterface. Bug: 172525289 Test: m Change-Id: I5fda48e79532fe9ceab255e18d910af58048a123 --- rust/rust.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'rust/rust.go') diff --git a/rust/rust.go b/rust/rust.go index 38caad373..4094094c3 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -208,6 +208,18 @@ func (mod *Module) HasVendorVariant() bool { return false } +func (mod *Module) IsVndkExt() bool { + return false +} + +func (c *Module) IsVndkPrivate(config android.Config) bool { + return false +} + +func (mod *Module) InProduct() bool { + return false +} + func (mod *Module) SdkVersion() string { return "" } -- cgit v1.2.3-59-g8ed1b