summaryrefslogtreecommitdiff
path: root/cc/linkable.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/linkable.go')
-rw-r--r--cc/linkable.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cc/linkable.go b/cc/linkable.go
index 10cc38f64..5579aaea5 100644
--- a/cc/linkable.go
+++ b/cc/linkable.go
@@ -73,6 +73,12 @@ type LinkableInterface interface {
// RustLibraryInterface returns true if this is a Rust library module
RustLibraryInterface() bool
+ // CrateName returns the crateName for a Rust library, panics if not a Rust library.
+ CrateName() string
+
+ // DepFlags returns a slice of Rustc string flags, panics if not a Rust library
+ ExportedCrateLinkDirs() []string
+
// BaseModuleName returns the android.ModuleBase.BaseModuleName() value for this module.
BaseModuleName() string
@@ -380,6 +386,7 @@ type FlagExporterInfo struct {
SystemIncludeDirs android.Paths // System include directories to be included with -isystem
Flags []string // Exported raw flags.
Deps android.Paths
+ RustRlibDeps []RustRlibDep
GeneratedHeaders android.Paths
}