summaryrefslogtreecommitdiff
path: root/bp2build/conversion_test.go
diff options
context:
space:
mode:
author Chris Parsons <cparsons@google.com> 2021-10-14 14:08:38 -0400
committer Chris Parsons <cparsons@google.com> 2021-10-19 12:18:13 -0400
commit3b1f83d076cbb741fd9f9b150c7478e52b6f1920 (patch)
tree128d32eecf7713ab6b7f0c26208c9708eee61db8 /bp2build/conversion_test.go
parent2a109db10b51be5d4d998015e201b4d3178a54cb (diff)
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
Diffstat (limited to 'bp2build/conversion_test.go')
-rw-r--r--bp2build/conversion_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/bp2build/conversion_test.go b/bp2build/conversion_test.go
index dfa1a9eb4..d09238a2b 100644
--- a/bp2build/conversion_test.go
+++ b/bp2build/conversion_test.go
@@ -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{
{