mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: CI buck build is currently broken, this fixes it. ## Changelog [Internal] [Fixed] - Fix rntester buck build Pull Request resolved: https://github.com/facebook/react-native/pull/26221 Test Plan: `buck fetch rntester && buck build rntester` Reviewed By: cpojer Differential Revision: D17091483 Pulled By: osdnk fbshipit-source-id: 09fd86270e7b27d2632b936cc809d80299c7ab38
27 lines
737 B
Python
27 lines
737 B
Python
load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
|
|
load("//tools/build_defs/oss:rn_defs.bzl", "rn_android_library", "rn_prebuilt_jar")
|
|
|
|
rn_prebuilt_jar(
|
|
name = "yoga-annotations",
|
|
binary_jar = ":annotations-binary.jar",
|
|
visibility = ["PUBLIC"],
|
|
)
|
|
|
|
fb_native.remote_file(
|
|
name = "annotations-binary.jar",
|
|
sha1 = "3d015bb821875657ac8e4b808a223aae339defb2",
|
|
url = "https://jcenter.bintray.com/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.jar",
|
|
)
|
|
|
|
rn_android_library(
|
|
name = "annotations",
|
|
srcs = glob(["*.java"]),
|
|
proguard_config = "proguard_annotations.pro",
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
exported_deps = [
|
|
":yoga-annotations",
|
|
],
|
|
)
|