Re-format BUCK to use recommended style.

Reviewed By: yfeldblum

Differential Revision: D8073585

fbshipit-source-id: 12322aebc09b89d5af9cc257b16c1bc0fbb066c1
This commit is contained in:
Taras Tsugrii 2018-05-20 23:06:59 -07:00 committed by Facebook Github Bot
parent 7d741d1119
commit 1a7682b2a1
119 changed files with 211 additions and 200 deletions

View File

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

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS.bzl", "rn_android_binary", "react_native_dep", "react_native_integration_tests_target", "react_native_target", "KEYSTORE_TARGET")
load("//ReactNative:DEFS.bzl", "KEYSTORE_TARGET", "react_native_dep", "react_native_integration_tests_target", "react_native_target", "rn_android_binary")
# 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.bzl", "rn_android_library", "react_native_dep", "react_native_integration_tests_target", "react_native_target")
load("//ReactNative:DEFS.bzl", "react_native_dep", "react_native_integration_tests_target", "react_native_target", "rn_android_library")
rn_android_library(
name = "testing",

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS.bzl", "rn_android_resource", "react_native_dep")
load("//ReactNative:DEFS.bzl", "react_native_dep", "rn_android_resource")
# 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.bzl", "rn_android_library", "react_native_dep")
load("//ReactNative:DEFS.bzl", "react_native_dep", "rn_android_library")
rn_android_library(
name = "yoga",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS.bzl", "react_native_target", "react_native_xplat_target", "rn_xplat_cxx_library", "FBJNI_TARGET", "ANDROID")
load("//ReactNative:DEFS.bzl", "ANDROID", "FBJNI_TARGET", "react_native_target", "react_native_xplat_target", "rn_xplat_cxx_library")
rn_xplat_cxx_library(
name = "jni",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,27 +1,27 @@
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "cxx_library", "JNI_TARGET")
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "JNI_TARGET", "cxx_library")
# This target is only used in open source
if IS_OSS_BUILD:
cxx_library(
name = 'jni',
soname = 'libfb.$(ext)',
srcs = glob(['*.cpp', 'jni/*.cpp', 'lyra/*.cpp']),
header_namespace = '',
name = "jni",
soname = "libfb.$(ext)",
srcs = glob(["*.cpp", "jni/*.cpp", "lyra/*.cpp"]),
header_namespace = "",
compiler_flags = [
'-fno-omit-frame-pointer',
'-fexceptions',
'-Wall',
'-Werror',
'-std=c++11',
'-DDISABLE_CPUCAP',
'-DDISABLE_XPLAT',
"-fno-omit-frame-pointer",
"-fexceptions",
"-Wall",
"-Werror",
"-std=c++11",
"-DDISABLE_CPUCAP",
"-DDISABLE_XPLAT",
],
exported_headers = subdir_glob([
('include', 'fb/**/*.h'),
('include', 'jni/*.h'),
("include", "fb/**/*.h"),
("include", "jni/*.h"),
]),
deps = [
JNI_TARGET,
],
visibility = ['PUBLIC'],
visibility = ["PUBLIC"],
)

View File

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

View File

@ -1,23 +1,23 @@
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "cxx_library", "FBJNI_TARGET")
load("//ReactNative:DEFS.bzl", "FBJNI_TARGET", "IS_OSS_BUILD", "cxx_library")
# This target is only used in open source
if IS_OSS_BUILD:
cxx_library(
name = 'jni',
soname = 'libyoga.$(ext)',
srcs = glob(['jni/*.cpp']),
header_namespace = '',
name = "jni",
soname = "libyoga.$(ext)",
srcs = glob(["jni/*.cpp"]),
header_namespace = "",
compiler_flags = [
'-fno-omit-frame-pointer',
'-fexceptions',
'-Wall',
'-Werror',
'-O3',
'-std=c++11',
"-fno-omit-frame-pointer",
"-fexceptions",
"-Wall",
"-Werror",
"-O3",
"-std=c++11",
],
deps = [
'//ReactCommon/yoga:yoga',
"//ReactCommon/yoga:yoga",
FBJNI_TARGET,
],
visibility = ['PUBLIC'],
visibility = ["PUBLIC"],
)

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS.bzl", "rn_prebuilt_native_library", "rn_android_prebuilt_aar")
load("//ReactNative:DEFS.bzl", "rn_android_prebuilt_aar", "rn_prebuilt_native_library")
# 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.bzl", "rn_xplat_cxx_library", "react_native_xplat_target", "FBJNI_TARGET", "ANDROID_JSC_DEPS", "APPLE_JSC_DEPS", "ANDROID", "IS_OSS_BUILD")
load("//ReactNative:DEFS.bzl", "ANDROID", "ANDROID_JSC_DEPS", "APPLE_JSC_DEPS", "FBJNI_TARGET", "IS_OSS_BUILD", "react_native_xplat_target", "rn_xplat_cxx_library")
EXPORTED_HEADERS = [
"AndroidJSCFactory.h",

View File

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

View File

@ -16,9 +16,9 @@ for lib in LIBS:
name = lib,
header_only = True,
exported_platform_linker_flags = [
('android.*', ['-l' + lib]),
("android.*", ["-l" + lib]),
],
visibility = [
'PUBLIC',
"PUBLIC",
],
)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
load("//ReactNative:DEFS.bzl", "rn_android_library", "react_native_dep", "react_native_target", "rn_robolectric_test", "react_native_tests_target")
load("//ReactNative:DEFS.bzl", "react_native_dep", "react_native_target", "react_native_tests_target", "rn_android_library", "rn_robolectric_test")
STANDARD_TEST_SRCS = [
"*Test.java",

View File

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

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