Run buildifier over BUCK and TARGETS files

Reviewed By: scottrice

Differential Revision: D8163151

fbshipit-source-id: 700a77c09c6ab1bef8fd24a2a3133a4b50e3b3a3
This commit is contained in:
Andres Suarez 2018-05-25 11:09:49 -07:00 committed by Facebook Github Bot
parent 04028bf216
commit d42697bcf3
22 changed files with 51 additions and 51 deletions

View File

@ -3,13 +3,13 @@ load("//ReactNative:DEFS.bzl", "react_native_dep", "rn_android_library")
rn_android_library(
name = "holder",
srcs = glob(["*.java"]),
exported_deps = [
react_native_dep("java/com/facebook/debug/debugoverlay/model:model"),
],
visibility = [
"PUBLIC",
],
deps = [
react_native_dep("third-party/java/jsr-305:jsr-305"),
],
exported_deps = [
react_native_dep("java/com/facebook/debug/debugoverlay/model:model"),
],
)

View File

@ -3,13 +3,13 @@ load("//ReactNative:DEFS.bzl", "react_native_dep", "rn_android_library")
rn_android_library(
name = "tags",
srcs = glob(["*.java"]),
exported_deps = [
react_native_dep("java/com/facebook/debug/debugoverlay/model:model"),
],
visibility = [
"PUBLIC",
],
deps = [
react_native_dep("third-party/java/jsr-305:jsr-305"),
],
exported_deps = [
react_native_dep("java/com/facebook/debug/debugoverlay/model:model"),
],
)

View File

@ -3,11 +3,6 @@ load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_dep", "react_native
rn_android_library(
name = "bridge",
srcs = glob(["**/*.java"]),
exported_deps = [
react_native_dep("java/com/facebook/jni:jni"),
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
react_native_dep("third-party/java/jsr-330:jsr-330"),
],
proguard_config = "reactnative.pro",
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
@ -29,4 +24,9 @@ rn_android_library(
react_native_target("java/com/facebook/react/module/model:model"),
react_native_target("java/com/facebook/react/uimanager/common:common"),
] + ([react_native_target("jni/react/jni:jni")] if not IS_OSS_BUILD else []),
exported_deps = [
react_native_dep("java/com/facebook/jni:jni"),
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
react_native_dep("third-party/java/jsr-330:jsr-330"),
],
)

View File

@ -10,9 +10,6 @@ rn_android_library(
["**/*.java"],
excludes = SUB_PROJECTS,
),
exported_deps = [
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
],
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
@ -26,6 +23,9 @@ rn_android_library(
react_native_dep("third-party/java/infer-annotations:infer-annotations"),
react_native_dep("third-party/java/jsr-305:jsr-305"),
],
exported_deps = [
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
],
)
rn_android_build_config(

View File

@ -3,10 +3,6 @@ load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_dep", "react_native
rn_android_library(
name = "jsc",
srcs = glob(["**/*.java"]),
exported_deps = [
react_native_dep("java/com/facebook/jni:jni"),
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
],
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
@ -21,4 +17,8 @@ rn_android_library(
react_native_target("java/com/facebook/react/fabric:fabric"),
react_native_target("java/com/facebook/react/fabric/jsc/jni:jni"),
],
exported_deps = [
react_native_dep("java/com/facebook/jni:jni"),
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
],
)

View File

@ -6,9 +6,6 @@ rn_android_library(
"AndroidInfoModule.java",
"ReactNativeVersion.java",
],
exported_deps = [
":systeminfo-moduleless",
],
visibility = [
"PUBLIC",
],
@ -18,6 +15,9 @@ rn_android_library(
react_native_target("java/com/facebook/react/common:common"),
react_native_target("java/com/facebook/react/module/annotations:annotations"),
],
exported_deps = [
":systeminfo-moduleless",
],
)
rn_android_library(

View File

@ -11,11 +11,6 @@ rn_android_library(
],
excludes = ["DisplayMetricsHolder.java"],
),
exported_deps = [
":DisplayMetrics",
react_native_dep("third-party/java/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/uimanager/common:common"),
],
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/android/support-annotations:android-support-annotations"),
@ -44,6 +39,11 @@ rn_android_library(
react_native_target("java/com/facebook/react/uimanager/common:common"),
react_native_target("res:uimanager"),
],
exported_deps = [
":DisplayMetrics",
react_native_dep("third-party/java/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/uimanager/common:common"),
],
)
rn_android_library(

View File

@ -26,9 +26,6 @@ rn_android_library(
["*.java"],
excludes = IMAGE_EVENT_FILES,
),
exported_deps = [
":imageevents",
],
provided_deps = [
react_native_dep("third-party/android/support-annotations:android-support-annotations"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
@ -52,4 +49,7 @@ rn_android_library(
react_native_target("java/com/facebook/react/uimanager/annotations:annotations"),
react_native_target("java/com/facebook/react/views/imagehelper:withmultisource"),
],
exported_deps = [
":imageevents",
],
)

View File

@ -18,9 +18,6 @@ rn_android_library(
rn_android_library(
name = "withmultisource",
srcs = ["MultiSourceHelper.java"],
exported_deps = [
":imagehelper",
],
visibility = [
"PUBLIC",
],
@ -29,4 +26,7 @@ rn_android_library(
react_native_dep("third-party/java/infer-annotations:infer-annotations"),
react_native_dep("third-party/java/jsr-305:jsr-305"),
],
exported_deps = [
":imagehelper",
],
)

View File

@ -2,8 +2,8 @@ load("//ReactNative:DEFS.bzl", "react_native_dep", "rn_android_library")
rn_android_library(
name = "logging",
visibility = ["//ReactAndroid/..."],
exported_deps = [
react_native_dep("libraries/fresco/fresco-react-native:fbcore"),
],
visibility = ["//ReactAndroid/..."],
)

View File

@ -2,6 +2,7 @@ load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar")
rn_android_library(
name = "powermock",
visibility = ["//ReactAndroid/..."],
exported_deps = [
":javassist",
":mockito-all",
@ -16,7 +17,6 @@ rn_android_library(
":xpp3",
":xstream",
],
visibility = ["//ReactAndroid/..."],
)
rn_prebuilt_jar(

View File

@ -26,12 +26,12 @@ remote_file(
rn_android_library(
name = "imagepipeline",
visibility = ["//ReactAndroid/..."],
exported_deps = [
":bolts",
":imagepipeline-base",
":imagepipeline-core",
],
visibility = ["//ReactAndroid/..."],
)
rn_android_prebuilt_aar(

View File

@ -2,11 +2,11 @@ load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_android_prebuilt_aar",
rn_android_library(
name = "textlayoutbuilder",
visibility = ["//ReactAndroid/..."],
exported_deps = [
":staticlayoutproxy",
":textlayoutbuilder-base",
],
visibility = ["//ReactAndroid/..."],
)
rn_android_prebuilt_aar(

View File

@ -11,15 +11,15 @@ load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_android_resource", "rn_
rn_android_library(
name = "appcompat",
exported_deps = [
":classes-for-react-native",
],
visibility = [
"PUBLIC",
],
deps = [
":res-for-appcompat",
],
exported_deps = [
":classes-for-react-native",
],
)
# still used by appcompat library internally, so we need both during the build

View File

@ -2,6 +2,7 @@ load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar")
rn_android_library(
name = "asm",
visibility = ["//ReactAndroid/..."],
exported_deps = [
":asm-analysis",
":asm-commons",
@ -9,7 +10,6 @@ rn_android_library(
":asm-tree",
":asm-util",
],
visibility = ["//ReactAndroid/..."],
)
rn_prebuilt_jar(

View File

@ -2,11 +2,11 @@ load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar")
rn_android_library(
name = "fest",
visibility = ["//ReactAndroid/..."],
exported_deps = [
":fest-core",
":fest-util",
],
visibility = ["//ReactAndroid/..."],
)
rn_prebuilt_jar(

View File

@ -2,11 +2,11 @@ load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar")
rn_android_library(
name = "junit",
visibility = ["//ReactAndroid/..."],
exported_deps = [
":hamcrest",
":junit-core",
],
visibility = ["//ReactAndroid/..."],
)
rn_prebuilt_jar(

View File

@ -2,11 +2,11 @@ load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar")
rn_android_library(
name = "mockito",
visibility = ["//ReactAndroid/..."],
exported_deps = [
":mockito-core",
":objenesis",
],
visibility = ["//ReactAndroid/..."],
)
rn_prebuilt_jar(

View File

@ -2,6 +2,7 @@ load("//ReactNative:DEFS.bzl", "react_native_dep", "rn_android_library", "rn_pre
rn_android_library(
name = "robolectric",
visibility = ["//ReactAndroid/..."],
exported_deps = [
":android-all-4.1.2_r1-robolectric-0",
":bouncycastle",
@ -17,7 +18,6 @@ rn_android_library(
react_native_dep("third-party/java/asm:asm"),
react_native_dep("third-party/java/sqlite:sqlite"),
],
visibility = ["//ReactAndroid/..."],
)
rn_prebuilt_jar(

View File

@ -2,10 +2,10 @@ load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar")
rn_android_library(
name = "sqlite",
visibility = ["//ReactAndroid/..."],
exported_deps = [
":sqlite4java",
],
visibility = ["//ReactAndroid/..."],
)
rn_prebuilt_jar(

View File

@ -3,13 +3,13 @@ load("//ReactNative:DEFS.bzl", "react_native_dep", "rn_android_library")
rn_android_library(
name = "logging",
srcs = glob(["**/*.java"]),
exported_deps = [
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
],
visibility = [
"PUBLIC",
],
deps = [
react_native_dep("third-party/java/jsr-305:jsr-305"),
],
exported_deps = [
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
],
)

View File

@ -34,9 +34,6 @@ rn_xplat_cxx_library(
"-fvisibility=hidden",
"-std=c++1y",
],
exported_deps = [
react_native_xplat_target("privatedata:privatedata"),
],
fbandroid_deps = ANDROID_JSC_INTERNAL_DEPS,
fbobjc_deps = APPLE_JSC_INTERNAL_DEPS,
force_static = True,
@ -49,6 +46,9 @@ rn_xplat_cxx_library(
"xplat//third-party/glog:glog",
react_native_xplat_target("privatedata:privatedata"),
],
exported_deps = [
react_native_xplat_target("privatedata:privatedata"),
],
)
rn_xplat_cxx_library(