From 2d66bd4851d2d5d2908a00dd467dd7e61c919491 Mon Sep 17 00:00:00 2001 From: "Michael Lee (Engineering)" Date: Thu, 26 May 2022 08:17:27 -0700 Subject: [PATCH] Rename the folly `headers_only` target to warn Summary: This target is not a good idea for a number of reasons: 1. It groups up multiple targets which breaks the dependency graph 2. It does not handle dependency remapping correctly 3. It has no mirror into fbcode We should warn people this is a bad idea Reviewed By: alexmalyshev Differential Revision: D36519357 fbshipit-source-id: d60ca3237c7710118732578fecd1b2fc8903321b --- BUCK | 2 +- ReactCommon/butter/BUCK | 2 +- ReactCommon/cxxreact/BUCK | 2 +- ReactCommon/react/bridging/BUCK | 2 +- ReactCommon/react/config/BUCK | 2 +- ReactCommon/react/debug/BUCK | 2 +- ReactCommon/react/nativemodule/core/BUCK | 2 +- ReactCommon/react/renderer/animations/BUCK | 2 +- ReactCommon/react/renderer/attributedstring/BUCK | 2 +- ReactCommon/react/renderer/componentregistry/BUCK | 2 +- ReactCommon/react/renderer/componentregistry/native/BUCK | 2 +- ReactCommon/react/renderer/components/image/BUCK | 2 +- .../react/renderer/components/legacyviewmanagerinterop/BUCK | 2 +- ReactCommon/react/renderer/components/modal/BUCK | 2 +- ReactCommon/react/renderer/components/progressbar/BUCK | 2 +- ReactCommon/react/renderer/components/root/BUCK | 2 +- ReactCommon/react/renderer/components/scrollview/BUCK | 2 +- ReactCommon/react/renderer/components/slider/BUCK | 2 +- ReactCommon/react/renderer/components/switch/BUCK | 2 +- ReactCommon/react/renderer/components/text/BUCK | 2 +- ReactCommon/react/renderer/components/textinput/BUCK | 2 +- .../react/renderer/components/textinput/iostextinput/BUCK | 2 +- ReactCommon/react/renderer/components/unimplementedview/BUCK | 2 +- ReactCommon/react/renderer/components/view/BUCK | 2 +- ReactCommon/react/renderer/core/BUCK | 2 +- ReactCommon/react/renderer/debug/BUCK | 2 +- ReactCommon/react/renderer/graphics/BUCK | 2 +- ReactCommon/react/renderer/imagemanager/BUCK | 2 +- ReactCommon/react/renderer/mapbuffer/BUCK | 2 +- ReactCommon/react/renderer/mounting/BUCK | 2 +- ReactCommon/react/renderer/scheduler/BUCK | 2 +- ReactCommon/react/renderer/telemetry/BUCK | 2 +- ReactCommon/react/renderer/templateprocessor/BUCK | 2 +- ReactCommon/react/renderer/textlayoutmanager/BUCK | 2 +- ReactCommon/react/renderer/timeline/BUCK | 2 +- ReactCommon/react/renderer/uimanager/BUCK | 2 +- ReactCommon/react/utils/BUCK | 2 +- packages/react-native-codegen/DEFS.bzl | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/BUCK b/BUCK index 40e85997e2..f79937f3ac 100644 --- a/BUCK +++ b/BUCK @@ -165,7 +165,7 @@ rn_xplat_cxx_library2( ":RCTCxxUtils", ":ReactInternal", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", react_native_xplat_target("cxxreact:module"), react_native_xplat_target("cxxreact:bridge"), react_native_xplat_target("reactperflogger:reactperflogger"), diff --git a/ReactCommon/butter/BUCK b/ReactCommon/butter/BUCK index d392545390..e2a65707f0 100644 --- a/ReactCommon/butter/BUCK +++ b/ReactCommon/butter/BUCK @@ -47,7 +47,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", ], diff --git a/ReactCommon/cxxreact/BUCK b/ReactCommon/cxxreact/BUCK index 92f567868c..e736411232 100644 --- a/ReactCommon/cxxreact/BUCK +++ b/ReactCommon/cxxreact/BUCK @@ -140,7 +140,7 @@ rn_xplat_cxx_library( ":jsbigstring", ":module", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:jsi", diff --git a/ReactCommon/react/bridging/BUCK b/ReactCommon/react/bridging/BUCK index 60299fdabb..72e1dac38a 100644 --- a/ReactCommon/react/bridging/BUCK +++ b/ReactCommon/react/bridging/BUCK @@ -15,7 +15,7 @@ rn_xplat_cxx_library( tests = [":tests"], visibility = ["PUBLIC"], deps = [ - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", ], exported_deps = [ react_native_xplat_target("butter:butter"), diff --git a/ReactCommon/react/config/BUCK b/ReactCommon/react/config/BUCK index ff65ba1baa..767c3a8b01 100644 --- a/ReactCommon/react/config/BUCK +++ b/ReactCommon/react/config/BUCK @@ -38,7 +38,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", ], diff --git a/ReactCommon/react/debug/BUCK b/ReactCommon/react/debug/BUCK index 557824f5ae..756cd3dcfa 100644 --- a/ReactCommon/react/debug/BUCK +++ b/ReactCommon/react/debug/BUCK @@ -56,7 +56,7 @@ rn_xplat_cxx_library( visibility = ["PUBLIC"], deps = [ "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", ], diff --git a/ReactCommon/react/nativemodule/core/BUCK b/ReactCommon/react/nativemodule/core/BUCK index 2ae9f7b0b2..e8b8dec036 100644 --- a/ReactCommon/react/nativemodule/core/BUCK +++ b/ReactCommon/react/nativemodule/core/BUCK @@ -70,7 +70,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", diff --git a/ReactCommon/react/renderer/animations/BUCK b/ReactCommon/react/renderer/animations/BUCK index 3a11730ee5..8c4ad8f448 100644 --- a/ReactCommon/react/renderer/animations/BUCK +++ b/ReactCommon/react/renderer/animations/BUCK @@ -52,7 +52,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", diff --git a/ReactCommon/react/renderer/attributedstring/BUCK b/ReactCommon/react/renderer/attributedstring/BUCK index d80ff356d4..028c78c822 100644 --- a/ReactCommon/react/renderer/attributedstring/BUCK +++ b/ReactCommon/react/renderer/attributedstring/BUCK @@ -52,7 +52,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", react_native_xplat_target("react/debug:debug"), diff --git a/ReactCommon/react/renderer/componentregistry/BUCK b/ReactCommon/react/renderer/componentregistry/BUCK index 4e5672d656..6b8b907041 100644 --- a/ReactCommon/react/renderer/componentregistry/BUCK +++ b/ReactCommon/react/renderer/componentregistry/BUCK @@ -47,7 +47,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", diff --git a/ReactCommon/react/renderer/componentregistry/native/BUCK b/ReactCommon/react/renderer/componentregistry/native/BUCK index 08931c15de..72507b951e 100644 --- a/ReactCommon/react/renderer/componentregistry/native/BUCK +++ b/ReactCommon/react/renderer/componentregistry/native/BUCK @@ -46,7 +46,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", diff --git a/ReactCommon/react/renderer/components/image/BUCK b/ReactCommon/react/renderer/components/image/BUCK index 3bd0b273f3..a26a74dc9e 100644 --- a/ReactCommon/react/renderer/components/image/BUCK +++ b/ReactCommon/react/renderer/components/image/BUCK @@ -47,7 +47,7 @@ rn_xplat_cxx_library( tests = [":tests"], visibility = ["PUBLIC"], deps = [ - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:molly", YOGA_CXX_TARGET, react_native_xplat_target("react/debug:debug"), diff --git a/ReactCommon/react/renderer/components/legacyviewmanagerinterop/BUCK b/ReactCommon/react/renderer/components/legacyviewmanagerinterop/BUCK index 9326cbc408..749b095853 100644 --- a/ReactCommon/react/renderer/components/legacyviewmanagerinterop/BUCK +++ b/ReactCommon/react/renderer/components/legacyviewmanagerinterop/BUCK @@ -41,7 +41,7 @@ rn_xplat_cxx_library( ], visibility = ["PUBLIC"], deps = [ - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", react_native_xplat_target("react/renderer/core:core"), react_native_xplat_target("react/renderer/components/view:view"), diff --git a/ReactCommon/react/renderer/components/modal/BUCK b/ReactCommon/react/renderer/components/modal/BUCK index 6fa3f10567..fb7ccbc840 100644 --- a/ReactCommon/react/renderer/components/modal/BUCK +++ b/ReactCommon/react/renderer/components/modal/BUCK @@ -71,7 +71,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/components/progressbar/BUCK b/ReactCommon/react/renderer/components/progressbar/BUCK index 0f7807262c..c255c2cd4e 100644 --- a/ReactCommon/react/renderer/components/progressbar/BUCK +++ b/ReactCommon/react/renderer/components/progressbar/BUCK @@ -78,7 +78,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/components/root/BUCK b/ReactCommon/react/renderer/components/root/BUCK index a744628268..69f2036924 100644 --- a/ReactCommon/react/renderer/components/root/BUCK +++ b/ReactCommon/react/renderer/components/root/BUCK @@ -46,7 +46,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/components/scrollview/BUCK b/ReactCommon/react/renderer/components/scrollview/BUCK index 011725ee96..20d52e1e84 100644 --- a/ReactCommon/react/renderer/components/scrollview/BUCK +++ b/ReactCommon/react/renderer/components/scrollview/BUCK @@ -53,7 +53,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/components/slider/BUCK b/ReactCommon/react/renderer/components/slider/BUCK index a4d19690c8..59bd982fae 100644 --- a/ReactCommon/react/renderer/components/slider/BUCK +++ b/ReactCommon/react/renderer/components/slider/BUCK @@ -78,7 +78,7 @@ rn_xplat_cxx_library( ], visibility = ["PUBLIC"], deps = [ - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:molly", YOGA_CXX_TARGET, react_native_xplat_target("react/debug:debug"), diff --git a/ReactCommon/react/renderer/components/switch/BUCK b/ReactCommon/react/renderer/components/switch/BUCK index 6bace56a3f..33d4f91703 100644 --- a/ReactCommon/react/renderer/components/switch/BUCK +++ b/ReactCommon/react/renderer/components/switch/BUCK @@ -54,7 +54,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/components/text/BUCK b/ReactCommon/react/renderer/components/text/BUCK index ee800c8d9e..00e9e735d3 100644 --- a/ReactCommon/react/renderer/components/text/BUCK +++ b/ReactCommon/react/renderer/components/text/BUCK @@ -57,7 +57,7 @@ rn_xplat_cxx_library( "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", "//xplat/folly:container_evicting_cache_map", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/components/textinput/BUCK b/ReactCommon/react/renderer/components/textinput/BUCK index 1a14d7cb30..a6d1767b91 100644 --- a/ReactCommon/react/renderer/components/textinput/BUCK +++ b/ReactCommon/react/renderer/components/textinput/BUCK @@ -54,7 +54,7 @@ rn_xplat_cxx_library( "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", "//xplat/folly:container_evicting_cache_map", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/components/textinput/iostextinput/BUCK b/ReactCommon/react/renderer/components/textinput/iostextinput/BUCK index 2584001396..548ad6ade8 100644 --- a/ReactCommon/react/renderer/components/textinput/iostextinput/BUCK +++ b/ReactCommon/react/renderer/components/textinput/iostextinput/BUCK @@ -51,7 +51,7 @@ rn_xplat_cxx_library( "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", "//xplat/folly:container_evicting_cache_map", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/components/unimplementedview/BUCK b/ReactCommon/react/renderer/components/unimplementedview/BUCK index 85fb75295e..c90681d7ac 100644 --- a/ReactCommon/react/renderer/components/unimplementedview/BUCK +++ b/ReactCommon/react/renderer/components/unimplementedview/BUCK @@ -46,7 +46,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/components/view/BUCK b/ReactCommon/react/renderer/components/view/BUCK index b4a13cfdfc..57552ca79f 100644 --- a/ReactCommon/react/renderer/components/view/BUCK +++ b/ReactCommon/react/renderer/components/view/BUCK @@ -53,7 +53,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/core/BUCK b/ReactCommon/react/renderer/core/BUCK index c7c0f6231b..0e079897c4 100644 --- a/ReactCommon/react/renderer/core/BUCK +++ b/ReactCommon/react/renderer/core/BUCK @@ -50,7 +50,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", diff --git a/ReactCommon/react/renderer/debug/BUCK b/ReactCommon/react/renderer/debug/BUCK index 146ef507b4..d103d00f3b 100644 --- a/ReactCommon/react/renderer/debug/BUCK +++ b/ReactCommon/react/renderer/debug/BUCK @@ -50,7 +50,7 @@ rn_xplat_cxx_library( visibility = ["PUBLIC"], deps = [ "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", react_native_xplat_target("butter:butter"), diff --git a/ReactCommon/react/renderer/graphics/BUCK b/ReactCommon/react/renderer/graphics/BUCK index fb2c529d3a..11617a7c88 100644 --- a/ReactCommon/react/renderer/graphics/BUCK +++ b/ReactCommon/react/renderer/graphics/BUCK @@ -108,7 +108,7 @@ rn_xplat_cxx_library( react_native_xplat_target("butter:butter"), "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", ], diff --git a/ReactCommon/react/renderer/imagemanager/BUCK b/ReactCommon/react/renderer/imagemanager/BUCK index 0203e9d1eb..5f31095515 100644 --- a/ReactCommon/react/renderer/imagemanager/BUCK +++ b/ReactCommon/react/renderer/imagemanager/BUCK @@ -99,7 +99,7 @@ rn_xplat_cxx_library( tests = [":tests"], visibility = ["PUBLIC"], deps = [ - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:molly", YOGA_CXX_TARGET, react_native_xplat_target("react/debug:debug"), diff --git a/ReactCommon/react/renderer/mapbuffer/BUCK b/ReactCommon/react/renderer/mapbuffer/BUCK index 96dc32d614..a20926efa5 100644 --- a/ReactCommon/react/renderer/mapbuffer/BUCK +++ b/ReactCommon/react/renderer/mapbuffer/BUCK @@ -47,7 +47,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", react_native_xplat_target("react/debug:debug"), ], diff --git a/ReactCommon/react/renderer/mounting/BUCK b/ReactCommon/react/renderer/mounting/BUCK index ed9f6548e1..67e926a93d 100644 --- a/ReactCommon/react/renderer/mounting/BUCK +++ b/ReactCommon/react/renderer/mounting/BUCK @@ -50,7 +50,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", react_native_xplat_target("butter:butter"), diff --git a/ReactCommon/react/renderer/scheduler/BUCK b/ReactCommon/react/renderer/scheduler/BUCK index 62f96da9a4..2d10b223f8 100644 --- a/ReactCommon/react/renderer/scheduler/BUCK +++ b/ReactCommon/react/renderer/scheduler/BUCK @@ -47,7 +47,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", diff --git a/ReactCommon/react/renderer/telemetry/BUCK b/ReactCommon/react/renderer/telemetry/BUCK index a55434e5a3..d1a1da1f31 100644 --- a/ReactCommon/react/renderer/telemetry/BUCK +++ b/ReactCommon/react/renderer/telemetry/BUCK @@ -50,7 +50,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", react_native_xplat_target("butter:butter"), diff --git a/ReactCommon/react/renderer/templateprocessor/BUCK b/ReactCommon/react/renderer/templateprocessor/BUCK index da253c3dbe..eefba5b9e7 100644 --- a/ReactCommon/react/renderer/templateprocessor/BUCK +++ b/ReactCommon/react/renderer/templateprocessor/BUCK @@ -49,7 +49,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", diff --git a/ReactCommon/react/renderer/textlayoutmanager/BUCK b/ReactCommon/react/renderer/textlayoutmanager/BUCK index e10cb68b45..ae63b1e7a1 100644 --- a/ReactCommon/react/renderer/textlayoutmanager/BUCK +++ b/ReactCommon/react/renderer/textlayoutmanager/BUCK @@ -117,7 +117,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET, diff --git a/ReactCommon/react/renderer/timeline/BUCK b/ReactCommon/react/renderer/timeline/BUCK index a8888cb22f..a5d5e7f798 100644 --- a/ReactCommon/react/renderer/timeline/BUCK +++ b/ReactCommon/react/renderer/timeline/BUCK @@ -46,7 +46,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", react_native_xplat_target("react/utils:utils"), diff --git a/ReactCommon/react/renderer/uimanager/BUCK b/ReactCommon/react/renderer/uimanager/BUCK index 3435e747da..b701dbdb57 100644 --- a/ReactCommon/react/renderer/uimanager/BUCK +++ b/ReactCommon/react/renderer/uimanager/BUCK @@ -49,7 +49,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", diff --git a/ReactCommon/react/utils/BUCK b/ReactCommon/react/utils/BUCK index 00ef3da0f3..3132286ad1 100644 --- a/ReactCommon/react/utils/BUCK +++ b/ReactCommon/react/utils/BUCK @@ -57,7 +57,7 @@ rn_xplat_cxx_library( deps = [ "//third-party/glog:glog", "//xplat/folly:container_evicting_cache_map", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", "//xplat/jsi:jsi", diff --git a/packages/react-native-codegen/DEFS.bzl b/packages/react-native-codegen/DEFS.bzl index 6ef982c20e..38c34bc994 100644 --- a/packages/react-native-codegen/DEFS.bzl +++ b/packages/react-native-codegen/DEFS.bzl @@ -427,7 +427,7 @@ def rn_codegen_components( deps = [ "//third-party/glog:glog", "//xplat/fbsystrace:fbsystrace", - "//xplat/folly:headers_only", + "//xplat/folly:headers_only_do_not_use", "//xplat/folly:memory", "//xplat/folly:molly", YOGA_CXX_TARGET,