Android: add call_with_lock.cc to the build and use the correct c++ version
authorHussein Kasem <huss@pep-project.org>
Sun, 23 Jun 2019 15:12:53 +0200
changeset 130e1bec9c7d37e
parent 125 dc6e1f416ac0
child 131 7eb3b332cbfd
Android: add call_with_lock.cc to the build and use the correct c++ version
build-android/jni/Android.mk
     1.1 --- a/build-android/jni/Android.mk	Tue May 28 16:45:09 2019 +0200
     1.2 +++ b/build-android/jni/Android.mk	Sun Jun 23 15:12:53 2019 +0200
     1.3 @@ -11,7 +11,7 @@
     1.4  
     1.5  
     1.6  LOCAL_CPP_FEATURES += exceptions
     1.7 -LOCAL_CPPFLAGS += -std=c++17 -DANDROID_STL=c++_shared
     1.8 +LOCAL_CPPFLAGS += -std=c++14 -DANDROID_STL=c++_shared
     1.9  
    1.10  
    1.11  LIB_PEP_ADAPTER_INCLUDE_FILES := $(wildcard $(LOCAL_PATH)/../../*.h*)
    1.12 @@ -24,6 +24,7 @@
    1.13  
    1.14  LOCAL_SRC_FILES += $(LOCAL_PATH)/../../Adapter.cc \
    1.15          $(LOCAL_PATH)/../../slurp.cc \
    1.16 +        $(LOCAL_PATH)/../../call_with_lock.cc \
    1.17          $(LOCAL_PATH)/../../status_to_string.cc
    1.18  
    1.19