mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 09:27:29 +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,6 +1,6 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
|
||||
|
||||
android_library(
|
||||
rn_android_library(
|
||||
name = "logging",
|
||||
srcs = glob(["**/*.java"]),
|
||||
exported_deps = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_robolectric_test", "YOGA_TARGET", "react_native_dep", "react_native_target", "react_native_tests_target")
|
||||
|
||||
rn_robolectric_test(
|
||||
name = "react",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_robolectric_test", "react_native_dep", "react_native_target", "react_native_tests_target")
|
||||
|
||||
rn_robolectric_test(
|
||||
name = "animated",
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target", "rn_robolectric_test", "react_native_tests_target")
|
||||
|
||||
STANDARD_TEST_SRCS = [
|
||||
"*Test.java",
|
||||
]
|
||||
|
||||
android_library(
|
||||
rn_android_library(
|
||||
name = "testhelpers",
|
||||
srcs = glob(
|
||||
["*.java"],
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_robolectric_test", "react_native_dep", "react_native_target", "react_native_tests_target")
|
||||
|
||||
rn_robolectric_test(
|
||||
name = "devsupport",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_robolectric_test", "YOGA_TARGET", "react_native_dep", "react_native_target", "react_native_tests_target")
|
||||
|
||||
rn_robolectric_test(
|
||||
name = "modules",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_robolectric_test", "react_native_dep", "react_native_target")
|
||||
|
||||
rn_robolectric_test(
|
||||
name = "packagerconnection",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_robolectric_test", "YOGA_TARGET", "react_native_dep", "react_native_target", "react_native_tests_target")
|
||||
|
||||
rn_robolectric_test(
|
||||
name = "uimanager",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_robolectric_test", "YOGA_TARGET", "react_native_dep", "react_native_target", "react_native_tests_target")
|
||||
|
||||
rn_robolectric_test(
|
||||
name = "views",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
|
||||
|
||||
android_library(
|
||||
rn_android_library(
|
||||
name = "configuration",
|
||||
srcs = glob(["**/*.java"]),
|
||||
visibility = [
|
||||
|
||||
Reference in New Issue
Block a user