aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/aidl_test.go41
1 files changed, 0 insertions, 41 deletions
diff --git a/build/aidl_test.go b/build/aidl_test.go
index 5d9cd328..e4948142 100644
--- a/build/aidl_test.go
+++ b/build/aidl_test.go
@@ -1474,47 +1474,6 @@ func TestDuplicatedVersions(t *testing.T) {
}))
}
-func TestVndkRequiresFrozen(t *testing.T) {
- testAidlError(t, `frozen: true or false must be specified when the VNDK is enabled on a versioned interface`, `
- aidl_interface {
- name: "myiface",
- vendor_available: true,
- product_available: true,
- srcs: ["IFoo.aidl"],
- vndk: {
- enabled: true,
- },
- }
- `)
- testAidlError(t, `vndk_use_version: must be specified if interface is unfrozen`, `
- aidl_interface {
- name: "myiface",
- vendor_available: true,
- product_available: true,
- srcs: ["IFoo.aidl"],
- stability: "vintf",
- frozen: false,
- vndk: {
- enabled: true,
- },
- }
- `)
- testAidl(t, `
- aidl_interface {
- name: "myiface",
- vendor_available: true,
- product_available: true,
- srcs: ["IFoo.aidl"],
- stability: "vintf",
- frozen: false,
- vndk_use_version: "1",
- vndk: {
- enabled: true,
- },
- }
- `)
-}
-
func TestRecoveryAvailable(t *testing.T) {
ctx, _ := testAidl(t, `
aidl_interface {