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( rn_android_binary(
name = "app", name = "app",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_resource") load("//ReactNative:DEFS.bzl", "rn_android_resource")
rn_android_resource( rn_android_resource(
name = "assets", 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 # 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: # 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( rn_android_library(
name = "testing", 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( rn_android_library(
name = "idledetection", 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( rn_android_library(
name = "network", 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( rn_android_library(
name = "tests", 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 # used by ReactToolbarManager because of Gradle
# TODO t10182713 will be replaced with appcompat-orig when we stop using 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( rn_android_library(
name = "yoga", 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( rn_android_library(
name = "model", 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( rn_android_library(
name = "holder", 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( rn_android_library(
name = "tags", 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( rn_android_library(
name = "jni", name = "jni",

View File

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

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library") load("//ReactNative:DEFS.bzl", "rn_android_library")
rn_android_library( rn_android_library(
name = "annotations", 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( rn_android_library(
name = "react", 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( rn_android_library(
name = "animated", 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( rn_android_library(
name = "animation", 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( rn_android_library(
name = "bridge", 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 = [ SUB_PROJECTS = [
"network/**/*", "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( rn_android_library(
name = "network", 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( rn_android_library(
name = "devsupport", 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( rn_android_library(
name = "flat", 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( rn_android_library(
name = "jstasks", 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( rn_android_library(
name = "annotations", 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( rn_android_library(
name = "model", 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( rn_java_annotation_processor(
name = "processing", 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( rn_android_library(
name = "accessibilityinfo", 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( rn_android_library(
name = "appregistry", 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( rn_android_library(
name = "appstate", 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( rn_android_library(
name = "blob", 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( rn_android_library(
name = "camera", 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( rn_android_library(
name = "clipboard", 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( rn_android_library(
name = "common", 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( rn_android_library(
name = "core", 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( rn_android_library(
name = "datepicker", 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( rn_android_library(
name = "debug", 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( rn_android_library(
name = "deviceinfo", 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( rn_android_library(
name = "dialog", 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( rn_android_library(
name = "fresco", 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( rn_android_library(
name = "i18nmanager", 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( rn_android_library(
name = "image", 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( rn_android_library(
name = "intent", 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( rn_android_library(
name = "location", 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( rn_android_library(
name = "netinfo", 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( rn_android_library(
name = "network", 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( rn_android_library(
name = "permissions", 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( rn_android_library(
name = "share", 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( rn_android_library(
name = "statusbar", 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( rn_android_library(
name = "storage", 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( rn_android_library(
name = "systeminfo", 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( rn_android_library(
name = "timepicker", 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( rn_android_library(
name = "toast", 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( rn_android_library(
name = "vibration", 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( rn_android_library(
name = "websocket", 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( rn_android_library(
name = "packagerconnection", 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( rn_java_annotation_processor(
name = "processing", 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( rn_android_library(
name = "shell", 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( rn_android_library(
name = "touch", 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( rn_android_library(
name = "uimanager", 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( rn_android_library(
name = "annotations", 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( rn_android_library(
name = "util", 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( rn_android_library(
name = "util", 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( rn_android_library(
name = "art", 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( rn_android_library(
name = "checkbox", 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( rn_android_library(
name = "common", 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( rn_android_library(
name = "drawer", 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 = [ IMAGE_EVENT_FILES = [
"ImageLoadEvent.java", "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( rn_android_library(
name = "imagehelper", 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( rn_android_library(
name = "modal", 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( rn_android_library(
name = "picker", 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( rn_android_library(
name = "progressbar", 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( rn_android_library(
name = "scroll", 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( rn_android_library(
name = "slider", 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( rn_android_library(
name = "swiperefresh", 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( rn_android_library(
name = "switchview", 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( rn_android_library(
name = "text", 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( rn_android_library(
name = "frescosupport", 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( rn_android_library(
name = "textinput", 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( rn_android_library(
name = "toolbar", 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( rn_android_library(
name = "view", 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( rn_android_library(
name = "viewpager", 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( rn_android_library(
name = "webview", name = "webview",

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS", "rn_android_library") load("//ReactNative:DEFS.bzl", "rn_android_library")
rn_android_library( rn_android_library(
name = "systrace", 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 # This target is only used in open source
if IS_OSS_BUILD: 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( java_library(
name = "java", 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( cxx_library(
name = "fbgloginit", 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. # Copyright (c) 2014-present, Facebook, Inc.
# All rights reserved. # 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 # This target is only used in open source
if IS_OSS_BUILD: 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( cxx_library(
name = "jni", 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 # Temp workaround to get the build working e2e, Gradle builds them for us
rn_prebuilt_native_library( 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 = [ EXPORTED_HEADERS = [
"AndroidJSCFactory.h", "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( cxx_library(
name = "perftests", 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( rn_android_library(
name = "logging", 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( rn_android_library(
name = "powermock", 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( rn_android_prebuilt_aar(
name = "fresco-react-native", 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( rn_android_library(
name = "textlayoutbuilder", 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( rn_android_resource(
name = "devsupport", 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 # This is a bit messy and hopefully a temporary thing
# The problem is that Gradle extracts appcompat resources into app namespace, com.facebook.react # 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( rn_android_library(
name = "asm", name = "asm",

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