aboutsummaryrefslogtreecommitdiff
path: root/cc/linkable.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/linkable.go')
-rw-r--r--cc/linkable.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/cc/linkable.go b/cc/linkable.go
index f3aff1523..1877dc637 100644
--- a/cc/linkable.go
+++ b/cc/linkable.go
@@ -8,6 +8,8 @@ import (
"github.com/google/blueprint/depset"
)
+//go:generate go run ../../blueprint/gobtools/codegen/gob_gen.go
+
// PlatformSanitizeable is an interface for sanitizing platform modules.
type PlatformSanitizeable interface {
LinkableInterface
@@ -117,6 +119,8 @@ type LinkableInterface interface {
// CoverageOutputFile returns the output archive of gcno coverage information files.
CoverageOutputFile() android.OptionalPath
+ LinkCoverage() bool
+
NonCcVariants() bool
SelectedStl() string
@@ -138,7 +142,7 @@ type LinkableInterface interface {
// FuzzSharedLibraries returns the shared library dependencies for this module.
// Expects that IsFuzzModule returns true.
- FuzzSharedLibraries() android.RuleBuilderInstalls
+ FuzzSharedLibraries() InstallPairs
Device() bool
Host() bool
@@ -333,6 +337,7 @@ func HeaderDepTag() blueprint.DependencyTag {
}
// SharedLibraryInfo is a provider to propagate information about a shared C++ library.
+// @auto-generate: gob
type SharedLibraryInfo struct {
SharedLibrary android.Path
Target android.Target
@@ -371,6 +376,7 @@ type SharedLibraryStubsInfo struct {
var SharedLibraryStubsProvider = blueprint.NewProvider[SharedLibraryStubsInfo]()
// StaticLibraryInfo is a provider to propagate information about a static C++ library.
+// @auto-generate: gob
type StaticLibraryInfo struct {
StaticLibrary android.Path
Objects Objects
@@ -411,6 +417,7 @@ var FlagExporterInfoProvider = blueprint.NewProvider[FlagExporterInfo]()
var ImplementationDepInfoProvider = blueprint.NewProvider[*ImplementationDepInfo]()
+// @auto-generate: gob
type ImplementationDepInfo struct {
ImplementationDeps depset.DepSet[android.Path]
}