Browse Source

Take out Engine header files for Android Build.

ENGINE-322
Hussein Kasem 4 years ago
parent
commit
65f617e354
2 changed files with 12 additions and 3 deletions
  1. +3
    -3
      build-android/jni/Android.mk
  2. +9
    -0
      build-android/takeOutHeaderFiles.sh

+ 3
- 3
build-android/jni/Android.mk View File

@ -29,13 +29,13 @@ LOCAL_CFLAGS += -std=c99
#
LOCAL_CFLAGS += -DSQLITE_TEMP_STORE=3
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../src \
$(LOCAL_PATH)/../../asn.1 \
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../asn.1 \
$(GPGME_INCLUDE_PATH) \
$(LIBETPAN_PATH)/include
LOCAL_C_INCLUDES += $(GPGBUILD)/include
LOCAL_EXPORT_C_INCLUDES += $(LOCAL_PATH)/../../src
$(shell sh $(LOCAL_PATH)/../takeOutHeaderFiles.sh $(LOCAL_PATH)../../)
LOCAL_EXPORT_C_INCLUDES += $(LOCAL_PATH)../include
ENGINE_SRC_FILES := $(shell find $(LOCAL_PATH)/../../src/ ! -name "*netpgp*" -name "*.c")
#ENGINE_SRC_FILES := $(wildcard $(LOCAL_PATH)/../../src/*.c)


+ 9
- 0
build-android/takeOutHeaderFiles.sh View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e
engine_dir="$1"
mkdir -p "$engine_dir/build-android/include/pEp"
cd "$engine_dir/src"
cp *.h "$engine_dir/build-android/include/pEp"

Loading…
Cancel
Save