add makefile

This commit is contained in:
Ari Lazier 2015-11-30 14:32:39 -08:00
parent 3cd60002ba
commit d7ca354a27
2 changed files with 34 additions and 1 deletions

View 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)

View File

@ -5,7 +5,7 @@ buildscript {
jcenter()
}
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
// in the individual module build.gradle files