mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Replace fbsource// with // in xplat/js/ files [3]
Summary: `fbsource//xplat` and `//xplat` are equivalent for FB BUCK targets. Removing extra prefix for consistency. Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D20656211 fbshipit-source-id: deb91b917d349bc500acbb03d734ff621f6e1fc7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6fe7cd88d6
commit
ea07cdeb2b
@@ -11,9 +11,9 @@ fb_native.sh_binary(
|
||||
main = "src/cli/verify_with_old_codegen.sh",
|
||||
visibility = ["PUBLIC"],
|
||||
resources = [
|
||||
"fbsource//xplat/js:setup_env",
|
||||
"src/cli/verify_with_old_codegen.js",
|
||||
"src/cli/verify_with_old_codegen.sh",
|
||||
"//xplat/js:setup_env",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -27,9 +27,9 @@ fb_native.sh_binary(
|
||||
name = "write_to_json",
|
||||
main = "src/cli/combine/combine_js_to_schema.sh",
|
||||
resources = [
|
||||
"fbsource//xplat/js:setup_env",
|
||||
"src/cli/combine/combine-js-to-schema.js",
|
||||
"src/cli/combine/combine_js_to_schema.sh",
|
||||
"//xplat/js:setup_env",
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
||||
@@ -45,7 +45,7 @@ fb_native.sh_binary(
|
||||
) + [
|
||||
"buck_tests/generate-tests.js",
|
||||
"package.json",
|
||||
"fbsource//xplat/js:setup_env",
|
||||
"//xplat/js:setup_env",
|
||||
"yarn.lock",
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
@@ -59,7 +59,7 @@ fb_native.genrule(
|
||||
"**/e2e/__test_fixtures__/modules/Native*.js",
|
||||
],
|
||||
),
|
||||
cmd = "$(exe fbsource//xplat/js/react-native-github/packages/react-native-codegen:write_to_json) $OUT $SRCS",
|
||||
cmd = "$(exe //xplat/js/react-native-github/packages/react-native-codegen:write_to_json) $OUT $SRCS",
|
||||
out = "schema-codegen_tests.json",
|
||||
)
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ def rn_codegen_modules(
|
||||
fb_native.genrule(
|
||||
name = generate_fixtures_rule_name,
|
||||
srcs = native.glob(["src/generators/**/*.js"]),
|
||||
cmd = "$(exe fbsource//xplat/js/react-native-github/packages/react-native-codegen:rn_codegen) $(location {}) {} $OUT {}".format(schema_target, name, native_module_spec_name),
|
||||
cmd = "$(exe //xplat/js/react-native-github/packages/react-native-codegen:rn_codegen) $(location {}) {} $OUT {}".format(schema_target, name, native_module_spec_name),
|
||||
out = "codegenfiles-{}".format(name),
|
||||
labels = ["codegen_rule"],
|
||||
)
|
||||
@@ -76,7 +76,7 @@ def rn_codegen_modules(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
"fbsource//xplat/js:React",
|
||||
"//xplat/js:React",
|
||||
],
|
||||
labels = ["codegen_rule"],
|
||||
)
|
||||
@@ -100,7 +100,7 @@ def rn_codegen_components(
|
||||
fb_native.genrule(
|
||||
name = generate_fixtures_rule_name,
|
||||
srcs = native.glob(["src/generators/**/*.js"]),
|
||||
cmd = "$(exe fbsource//xplat/js/react-native-github/packages/react-native-codegen:rn_codegen) $(location {}) {} $OUT {}".format(schema_target, name, name),
|
||||
cmd = "$(exe //xplat/js/react-native-github/packages/react-native-codegen:rn_codegen) $(location {}) {} $OUT {}".format(schema_target, name, name),
|
||||
out = "codegenfiles-{}".format(name),
|
||||
labels = ["codegen_rule"],
|
||||
)
|
||||
@@ -227,11 +227,11 @@ def rn_codegen_components(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
"fbsource//xplat/fbsystrace:fbsystrace",
|
||||
"fbsource//xplat/folly:headers_only",
|
||||
"fbsource//xplat/folly:memory",
|
||||
"fbsource//xplat/folly:molly",
|
||||
"fbsource//xplat/third-party/glog:glog",
|
||||
"//xplat/fbsystrace:fbsystrace",
|
||||
"//xplat/folly:headers_only",
|
||||
"//xplat/folly:memory",
|
||||
"//xplat/folly:molly",
|
||||
"//xplat/third-party/glog:glog",
|
||||
YOGA_CXX_TARGET,
|
||||
react_native_xplat_target("fabric/debug:debug"),
|
||||
react_native_xplat_target("fabric/core:core"),
|
||||
@@ -273,7 +273,7 @@ def rn_codegen_components(
|
||||
apple_sdks = (IOS, MACOSX),
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
deps = [
|
||||
"fbsource//xplat/third-party/gmock:gtest",
|
||||
"//xplat/third-party/gmock:gtest",
|
||||
":generated_components-{}".format(name),
|
||||
],
|
||||
labels = ["codegen_rule"],
|
||||
@@ -289,7 +289,7 @@ def rn_codegen_cxx_modules(
|
||||
fb_native.genrule(
|
||||
name = generate_fixtures_rule_name,
|
||||
srcs = native.glob(["src/generators/**/*.js"]),
|
||||
cmd = "$(exe fbsource//xplat/js/react-native-github/packages/react-native-codegen:rn_codegen) $(location {}) {} $OUT {}".format(schema_target, name, name),
|
||||
cmd = "$(exe //xplat/js/react-native-github/packages/react-native-codegen:rn_codegen) $(location {}) {} $OUT {}".format(schema_target, name, name),
|
||||
out = "codegenfiles-{}".format(name),
|
||||
labels = ["codegen_rule"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user