mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Apply lint updates from buildifier in xplat
Summary: In D37873933, we update the buildifier binaries, which apply some minor changes to existing lint. Specifically, entries are now properly sorted. Update the files in xplat such that updating buildifier does not cause lint changes in users diffs. drop-conflicts allow_many_files #nocancel #forcetdhashing (Note: this ignores all push blocking failures!) Reviewed By: d16r Differential Revision: D37873936 fbshipit-source-id: f31d9c50d64ae99f99298977b471bf13e7ed5262
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a67360b0f3
commit
a70354df12
@@ -57,9 +57,9 @@ fb_native.genrule(
|
||||
) + [
|
||||
react_native_root_target("packages/rn-tester:nativecomponent-srcs"),
|
||||
],
|
||||
labels = ["uses_hg"],
|
||||
cmd = "$(exe {}) $OUT $SRCS".format(react_native_root_target("packages/react-native-codegen:write_to_json")),
|
||||
out = "schema-rncore.json",
|
||||
cmd = "$(exe {}) $OUT $SRCS".format(react_native_root_target("packages/react-native-codegen:write_to_json")),
|
||||
labels = ["uses_hg"],
|
||||
)
|
||||
|
||||
rn_codegen_components(
|
||||
|
||||
@@ -2,10 +2,10 @@ load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
|
||||
|
||||
fb_native.android_library(
|
||||
name = "java",
|
||||
visibility = ["PUBLIC"],
|
||||
exported_deps = [
|
||||
":fbjni-binary",
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
||||
|
||||
fb_native.android_prebuilt_aar(
|
||||
|
||||
@@ -2,12 +2,12 @@ load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
|
||||
|
||||
fb_native.android_library(
|
||||
name = "soloader",
|
||||
visibility = ["PUBLIC"],
|
||||
exported_deps = [
|
||||
":annotation-binary",
|
||||
":nativeloader-binary",
|
||||
":soloader-binary",
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
||||
|
||||
fb_native.prebuilt_jar(
|
||||
|
||||
+2
-2
@@ -83,7 +83,6 @@ fb_native.remote_file(
|
||||
|
||||
fb_native.genrule(
|
||||
name = "kotlin-compiler-download",
|
||||
type = "copy",
|
||||
srcs = [
|
||||
":annotations-13.0.jar",
|
||||
":kotlin-annotation-processing.jar",
|
||||
@@ -94,9 +93,10 @@ fb_native.genrule(
|
||||
":kotlin-stdlib.jar",
|
||||
":trove4j.jar",
|
||||
],
|
||||
out = "kotlin-compiler-out",
|
||||
cmd = "mkdir ${OUT} && cp ${SRCS} ${OUT}",
|
||||
cmd_exe = "@powershell -Command Copy-Item '${SRCS}' '${OUT}'",
|
||||
out = "kotlin-compiler-out",
|
||||
type = "copy",
|
||||
)
|
||||
|
||||
fb_native.remote_file(
|
||||
|
||||
@@ -17,8 +17,8 @@ fb_native.genrule(
|
||||
"**/e2e/__test_fixtures__/modules/Native*.js",
|
||||
],
|
||||
),
|
||||
cmd = "$(exe {}) $OUT $SRCS".format(react_native_root_target("packages/react-native-codegen:write_to_json")),
|
||||
out = "schema-codegen_tests.json",
|
||||
cmd = "$(exe {}) $OUT $SRCS".format(react_native_root_target("packages/react-native-codegen:write_to_json")),
|
||||
)
|
||||
|
||||
rn_codegen_components(
|
||||
|
||||
Reference in New Issue
Block a user