Skylarkify RN defs.

Reviewed By: adamjernst

Differential Revision: D6934209

fbshipit-source-id: 59f50b739482a53473c157f9e0183024dc88dc67
This commit is contained in:
Taras Tsugrii 2018-02-08 09:36:45 -08:00 committed by Facebook Github Bot
parent a5e135aed6
commit 79a63d040f
125 changed files with 305 additions and 280 deletions

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "rn_android_binary", "rn_android_resource", "react_native_dep", "react_native_target", "KEYSTORE_TARGET")
load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_android_binary", "rn_android_resource", "react_native_dep", "react_native_target", "KEYSTORE_TARGET")
rn_android_binary(
name = "app",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_resource")
load("//ReactNative:DEFS.bzl", "rn_android_resource")
rn_android_resource(
name = "assets",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_binary", "react_native_dep", "react_native_integration_tests_target", "react_native_target", "KEYSTORE_TARGET")
load("//ReactNative:DEFS.bzl", "rn_android_binary", "react_native_dep", "react_native_integration_tests_target", "react_native_target", "KEYSTORE_TARGET")
# We are running instrumentation tests in simple mode: app code and instrumentation are in the same APK
# Currently you need to run these commands to execute tests:

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_integration_tests_target", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_integration_tests_target", "react_native_target")
rn_android_library(
name = "testing",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "idledetection",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "network",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_integration_tests_target", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_integration_tests_target", "react_native_target")
rn_android_library(
name = "tests",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_resource", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_resource", "react_native_dep")
# used by ReactToolbarManager because of Gradle
# TODO t10182713 will be replaced with appcompat-orig when we stop using Gradle

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "yoga",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "model",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "holder",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "tags",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "jni",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library")
load("//ReactNative:DEFS.bzl", "rn_android_library")
rn_android_library(
name = "perftest",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library")
load("//ReactNative:DEFS.bzl", "rn_android_library")
rn_android_library(
name = "annotations",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "react",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "animated",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "animation",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target", "IS_OSS_BUILD")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target", "IS_OSS_BUILD")
rn_android_library(
name = "bridge",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "rn_android_build_config", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_android_build_config", "react_native_dep")
SUB_PROJECTS = [
"network/**/*",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "network",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "devsupport",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "flat",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "jstasks",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "annotations",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "model",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_java_annotation_processor", "rn_java_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_java_annotation_processor", "rn_java_library", "react_native_dep", "react_native_target")
rn_java_annotation_processor(
name = "processing",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "accessibilityinfo",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_target")
rn_android_library(
name = "appregistry",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "appstate",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "blob",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "camera",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "clipboard",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "common",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "core",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "datepicker",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "debug",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "deviceinfo",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "dialog",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "fresco",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "i18nmanager",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "image",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "intent",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "location",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "netinfo",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "network",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "permissions",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "share",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "statusbar",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "storage",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "systeminfo",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "timepicker",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "toast",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "vibration",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "websocket",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "IS_OSS_BUILD", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "packagerconnection",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_java_annotation_processor", "rn_java_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_java_annotation_processor", "rn_java_library", "react_native_dep", "react_native_target")
rn_java_annotation_processor(
name = "processing",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "shell",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "touch",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "uimanager",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "annotations",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "util",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_target")
rn_android_library(
name = "util",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "art",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "checkbox",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "common",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "drawer",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target", "YOGA_TARGET")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target", "YOGA_TARGET")
IMAGE_EVENT_FILES = [
"ImageLoadEvent.java",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "imagehelper",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "modal",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "picker",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "progressbar",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "scroll",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "slider",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "swiperefresh",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "switchview",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "text",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "frescosupport",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "textinput",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "toolbar",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "YOGA_TARGET", "react_native_dep", "react_native_target")
rn_android_library(
name = "view",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "viewpager",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target")
rn_android_library(
name = "webview",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library")
load("//ReactNative:DEFS.bzl", "rn_android_library")
rn_android_library(
name = "systrace",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "IS_OSS_BUILD", "cxx_library", "JNI_TARGET")
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "cxx_library", "JNI_TARGET")
# This target is only used in open source
if IS_OSS_BUILD:

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "react_native_dep")
load("//ReactNative:DEFS.bzl", "react_native_dep")
java_library(
name = "java",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "cxx_library", "GLOG_DEP")
load("//ReactNative:DEFS.bzl", "cxx_library", "GLOG_DEP")
cxx_library(
name = "fbgloginit",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "cxx_library")
load("//ReactNative:DEFS.bzl", "cxx_library")
# Copyright (c) 2014-present, Facebook, Inc.
# All rights reserved.

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "IS_OSS_BUILD", "cxx_library", "FBJNI_TARGET")
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "cxx_library", "FBJNI_TARGET")
# This target is only used in open source
if IS_OSS_BUILD:

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "cxx_library", "FBJNI_TARGET", "ANDROID_JSC_DEPS", "APPLE_JSC_DEPS", "IS_OSS_BUILD", "react_native_xplat_target")
load("//ReactNative:DEFS.bzl", "cxx_library", "FBJNI_TARGET", "ANDROID_JSC_DEPS", "APPLE_JSC_DEPS", "IS_OSS_BUILD", "react_native_xplat_target")
cxx_library(
name = "jni",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_prebuilt_native_library", "rn_android_prebuilt_aar")
load("//ReactNative:DEFS.bzl", "rn_prebuilt_native_library", "rn_android_prebuilt_aar")
# Temp workaround to get the build working e2e, Gradle builds them for us
rn_prebuilt_native_library(

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "cxx_library", "react_native_xplat_target", "FBJNI_TARGET", "ANDROID_JSC_DEPS", "APPLE_JSC_DEPS", "IS_OSS_BUILD")
load("//ReactNative:DEFS.bzl", "cxx_library", "react_native_xplat_target", "FBJNI_TARGET", "ANDROID_JSC_DEPS", "APPLE_JSC_DEPS", "IS_OSS_BUILD")
EXPORTED_HEADERS = [
"AndroidJSCFactory.h",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "cxx_library", "react_native_xplat_target")
load("//ReactNative:DEFS.bzl", "cxx_library", "react_native_xplat_target")
cxx_library(
name = "perftests",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep")
rn_android_library(
name = "logging",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "rn_prebuilt_jar")
load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar")
rn_android_library(
name = "powermock",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "rn_android_prebuilt_aar", "rn_prebuilt_jar")
load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_android_prebuilt_aar", "rn_prebuilt_jar")
rn_android_prebuilt_aar(
name = "fresco-react-native",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "rn_android_prebuilt_aar", "rn_prebuilt_jar")
load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_android_prebuilt_aar", "rn_prebuilt_jar")
rn_android_library(
name = "textlayoutbuilder",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_resource", "react_native_target", "android_react_native_target", "apple_react_native_target")
load("//ReactNative:DEFS.bzl", "rn_android_resource", "react_native_target", "android_react_native_target", "apple_react_native_target")
rn_android_resource(
name = "devsupport",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "rn_android_resource", "rn_prebuilt_jar")
load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_android_resource", "rn_prebuilt_jar")
# This is a bit messy and hopefully a temporary thing
# The problem is that Gradle extracts appcompat resources into app namespace, com.facebook.react

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library", "rn_prebuilt_jar")
load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar")
rn_android_library(
name = "asm",

Some files were not shown because too many files have changed in this diff Show More