Summary: The sample app is simply moved into the repo. A few libraries are included and the buck targets rearranged. Reviewed By: emilsjolander Differential Revision: D4528129 fbshipit-source-id: 3e9e779857cd9219711a939876c9275d75e09929
35 lines
948 B
Plaintext
35 lines
948 B
Plaintext
|
|
YOGA_ROOT = '//...'
|
|
JAVA_TARGET = '//java:java'
|
|
INFER_ANNOTATIONS_TARGET = '//lib/infer-annotations:infer-annotations'
|
|
JSR_305_TARGET = '//lib/jsr-305:jsr-305'
|
|
JUNIT_TARGET = '//lib/junit:junit'
|
|
PROGRUARD_ANNOTATIONS_TARGET = '//java/com/facebook/proguard/annotations:annotations'
|
|
SOLOADER_TARGET = '//lib/soloader:soloader'
|
|
GTEST_TARGET = '//lib/gtest:gtest'
|
|
JNI_TARGET = '//lib/jni:jni'
|
|
FBJNI_TARGET = '//lib/fb:fbjni'
|
|
APPCOMPAT_TARGET = '//lib/appcompat:appcompat'
|
|
ANDROID_SUPPORT_TARGET = '//lib/android-support:android-support'
|
|
ANDROID_SAMPLE_JAVA_TARGET = '//android/sample/java/com/facebook/samples/yoga:yoga'
|
|
ANDROID_SAMPLE_RES_TARGET = '//android/sample/res/com/facebook/samples/yoga:res'
|
|
|
|
THIS_IS_FBOBJC = False
|
|
|
|
CXX_LIBRARY_WHITELIST = [
|
|
'//:yoga',
|
|
'//lib/fb:fbjni',
|
|
'//java:jni',
|
|
]
|
|
|
|
BASE_COMPILER_FLAGS = [
|
|
'-fno-omit-frame-pointer',
|
|
'-fexceptions',
|
|
'-Wall',
|
|
'-Werror',
|
|
'-O3',
|
|
]
|
|
|
|
def yoga_dep(dep):
|
|
return '//' + dep
|