mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-01 14:25:08 +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,10 +1,10 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_android_library", "rn_android_build_config", "react_native_dep")
|
||||
|
||||
SUB_PROJECTS = [
|
||||
"network/**/*",
|
||||
]
|
||||
|
||||
android_library(
|
||||
rn_android_library(
|
||||
name = "common",
|
||||
srcs = glob(
|
||||
["**/*.java"],
|
||||
@@ -28,7 +28,7 @@ android_library(
|
||||
],
|
||||
)
|
||||
|
||||
android_build_config(
|
||||
rn_android_build_config(
|
||||
name = "build_config",
|
||||
package = "com.facebook.react",
|
||||
values = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
|
||||
|
||||
android_library(
|
||||
rn_android_library(
|
||||
name = "network",
|
||||
srcs = glob(["**/*.java"]),
|
||||
visibility = [
|
||||
|
||||
Reference in New Issue
Block a user