mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8997e9aa9c
Summary: This diff removes android x dependencies from: react/processing/BUCK "react/processing" is a java library and it shouldn't have an Android dependency, the purpose of this diff is to fix the CI in RN OSS repository Reviewed By: makovkastar Differential Revision: D16247319 fbshipit-source-id: c488ad234c292e85f8fc117634a9f2e51f582e39
28 lines
898 B
Python
28 lines
898 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"]),
|
|
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"),
|
|
],
|
|
)
|