mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Bump Android Support Library to 28.0.0. Therefore fix Android CI Changelog: ---------- [Android] [Changed] - Bump Android Support Library to 28.0.0. Pull Request resolved: https://github.com/facebook/react-native/pull/23109 Differential Revision: D13779835 Pulled By: mdvacca fbshipit-source-id: 7645ffe2c04ca81424b2f9cfa43dc4ec30c50e25
74 lines
2.8 KiB
Python
74 lines
2.8 KiB
Python
load("//tools/build_defs/oss:rn_defs.bzl", "IS_OSS_BUILD", "react_native_dep", "react_native_target", "rn_android_library")
|
|
|
|
INTERFACES = [
|
|
"Dynamic.java",
|
|
"ReadableMap.java",
|
|
"ReadableMapKeySetIterator.java",
|
|
"WritableArray.java",
|
|
"WritableMap.java",
|
|
"NativeModule.java",
|
|
"JSInstance.java",
|
|
"ReadableArray.java",
|
|
"ReadableType.java",
|
|
"NativeArrayInterface.java",
|
|
]
|
|
|
|
rn_android_library(
|
|
name = "bridge",
|
|
srcs = glob(
|
|
["**/*.java"],
|
|
exclude = INTERFACES,
|
|
),
|
|
proguard_config = "reactnative.pro",
|
|
provided_deps = [
|
|
react_native_dep("third-party/android/support/v4:lib-support-v4"),
|
|
],
|
|
required_for_source_only_abi = True,
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
react_native_dep("java/com/facebook/debug/debugoverlay/model:model"),
|
|
react_native_dep("java/com/facebook/systrace:systrace"),
|
|
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
|
|
react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"),
|
|
react_native_dep("third-party/java/infer-annotations:infer-annotations"),
|
|
react_native_dep("third-party/java/jsr-305:jsr-305"),
|
|
react_native_target("java/com/facebook/debug/tags:tags"),
|
|
react_native_target("java/com/facebook/debug/holder:holder"),
|
|
react_native_target("java/com/facebook/react/common:common"),
|
|
react_native_target("java/com/facebook/react/config:config"),
|
|
react_native_target("java/com/facebook/react/module/model:model"),
|
|
react_native_target("java/com/facebook/react/uimanager/common:common"),
|
|
react_native_target("java/com/facebook/react/module/annotations:annotations"),
|
|
] + ([react_native_target("jni/react/jni:jni")] if not IS_OSS_BUILD else []),
|
|
exported_deps = [
|
|
react_native_dep("java/com/facebook/jni:jni"),
|
|
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
|
|
react_native_dep("third-party/java/jsr-330:jsr-330"),
|
|
react_native_target("java/com/facebook/react/bridge:interfaces"),
|
|
],
|
|
)
|
|
|
|
rn_android_library(
|
|
name = "interfaces",
|
|
srcs = glob(INTERFACES),
|
|
proguard_config = "reactnative.pro",
|
|
provided_deps = [
|
|
react_native_dep("third-party/android/support/v4:lib-support-v4"),
|
|
],
|
|
required_for_source_only_abi = True,
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
react_native_dep("third-party/java/infer-annotations:infer-annotations"),
|
|
react_native_dep("third-party/java/jsr-305:jsr-305"),
|
|
react_native_target("java/com/facebook/debug/tags:tags"),
|
|
],
|
|
exported_deps = [
|
|
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
|
|
react_native_dep("third-party/java/jsr-330:jsr-330"),
|
|
],
|
|
)
|