Based on Nekogram. Key additions: - Rebrand to FoxiGram (app name, APK name, applicationId com.foxigram.app) - Embedded Xray (VLESS+Reality) proxy client via JNI libxray.so - Bundled hidden one-tap proxies (LTE + WiFi), read-only in UI - Auto-restore proxy on restart, rebind to active network (LTE/WiFi) - Server credentials externalized to git-ignored XrayServers.java (+ template) - libxray Go source included; compiled .so, keystore, google-services.json ignored
20 lines
777 B
CMake
20 lines
777 B
CMake
# TODO(crbug.com/42290412): Flatten this build up a layer. Between
|
|
# crbug.com/42290128, crbug.com/42290508 and crbug.com/42290554, there is enough
|
|
# churn that we've left it alone for now.
|
|
foreach(fuzzer ${FUZZ_SOURCES})
|
|
cmake_path(GET fuzzer STEM name)
|
|
add_executable(${name} ../${fuzzer})
|
|
target_compile_options(${name} PRIVATE "-Wno-missing-prototypes")
|
|
target_link_libraries(${name} ssl pki crypto)
|
|
if(LIBFUZZER_FROM_DEPS)
|
|
set_target_properties(${name} PROPERTIES LINK_FLAGS "-fsanitize=fuzzer-no-link")
|
|
target_link_libraries(${name} Fuzzer)
|
|
else()
|
|
set_target_properties(${name} PROPERTIES LINK_FLAGS "-fsanitize=fuzzer")
|
|
endif()
|
|
set_target_properties(
|
|
${name}
|
|
PROPERTIES
|
|
CXX_STANDARD 17
|
|
CXX_STANDARD_REQUIRED YES)
|
|
endforeach()
|