mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-25 12:55:41 +08:00
Build C-version of CSSLayout in open source
Summary: Builds and ships libcsslayout.so with Android builds. This is not used yet, but a follow up diff will shortly move us from CSSNodeDEPRECATED to CSSNode (which uses libcsslayout) Reviewed By: emilsjolander Differential Revision: D4168140 fbshipit-source-id: d72bded88df81e4d54df31a08e4b101834770a73
This commit is contained in:
committed by
Facebook Github Bot
parent
33deaad196
commit
07ef5a8fe9
16
ReactCommon/CSSLayout/Android.mk
Normal file
16
ReactCommon/CSSLayout/Android.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := csslayoutcore
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
CSSLayout.c \
|
||||
CSSNodeList.c
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||
|
||||
LOCAL_CFLAGS := -Wall -Werror -fexceptions -frtti -std=c99
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
Reference in New Issue
Block a user