Browse Source

JNI-81: Add missing files

JNI-88
Hussein Kasem 3 years ago
parent
commit
31ef7bc0af
2 changed files with 33 additions and 0 deletions
  1. +16
    -0
      android/external/Makefile.conf
  2. +17
    -0
      android/external/configure_openssl.sh

+ 16
- 0
android/external/Makefile.conf View File

@ -0,0 +1,16 @@
# TODO: Tiddy up
### Android NDK Common conf
NDK_TOOLCHAIN_COMPILER ?= clang
### Select GNU SED on MacOS.
NDK_UNAME := $(shell uname -s | tr '[A-Z]' '[a-z]')
ifeq ($(NDK_UNAME),darwin)
SED=gsed
else
SED=sed
endif
###

+ 17
- 0
android/external/configure_openssl.sh View File

@ -0,0 +1,17 @@
#!/bin/bash
### 
# DONT USE IT
### 
CC=clang
TOOLCHAINS_PATH=$(python ../../../../utils/ndk_toolchains_path.py --ndk ${ANDROID_NDK})
export OLD_PATH=$PATH
export PATH=$TOOLCHAINS_PATH/bin:$PATH
ARCHITECTURE=$1
ANDROID_API=$2
echo $3
./Configure ${ARCHITECTURE} -D__ANDROID_API__=$ANDROID_API --prefix=$3
export PATH=$OLD_PATH

Loading…
Cancel
Save