diff options
author | 2020-08-21 15:57:53 -0700 | |
---|---|---|
committer | 2020-08-21 16:18:11 -0700 | |
commit | 9e93b1bb1232b5ca13d9a96ab308a0c8c80a457c (patch) | |
tree | cd694bdfaa361cee208c593599752678b4ad3e29 /apex/apex_test.go | |
parent | cc83efbb180d20768e9f334d15dca6c7c39b69d5 (diff) |
Remove TestApexWithJniLibs_Errors
AddFarVariationDependencies was broken, which allowed dependencies
on non-libraries to be added even though a link variation was
requested. When AddFarVariationDependencies is fixed, attempting
to add a non-library to jni_libs results in the usual missing
variant error.
Test: none
Change-Id: I6aa281491b8af5f141a2d132e248c75f95d68ab5
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r-- | apex/apex_test.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go index 70464fc7a..e9843fc1a 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -5399,29 +5399,6 @@ func TestApexMutatorsDontRunIfDisabled(t *testing.T) { } } -func TestApexWithJniLibs_Errors(t *testing.T) { - testApexError(t, `jni_libs: "xxx" is not a cc_library`, ` - apex { - name: "myapex", - key: "myapex.key", - jni_libs: ["xxx"], - } - - apex_key { - name: "myapex.key", - public_key: "testkey.avbpubkey", - private_key: "testkey.pem", - } - - prebuilt_etc { - name: "xxx", - src: "xxx", - } - `, withFiles(map[string][]byte{ - "xxx": nil, - })) -} - func TestAppBundle(t *testing.T) { ctx, _ := testApex(t, ` apex { |