### Configure CMake Project and Library Source: https://github.com/vpn4tv/vpn4tv-native/blob/main/app/src/main/cpp/CMakeLists.txt Sets the minimum CMake version, defines the project, and adds a shared C library. Links against the log library and sets private compile options. ```cmake cmake_minimum_required(VERSION 3.22.1) project(sigsys_handler C) add_library(sigsys_handler SHARED sigsys_handler.c) find_library(log-lib log) target_link_libraries(sigsys_handler ${log-lib}) target_compile_options(sigsys_handler PRIVATE -Wall -Wextra -O2) ``` -------------------------------- ### Build libbox.aar for Android Source: https://github.com/vpn4tv/vpn4tv-native/blob/main/README.md Build the sing-box core with embedded bridges for Android platforms. This command generates the necessary .aar file for integration into the Android project. ```bash cd sing-box-xhttp go run ./cmd/internal/build_libbox -target android -platform android/arm,android/arm64 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.