Skip to content

Commit a607692

Browse files
cipolleschifacebook-github-bot
authored andcommitted
Remove unused flag in Old Architecture codegen (facebook#41579)
Summary: Pull Request resolved: facebook#41579 This change remove a flag that is unused. ## Changelog [Internal] - Remove unused Flag Reviewed By: dmytrorykun Differential Revision: D51493765 fbshipit-source-id: f8cbce991d80d4f51363cdd4f379e6b214b2b2df
1 parent 13d08f1 commit a607692

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/react-native/scripts/react_native_pods_utils/__tests__/script_phases.snap.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def snap_get_script_phases_with_codegen_discovery_with_config_file_dir()
1313
export RCT_SCRIPT_APP_PATH=$RCT_SCRIPT_POD_INSTALLATION_ROOT/
1414
export RCT_SCRIPT_CONFIG_FILE_DIR=$RCT_SCRIPT_POD_INSTALLATION_ROOT/node_modules
1515
export RCT_SCRIPT_OUTPUT_DIR=$RCT_SCRIPT_POD_INSTALLATION_ROOT
16-
export RCT_SCRIPT_FABRIC_ENABLED=true
1716
export RCT_SCRIPT_TYPE=withCodegenDiscovery
1817
1918
SCRIPT_PHASES_SCRIPT="$RCT_SCRIPT_RN_DIR/scripts/react_native_pods_utils/script_phases.sh"
@@ -32,7 +31,6 @@ def snap_get_script_phases_with_codegen_discovery_without_config_file_dir()
3231
export RCT_SCRIPT_APP_PATH=$RCT_SCRIPT_POD_INSTALLATION_ROOT/
3332
export RCT_SCRIPT_CONFIG_FILE_DIR=
3433
export RCT_SCRIPT_OUTPUT_DIR=$RCT_SCRIPT_POD_INSTALLATION_ROOT
35-
export RCT_SCRIPT_FABRIC_ENABLED=true
3634
export RCT_SCRIPT_TYPE=withCodegenDiscovery
3735
3836
SCRIPT_PHASES_SCRIPT="$RCT_SCRIPT_RN_DIR/scripts/react_native_pods_utils/script_phases.sh"

packages/react-native/scripts/react_native_pods_utils/script_phases.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def get_script_phases_with_codegen_discovery(options)
1313
'RCT_SCRIPT_APP_PATH' => "$RCT_SCRIPT_POD_INSTALLATION_ROOT/#{options[:relative_app_root]}",
1414
'RCT_SCRIPT_CONFIG_FILE_DIR' => "#{options[:relative_config_file_dir] != '' ? "$RCT_SCRIPT_POD_INSTALLATION_ROOT/#{options[:relative_config_file_dir]}" : ''}",
1515
'RCT_SCRIPT_OUTPUT_DIR' => "$RCT_SCRIPT_POD_INSTALLATION_ROOT",
16-
'RCT_SCRIPT_FABRIC_ENABLED' => "#{options[:fabric_enabled]}",
1716
'RCT_SCRIPT_TYPE' => "withCodegenDiscovery",
1817
}
1918
return get_script_template(options[:react_native_path], export_vars)

0 commit comments

Comments
 (0)