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:
Andy Street
2016-11-14 06:08:16 -08:00
committed by Facebook Github Bot
parent 33deaad196
commit 07ef5a8fe9
4 changed files with 59 additions and 1 deletions

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