mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-13 20:55:32 +08:00
Reviewed By: yfeldblum Differential Revision: D8073585 fbshipit-source-id: 12322aebc09b89d5af9cc257b16c1bc0fbb066c1
28 lines
886 B
Python
28 lines
886 B
Python
load("//ReactNative:DEFS.bzl", "react_native_dep", "react_native_target", "rn_java_annotation_processor", "rn_java_library")
|
|
|
|
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"),
|
|
],
|
|
)
|