diff options
author | 2024-05-08 01:28:45 +0000 | |
---|---|---|
committer | 2024-05-08 01:28:45 +0000 | |
commit | 14f7714fb475d9fdd3e381c5c390a49b509aaf52 (patch) | |
tree | d3aea2686be86329c11743361d29f6854fc3e640 /java/app_test.go | |
parent | 54fa3bbef521129598c26d2b882f3349fe815282 (diff) | |
parent | 4bc5231f6115c71aaa0aaaa3d575e5015f01bc5d (diff) |
Merge changes Ie866b192,I7df993ea into main
* changes:
Collect transitve deps of jni libs only for bundled apps
Always embed jni libs and store uncompressed
Diffstat (limited to 'java/app_test.go')
-rw-r--r-- | java/app_test.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/java/app_test.go b/java/app_test.go index a7c48a1ed..92fe2244f 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", 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, }, } |