mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 22:41:18 +08:00
Update yoga library name
Reviewed By: bestander Differential Revision: D4273387 fbshipit-source-id: 91373c6ef1e94b330fa249235ba97fec480e17c7
This commit is contained in:
committed by
Facebook Github Bot
parent
6234a5dfa2
commit
fd2fb6cd65
@@ -2,7 +2,7 @@ LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := csslayout
|
||||
LOCAL_MODULE := yoga
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
jni/YGJNI.cpp
|
||||
@@ -15,7 +15,7 @@ LOCAL_CFLAGS += $(CXX11_FLAGS)
|
||||
LOCAL_EXPORT_CPPFLAGS := $(CXX11_FLAGS)
|
||||
|
||||
LOCAL_LDLIBS += -landroid -llog
|
||||
LOCAL_STATIC_LIBRARIES := libcsslayoutcore
|
||||
LOCAL_STATIC_LIBRARIES := yogacore
|
||||
LOCAL_SHARED_LIBRARIES := libfb
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -4,7 +4,7 @@ include_defs('//ReactAndroid/DEFS')
|
||||
if IS_OSS_BUILD:
|
||||
cxx_library(
|
||||
name = 'jni',
|
||||
soname = 'libcsslayout.$(ext)',
|
||||
soname = 'libyoga.$(ext)',
|
||||
srcs = glob(['jni/*.cpp']),
|
||||
header_namespace = '',
|
||||
compiler_flags = [
|
||||
|
||||
@@ -2,7 +2,7 @@ LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := csslayoutcore
|
||||
LOCAL_MODULE := yogacore
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
CSSLayout/Yoga.c \
|
||||
|
||||
Reference in New Issue
Block a user