• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# to keep this from working as is
2DO-NOT-BUILD-ME-AS-IS
3set(ANDROID_SRC_ROOT_DIR "____android_src_root_dir____")
4set(BUILD_LIBSSL_DIR "____build_libssl_dir____")
5set(BUILD_LIBCRYPTO_DIR "____build_libcrypto_dir____")
6set(BUILD_LIBCAP_DIR "____build_libcap_dir____")
7
8set(BUILD_BORINGSSL_INCDIR "${ANDROID_SRC_ROOT_DIR}/external/boringssl/include")
9set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=implicit-function-declaration")
10set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DBORINGSSL_IMPLEMENTATION")
11set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${BUILD_BORINGSSL_INCDIR}")
12set(CMAKE_REQUIRED_LINK_OPTIONS "-L${BUILD_LIBSSL_DIR} -L${BUILD_LIBCRYPTO_DIR} -L${BUILD_LIBCAP_DIR}")
13