From 1e8991aa80c88629ed2bb7ae79ced79317017e96 Mon Sep 17 00:00:00 2001 From: Chris Hopman Date: Wed, 17 Feb 2016 04:07:30 -0800 Subject: [PATCH] Add android ndk dep Reviewed By: astreet Differential Revision: D2943695 fb-gh-sync-id: a444b2506b7aadd200f5cd0fef626ce7fe66c660 shipit-source-id: a444b2506b7aadd200f5cd0fef626ce7fe66c660 --- ReactAndroid/src/main/jni/react/Android.mk | 1 + ReactAndroid/src/main/jni/react/BUCK | 1 + 2 files changed, 2 insertions(+) diff --git a/ReactAndroid/src/main/jni/react/Android.mk b/ReactAndroid/src/main/jni/react/Android.mk index 073d09157..cafcb591b 100644 --- a/ReactAndroid/src/main/jni/react/Android.mk +++ b/ReactAndroid/src/main/jni/react/Android.mk @@ -19,6 +19,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES) LOCAL_CFLAGS := \ -DLOG_TAG=\"ReactNative\" +LOCAL_LDLIBS += -landroid LOCAL_CFLAGS += -Wall -Werror -fexceptions -frtti CXX11_FLAGS := -std=c++11 LOCAL_CFLAGS += $(CXX11_FLAGS) diff --git a/ReactAndroid/src/main/jni/react/BUCK b/ReactAndroid/src/main/jni/react/BUCK index ffa06d775..c5b7d6462 100644 --- a/ReactAndroid/src/main/jni/react/BUCK +++ b/ReactAndroid/src/main/jni/react/BUCK @@ -4,6 +4,7 @@ include_defs('//ReactAndroid/DEFS') SUPPORTED_PLATFORMS = '^android-(armv7|x86)$' DEPS = [ + '//native/third-party/android-ndk:android', '//xplat/fbsystrace:fbsystrace', '//xplat/folly:molly', '//xplat/third-party/glog:glog',