Revert^2 "Always embed jni libs and store uncompressed"

a71b90cf81

Change-Id: I1c071c5449fa04adb14d17774f882e6adbff196b
This commit is contained in:
Jiyong Park
2024-05-08 09:54:22 +00:00
parent cfac8c1bc8
commit 20df11ef2b
6 changed files with 36 additions and 195 deletions

View File

@@ -2013,8 +2013,8 @@ func TestJNIPackaging(t *testing.T) {
packaged bool
compressed bool
}{
{"app", false, false},
{"app_noembed", false, false},
{"app", true, false},
{"app_noembed", true, false},
{"app_embed", true, false},
{"test", true, false},
{"test_noembed", true, true},
@@ -3319,8 +3319,7 @@ 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 := `--extract-native-libs=true ` +
`--uses-library foo ` +
expectManifestFixerArgs := `--uses-library foo ` +
`--uses-library com.non.sdk.lib ` +
`--uses-library qux ` +
`--uses-library quuz ` +
@@ -4110,7 +4109,7 @@ func TestAppIncludesJniPackages(t *testing.T) {
},
{
name: "aary-no-use-embedded",
hasPackage: false,
hasPackage: true,
},
}