Add x86_host vars to config.bzl
Test: USE_BAZEL_ANALYSIS=1 m adbd Test: Manually verified config.bzl contains various x86_host flags after bp2build. Test: Unit tests Change-Id: Ie9201ea2be4cd1c6659bea088a797cedbae37403
This commit is contained in:
@@ -17,6 +17,8 @@ package bp2build
|
||||
import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"android/soong/android"
|
||||
)
|
||||
|
||||
type bazelFilepath struct {
|
||||
@@ -80,7 +82,7 @@ func TestCreateBazelFiles_QueryView_AddsTopLevelFiles(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestCreateBazelFiles_Bp2Build_CreatesDefaultFiles(t *testing.T) {
|
||||
files := CreateSoongInjectionFiles(CodegenMetrics{})
|
||||
files := CreateSoongInjectionFiles(android.Config{}, CodegenMetrics{})
|
||||
|
||||
expectedFilePaths := []bazelFilepath{
|
||||
{
|
||||
|
Reference in New Issue
Block a user