mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-06 09:13:27 +08:00
Reviewed By: mzlee Differential Revision: D6605611 fbshipit-source-id: baa33947319a27b95020924d177a9398a276dabe
28 lines
882 B
Python
28 lines
882 B
Python
load("//ReactNative:DEFS", "rn_java_annotation_processor", "rn_java_library", "react_native_dep", "react_native_target")
|
|
|
|
rn_java_annotation_processor(
|
|
name = "processing",
|
|
does_not_affect_abi = True,
|
|
processor_class = "com.facebook.react.processing.ReactPropertyProcessor",
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
":processing-lib",
|
|
],
|
|
)
|
|
|
|
rn_java_library(
|
|
name = "processing-lib",
|
|
srcs = glob(["*.java"]),
|
|
source = "7",
|
|
target = "7",
|
|
deps = [
|
|
react_native_dep("third-party/java/infer-annotations:infer-annotations"),
|
|
react_native_dep("third-party/java/javapoet:javapoet"),
|
|
react_native_dep("third-party/java/jsr-305:jsr-305"),
|
|
react_native_target("java/com/facebook/react/uimanager/annotations:annotations"),
|
|
react_native_target("java/com/facebook/react/bridge:bridge"),
|
|
],
|
|
)
|