Summary: Use fbjni for safer and easier jni bridging. This diff includes all of fbjni as it currently does not live as its own open source project. The code was copied from the react-native open source distribution. Reviewed By: ritzau Differential Revision: D3764065 fbshipit-source-id: 7ff566af314dcb5279460c322c476ef6f6ed8131
19 lines
593 B
Plaintext
19 lines
593 B
Plaintext
|
|
CSSLAYOUT_ROOT = '//...'
|
|
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'
|
|
GTEST_DL_URL = 'https://github.com/google/googletest/archive/release-1.7.0.zip'
|
|
|
|
class allow_unsafe_import:
|
|
def __enter__(self):
|
|
pass
|
|
def __exit__(self, type, value, traceback):
|
|
pass
|
|
|
|
def css_layout_dep(name):
|
|
return '//' + name
|