mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f24b815fe6
Summary: Internal code attribution update. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D21603406 fbshipit-source-id: c3da1823e26beb0092d97e66d731618c0433a2f7
29 lines
968 B
Python
29 lines
968 B
Python
load("//tools/build_defs/oss:rn_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"]),
|
|
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
|
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"),
|
|
],
|
|
)
|