mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-06 09:13:27 +08:00
Make xplat react native files buildable
Reviewed By: mzlee Differential Revision: D6605611 fbshipit-source-id: baa33947319a27b95020924d177a9398a276dabe
This commit is contained in:
committed by
Facebook Github Bot
parent
cec2e80fc2
commit
4f2cc42a2d
@@ -1,19 +1,17 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
|
||||
|
||||
DEPS = [
|
||||
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
|
||||
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/react/bridge:bridge"),
|
||||
react_native_target("java/com/facebook/react/common:common"),
|
||||
react_native_target("java/com/facebook/react/modules/appregistry:appregistry"),
|
||||
]
|
||||
|
||||
android_library(
|
||||
rn_android_library(
|
||||
name = "jstasks",
|
||||
srcs = glob(["*.java"]),
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
],
|
||||
deps = DEPS,
|
||||
deps = [
|
||||
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
|
||||
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/react/bridge:bridge"),
|
||||
react_native_target("java/com/facebook/react/common:common"),
|
||||
react_native_target("java/com/facebook/react/modules/appregistry:appregistry"),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user