mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-16 08:19:47 +08:00
Run buildifier over BUCK and TARGETS files
Reviewed By: scottrice Differential Revision: D8163151 fbshipit-source-id: 700a77c09c6ab1bef8fd24a2a3133a4b50e3b3a3
This commit is contained in:
committed by
Facebook Github Bot
parent
04028bf216
commit
d42697bcf3
@@ -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"),
|
||||
],
|
||||
)
|
||||
|
||||
@@ -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"),
|
||||
],
|
||||
)
|
||||
|
||||
@@ -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"),
|
||||
],
|
||||
)
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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"),
|
||||
],
|
||||
)
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -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",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user