Validate aconfig libs are built with the correct modes.

Bug: 323071835
Test: Unit tests and manual tests.
Change-Id: I32de90826c7c8bb4d8495608e959d554820ab9a2
This commit is contained in:
Yu Liu
2024-03-05 00:36:31 +00:00
parent eefca7373c
commit 67a28425a7
16 changed files with 696 additions and 32 deletions

View File

@@ -20,20 +20,6 @@ import (
"github.com/google/blueprint"
)
type CodegenInfo struct {
// AconfigDeclarations is the name of the aconfig_declarations modules that
// the codegen module is associated with
AconfigDeclarations []string
// Paths to the cache files of the associated aconfig_declaration modules
IntermediateCacheOutputPaths android.Paths
// Paths to the srcjar files generated from the java_aconfig_library modules
Srcjars android.Paths
}
var CodegenInfoProvider = blueprint.NewProvider[CodegenInfo]()
var (
pctx = android.NewPackageContext("android/soong/aconfig")