Merge "Require apps built against the SDK to use JNI built against the NDK"

This commit is contained in:
Colin Cross
2020-02-25 00:21:07 +00:00
committed by Gerrit Code Review
3 changed files with 24 additions and 6 deletions

View File

@@ -2871,18 +2871,20 @@ func TestApexWithApps(t *testing.T) {
android_app {
name: "AppFoo",
srcs: ["foo/bar/MyClass.java"],
sdk_version: "none",
sdk_version: "current",
system_modules: "none",
jni_libs: ["libjni"],
stl: "none",
apex_available: [ "myapex" ],
}
android_app {
name: "AppFooPriv",
srcs: ["foo/bar/MyClass.java"],
sdk_version: "none",
sdk_version: "current",
system_modules: "none",
privileged: true,
stl: "none",
apex_available: [ "myapex" ],
}
@@ -2892,6 +2894,7 @@ func TestApexWithApps(t *testing.T) {
stl: "none",
system_shared_libs: [],
apex_available: [ "myapex" ],
sdk_version: "current",
}
`)