[Android] Make Generated AAR File Usable in Android Projects
After integrating `jni_zero`, it appears that the necessary classes
are not included in the final AAR file generated by
`tools_webrtc/android/test_aar.py`. This change adds a dependency on the
`sdk/android:libwebrtc` target to include the required classes.
Bug: webrtc:398768610
Change-Id: I557be727c02d8323662b264e5c7c427bf600808e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/378640
Reviewed-by: ZoƩ Lepaul <xalep@webrtc.org>
Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
Cr-Commit-Position: refs/heads/main@{#44029}
diff --git a/sdk/android/BUILD.gn b/sdk/android/BUILD.gn
index 340f9fd..50aa9a8 100644
--- a/sdk/android/BUILD.gn
+++ b/sdk/android/BUILD.gn
@@ -56,6 +56,7 @@
":video_api_java",
":video_java",
"../../rtc_base:base_java",
+ "../../third_party/jni_zero:jni_zero_java",
]
}