aboutsummaryrefslogtreecommitdiff
path: root/apex/apex_test.go
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2023-10-04 06:29:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-10-04 06:29:31 +0000
commitce12ea8f95257a18b693ae3205e63703eb577f89 (patch)
tree0e19da6496adb7e38ff781c9affa301a793887d0 /apex/apex_test.go
parent4cbd49810c41722556ad5154ea920f3e4da72c01 (diff)
parentaf1fde43f96196a191db326048cf04d64346877e (diff)
Merge "Generate product variants by default" into main
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r--apex/apex_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go
index 90aec91c4..e70d3af7e 100644
--- a/apex/apex_test.go
+++ b/apex/apex_test.go
@@ -3088,10 +3088,7 @@ func TestProductVariant(t *testing.T) {
apex_available: ["myapex"],
srcs: ["foo.cpp"],
}
- `, android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) {
- variables.ProductVndkVersion = proptools.StringPtr("current")
- }),
- )
+ `)
cflags := strings.Fields(
ctx.ModuleForTests("foo", "android_product.29_arm64_armv8-a_myapex").Rule("cc").Args["cFlags"])
@@ -10521,6 +10518,7 @@ func TestTrimmedApex(t *testing.T) {
min_sdk_version: "29",
recovery_available: true,
vendor_available: true,
+ product_available: true,
}
api_imports {
name: "api_imports",