Make xplat react native files buildable

Reviewed By: mzlee

Differential Revision: D6605611

fbshipit-source-id: baa33947319a27b95020924d177a9398a276dabe
This commit is contained in:
Jonathan Kim
2018-01-21 21:54:01 -08:00
committed by Facebook Github Bot
parent cec2e80fc2
commit 4f2cc42a2d
138 changed files with 461 additions and 462 deletions

View File

@@ -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"),
],
)