From 79d9595b975ff49c8e635b7404de82c6ee9e802d Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Wed, 13 Feb 2019 04:32:29 -0800 Subject: [PATCH] Turn off translation for fbandroid Summary: Turn off translations in fbandroid to mitigate the parse time regression. Translate the remaining `xplat//` to `fbsource//xplat/` to do so run_all_tests Reviewed By: scottrice Differential Revision: D14041085 fbshipit-source-id: 9d3bc493c6662c03c4028aaebfbec58d145e8c6b --- packages/react-native-codegen/DEFS.bzl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/react-native-codegen/DEFS.bzl b/packages/react-native-codegen/DEFS.bzl index a1e3aa7e90a..aa9a6af9bdd 100644 --- a/packages/react-native-codegen/DEFS.bzl +++ b/packages/react-native-codegen/DEFS.bzl @@ -17,7 +17,7 @@ def rn_codegen_test( fb_native.genrule( name = copy_schema_name, srcs = [], - cmd = "$(exe xplat//js/react-native-github/packages/react-native-codegen:copy_fixture_schema) {} $OUT".format(fixture_name), + cmd = "$(exe fbsource//xplat/js/react-native-github/packages/react-native-codegen:copy_fixture_schema) {} $OUT".format(fixture_name), out = "schema-{}.json".format(fixture_name), ) @@ -38,7 +38,7 @@ def rn_codegen( fb_native.genrule( name = generate_fixtures_rule_name, srcs = [], - cmd = "$(exe xplat//js/react-native-github/packages/react-native-codegen:rn_codegen) $(location {}) {} $OUT".format(schema_target, name), + cmd = "$(exe fbsource//xplat/js/react-native-github/packages/react-native-codegen:rn_codegen) $(location {}) {} $OUT".format(schema_target, name), out = "codegenfiles-{}".format(name), ) @@ -120,12 +120,12 @@ def rn_codegen( ], visibility = ["PUBLIC"], deps = [ - "xplat//fbsystrace:fbsystrace", - "xplat//folly:headers_only", - "xplat//folly:memory", - "xplat//folly:molly", - "xplat//third-party/glog:glog", - "xplat//yoga:yoga", + "fbsource//xplat/fbsystrace:fbsystrace", + "fbsource//xplat/folly:headers_only", + "fbsource//xplat/folly:memory", + "fbsource//xplat/folly:molly", + "fbsource//xplat/third-party/glog:glog", + "fbsource//xplat/yoga:yoga", react_native_xplat_target("fabric/debug:debug"), react_native_xplat_target("fabric/core:core"), react_native_xplat_target("fabric/graphics:graphics"),