From ec83552b3285a168bd83f1ba8690de8f3f125cc8 Mon Sep 17 00:00:00 2001 From: Chenglin Liu Date: Tue, 11 Oct 2022 18:42:55 -0700 Subject: [PATCH] Add link group label to talkios deps Summary: Currently, link groups depend on supermodules to generate. To continue supporting link groups while allowing us to migrate off supermodules, we'll add a talkios_link_group label on all talkios targets to persist the current hierarchical information. Reviewed By: jkeljo Differential Revision: D40268275 fbshipit-source-id: 4ea9bf4bd085d29b835faae98cb5058bae4f4b32 --- BUCK | 6 ++++++ Libraries/FBLazyVector/BUCK | 1 + Libraries/RCTRequired/BUCK | 1 + 3 files changed, 8 insertions(+) diff --git a/BUCK b/BUCK index f983e33303ef..d43f16853647 100644 --- a/BUCK +++ b/BUCK @@ -608,6 +608,7 @@ rn_apple_library( "fbios_link_group:xplat/default/public.react_native.infra", "pfh:ReactNative_CommonInfrastructurePlaceholder", "supermodule:xplat/default/public.react_native.infra", + "talkios_link_group:xplat/default/public.react_native.infra", ], preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode(), reexport_all_header_dependencies = True, @@ -834,6 +835,7 @@ rn_apple_library( "fbios_link_group:xplat/default/public.react_native.infra", "pfh:ReactNative_CommonInfrastructurePlaceholder", "supermodule:xplat/default/public.react_native.infra", + "talkios_link_group:xplat/default/public.react_native.infra", ], plugins = react_module_plugin_providers( @@ -945,6 +947,7 @@ rn_apple_library( "fbios_link_group:xplat/default/public.react_native.infra", "pfh:ReactNative_CommonInfrastructurePlaceholder", "supermodule:xplat/default/public.react_native.infra", + "talkios_link_group:xplat/default/public.react_native.infra", ], plugins = react_module_plugin_providers( @@ -994,6 +997,7 @@ rn_apple_library( "fbios_link_group:xplat/default/public.react_native.infra", "pfh:ReactNative_CommonInfrastructurePlaceholder", "supermodule:xplat/default/public.react_native.infra", + "talkios_link_group:xplat/default/public.react_native.infra", ], plugins = react_module_plugin_providers( @@ -1047,6 +1051,7 @@ rn_apple_library( "fbios_link_group:xplat/default/public.react_native.infra", "pfh:ReactNative_CommonInfrastructurePlaceholder", "supermodule:xplat/default/public.react_native.infra", + "talkios_link_group:xplat/default/public.react_native.infra", ], plugins = react_module_plugin_providers( @@ -1129,6 +1134,7 @@ rn_apple_library( "fbios_link_group:xplat/default/public.react_native.infra", "pfh:ReactNative_CommonInfrastructurePlaceholder", "supermodule:xplat/default/public.react_native.infra", + "talkios_link_group:xplat/default/public.react_native.infra", ], plugins = react_module_plugin_providers( diff --git a/Libraries/FBLazyVector/BUCK b/Libraries/FBLazyVector/BUCK index 37c93703b49f..37a6ddbaf30c 100644 --- a/Libraries/FBLazyVector/BUCK +++ b/Libraries/FBLazyVector/BUCK @@ -16,6 +16,7 @@ fb_apple_library( "fbios_link_group:xplat/default/public.react_native.infra", "pfh:ReactNative_CommonInfrastructurePlaceholder", "supermodule:xplat/default/public.react_native.infra", + "talkios_link_group:xplat/default/public.react_native.infra", ], link_whole = False, visibility = ["PUBLIC"], diff --git a/Libraries/RCTRequired/BUCK b/Libraries/RCTRequired/BUCK index a5d9a58eba81..2e4a593f4c76 100644 --- a/Libraries/RCTRequired/BUCK +++ b/Libraries/RCTRequired/BUCK @@ -14,5 +14,6 @@ fb_apple_library( "fbios_link_group:xplat/default/public.react_native.infra", "pfh:ReactNative_CommonInfrastructurePlaceholder", "supermodule:xplat/default/public.react_native.infra", + "talkios_link_group:xplat/default/public.react_native.infra", ], )