summaryrefslogtreecommitdiff
path: root/java/app_test.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-05-08 09:48:24 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-05-08 09:48:24 +0000
commitd02d71057082fa14e43d02bcead3d2999e3893c2 (patch)
treea310b33e743443ac8c619584b637d29a18d1d935 /java/app_test.go
parent14f7714fb475d9fdd3e381c5c390a49b509aaf52 (diff)
parenta71b90cf810cfdd2bc74e7fcf7a2741fce14ff4f (diff)
Merge changes from topic "revert-3075263-MMTOVXSVUO" into main
* changes: Revert "Always embed jni libs and store uncompressed" Revert "Collect transitve deps of jni libs only for bundled apps"
Diffstat (limited to 'java/app_test.go')
-rw-r--r--java/app_test.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/java/app_test.go b/java/app_test.go
index 92fe2244f..a7c48a1ed 100644
--- a/java/app_test.go
+++ b/java/app_test.go
@@ -2013,8 +2013,8 @@ func TestJNIPackaging(t *testing.T) {
packaged bool
compressed bool
}{
- {"app", true, false},
- {"app_noembed", true, false},
+ {"app", false, false},
+ {"app_noembed", false, false},
{"app_embed", true, false},
{"test", true, false},
{"test_noembed", true, true},
@@ -3319,7 +3319,8 @@ func TestUsesLibraries(t *testing.T) {
// These also include explicit `uses_libs`/`optional_uses_libs` entries, as they may be
// propagated from dependencies.
actualManifestFixerArgs := app.Output("manifest_fixer/AndroidManifest.xml").Args["args"]
- expectManifestFixerArgs := `--uses-library foo ` +
+ expectManifestFixerArgs := `--extract-native-libs=true ` +
+ `--uses-library foo ` +
`--uses-library com.non.sdk.lib ` +
`--uses-library qux ` +
`--uses-library quuz ` +
@@ -4109,7 +4110,7 @@ func TestAppIncludesJniPackages(t *testing.T) {
},
{
name: "aary-no-use-embedded",
- hasPackage: true,
+ hasPackage: false,
},
}