Merge "Validate aconfig libs are built with the correct modes." into main

This commit is contained in:
Yu Liu
2024-03-14 18:39:12 +00:00
committed by Gerrit Code Review
16 changed files with 696 additions and 32 deletions

View File

@@ -18,7 +18,6 @@ package android
// product variables necessary for soong_build's operation.
import (
"android/soong/shared"
"encoding/json"
"fmt"
"os"
@@ -30,6 +29,8 @@ import (
"sync"
"unicode"
"android/soong/shared"
"github.com/google/blueprint"
"github.com/google/blueprint/bootstrap"
"github.com/google/blueprint/pathtools"
@@ -1938,6 +1939,10 @@ func (c *deviceConfig) GenerateAidlNdkPlatformBackend() bool {
return c.config.productVariables.GenerateAidlNdkPlatformBackend
}
func (c *deviceConfig) AconfigContainerValidation() string {
return c.config.productVariables.AconfigContainerValidation
}
func (c *config) IgnorePrefer32OnDevice() bool {
return c.productVariables.IgnorePrefer32OnDevice
}