mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-15 17:15:50 +00:00
add makefile
This commit is contained in:
parent
3cd60002ba
commit
d7ca354a27
33
tests/react-test-app/android/app/src/main/jni/Android.mk
Normal file
33
tests/react-test-app/android/app/src/main/jni/Android.mk
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
LOCAL_PATH:= $(call my-dir)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_MODULE := librealmreact
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES := \
|
||||||
|
js_list.cpp \
|
||||||
|
js_results.cpp \
|
||||||
|
js_init.cpp \
|
||||||
|
js_realm.cpp \
|
||||||
|
js_util.cpp \
|
||||||
|
realm-react-android.c \
|
||||||
|
js_object.cpp \
|
||||||
|
js_schema.cpp \
|
||||||
|
rpc.cpp \
|
||||||
|
|
||||||
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
|
||||||
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||||
|
|
||||||
|
LOCAL_CFLAGS := \
|
||||||
|
|
||||||
|
LOCAL_CFLAGS += -Wall -Werror -fexceptions
|
||||||
|
CXX11_FLAGS := -std=c++11
|
||||||
|
LOCAL_CFLAGS += $(CXX11_FLAGS)
|
||||||
|
LOCAL_EXPORT_CPPFLAGS := $(CXX11_FLAGS)
|
||||||
|
|
||||||
|
LOCAL_SHARED_LIBRARIES := libjsc
|
||||||
|
|
||||||
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
$(call import-module,jsc)
|
||||||
|
|
@ -5,7 +5,7 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:1.5.0'
|
classpath 'com.android.tools.build:gradle:1.3.1'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user