diff options
| author | 2024-10-07 17:37:48 +0000 | |
|---|---|---|
| committer | 2024-10-07 17:37:48 +0000 | |
| commit | f331fd79effcb1b6fa4b02b3aef42e9c78310cc6 (patch) | |
| tree | d889e2e257a9c6bf18762c2c64ac7244db21e252 /java/java_test.go | |
| parent | 10903c73f6f508dbbe5da867958c69f17ac3a262 (diff) | |
| parent | e42c5d96f90f64ba9b2d85b2e8e099c1f8ea3f8e (diff) | |
Merge "Add JNI libs support to device variants of java_binary" into main
Diffstat (limited to 'java/java_test.go')
| -rw-r--r-- | java/java_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java_test.go b/java/java_test.go index db154ce98..24dabdb10 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -3102,7 +3102,7 @@ func assertTestOnlyAndTopLevel(t *testing.T, ctx *android.TestResult, expectedTe } } -// Test that a dependency edge is created to the "first" variant of a native library listed in `required` of java_binary +// Test that a dependency edge is created to the matching variant of a native library listed in `jni_libs` of java_binary func TestNativeRequiredDepOfJavaBinary(t *testing.T) { findDepsOfModule := func(ctx *android.TestContext, module android.Module, depName string) []blueprint.Module { var ret []blueprint.Module @@ -3118,7 +3118,7 @@ func TestNativeRequiredDepOfJavaBinary(t *testing.T) { java_binary { name: "myjavabin", main_class: "com.android.MyJava", - required: ["mynativelib"], + jni_libs: ["mynativelib"], } cc_library_shared { name: "mynativelib", |