Apply new buildifier fixes

Summary: Changelog: [Internal]

Reviewed By: zertosh

Differential Revision: D30407205

fbshipit-source-id: 022a02829d59a900764b228afb9856ed1ba2cf8c
This commit is contained in:
Chatura Atapattu
2021-08-19 19:58:47 -07:00
committed by Facebook GitHub Bot
parent 8258f5e271
commit 2c2b831716
12 changed files with 18 additions and 18 deletions
@@ -15,7 +15,7 @@ rn_android_library(
visibility = [
"PUBLIC",
],
deps = ([
deps = [
react_native_dep("third-party/android/androidx:test-espresso-core"),
react_native_dep("third-party/java/jsr-305:jsr-305"),
react_native_dep("third-party/java/junit:junit"),
@@ -36,8 +36,8 @@ rn_android_library(
react_native_target("java/com/facebook/react/modules/core:core"),
react_native_target("java/com/facebook/react/shell:shell"),
react_native_target("java/com/facebook/react/uimanager:uimanager"),
]) + ([
] + [
react_native_dep("java/com/facebook/testing/instrumentation:instrumentation"),
react_native_dep("java/com/facebook/testing/instrumentation/base:base"),
]) if not IS_OSS_BUILD else [],
] if not IS_OSS_BUILD else [],
)
@@ -12,7 +12,7 @@ rn_android_library(
srcs = glob(["*.java"]),
autoglob = False,
is_androidx = True,
deps = ([
deps = [
react_native_dep("third-party/android/androidx:test-espresso-core"),
react_native_dep("third-party/java/fest:fest"),
react_native_dep("third-party/java/junit:junit"),
@@ -27,7 +27,7 @@ rn_android_library(
react_native_target("java/com/facebook/react/module/model:model"),
react_native_target("java/com/facebook/react/shell:shell"),
react_native_target("java/com/facebook/react/uimanager:uimanager"),
]) + ([
] + [
react_native_dep("java/com/facebook/fbreact/testing:testing"),
]) if not IS_OSS_BUILD else [],
] if not IS_OSS_BUILD else [],
)
@@ -19,7 +19,7 @@ rn_xplat_cxx_library(
],
fbandroid_allow_jni_merging = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = (ANDROID),
platforms = ANDROID,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
@@ -19,7 +19,7 @@ rn_xplat_cxx_library(
],
fbandroid_allow_jni_merging = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = (ANDROID),
platforms = ANDROID,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
@@ -19,7 +19,7 @@ rn_xplat_cxx_library(
],
fbandroid_allow_jni_merging = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = (ANDROID),
platforms = ANDROID,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
@@ -19,7 +19,7 @@ rn_xplat_cxx_library(
],
fbandroid_allow_jni_merging = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = (ANDROID),
platforms = ANDROID,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
+2 -2
View File
@@ -54,7 +54,7 @@ rn_xplat_cxx_library(
visibility = [
"PUBLIC",
],
deps = ([
deps = [
"//xplat/third-party/linker_lib:android",
"//xplat/third-party/linker_lib:atomic",
"//third-party/glog:glog",
@@ -70,5 +70,5 @@ rn_xplat_cxx_library(
react_native_xplat_target("logger:logger"),
react_native_xplat_dep("jsi:jsi"),
FBJNI_TARGET,
]) if not IS_OSS_BUILD else [],
] if not IS_OSS_BUILD else [],
)
@@ -34,7 +34,7 @@ rn_xplat_cxx_library(
fbobjc_preprocessor_flags = get_preprocessor_flags_for_build_mode() + get_apple_inspector_flags(),
force_static = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = (APPLE),
platforms = APPLE,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
@@ -37,7 +37,7 @@ rn_xplat_cxx_library(
fbobjc_preprocessor_flags = get_preprocessor_flags_for_build_mode() + get_apple_inspector_flags(),
force_static = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = (APPLE),
platforms = APPLE,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
@@ -34,7 +34,7 @@ rn_xplat_cxx_library(
fbobjc_preprocessor_flags = get_preprocessor_flags_for_build_mode() + get_apple_inspector_flags(),
force_static = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = (APPLE),
platforms = APPLE,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
+2 -2
View File
@@ -40,7 +40,7 @@ rn_xplat_cxx_library(
force_static = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
macosx_tests_override = [],
platforms = (ANDROID),
platforms = ANDROID,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
@@ -67,7 +67,7 @@ fb_xplat_cxx_test(
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],
platforms = (ANDROID),
platforms = ANDROID,
deps = [
"//xplat/folly:molly",
"//xplat/third-party/gmock:gtest",
+1 -1
View File
@@ -85,7 +85,7 @@ rn_xplat_cxx_library(
"-std=c++17",
"-Wall",
],
platforms = (APPLE),
platforms = APPLE,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",