Add Scoped Local and Global Ref

Summary: Add ScopedLocalRef, ScopedGlobalRef and some common methods to be used later.

Reviewed By: amir-shalem

Differential Revision: D17711284

fbshipit-source-id: be43d5e246bc2406765057783be11854877c41f1
This commit is contained in:
Sidharth Guglani
2019-10-08 17:48:32 -07:00
committed by Facebook Github Bot
parent 7c2683fe52
commit b9b0217a07
8 changed files with 604 additions and 1 deletions

View File

@@ -29,7 +29,10 @@ add_compile_options(
-Wall
-std=c++11)
add_library(yoga SHARED jni/YGJNI.cpp jni/YGJTypes.cpp jni/YGJNIVanilla.cpp)
file(GLOB jni_SRC
jni/*.cpp)
add_library(yoga SHARED ${jni_SRC})
target_include_directories(yoga PRIVATE
${libfb_DIR}/include