Fix missing asm/unistd_64.h error in local Android ARM64 builds Modern Android NDKs strictly isolate architecture sysroots. The previous inclusion of `<asm/unistd_64.h>` (an x86_64 header) inside an ARM64 block causes a fatal "file not found" error during compilation. This CL updates jvm.cc to use the generic `<asm/unistd.h>` wrapper instead, which correctly routes to the appropriate system call numbers for the target architecture and resolves the build breakage. Bug: b/502437863 Change-Id: I44c7162d4509c77b8698c533aa25460a5ae44298 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/464160 Owners-Override: Per Åhgren <peah@webrtc.org> Auto-Submit: Per Åhgren <peah@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47427}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.