From ccb7dbe895a4d98e25be181db666578bfeba745b Mon Sep 17 00:00:00 2001 From: Scott Wolchok Date: Thu, 9 Apr 2020 12:24:14 -0700 Subject: [PATCH] Stop using get_fbobjc_enable_exception_lang_compiler_flags_DEPRECATED in xplat Summary: Old deprecated function. Changelog: [Internal] Reviewed By: nlutsenko Differential Revision: D20148856 fbshipit-source-id: 79d6fb97824b059e50f67ff5a0b4c38ec7a19469 --- React/CoreModules/BUCK | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/React/CoreModules/BUCK b/React/CoreModules/BUCK index 2410d229f66..6f3cc25677e 100644 --- a/React/CoreModules/BUCK +++ b/React/CoreModules/BUCK @@ -1,4 +1,4 @@ -load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "OBJC_ARC_PREPROCESSOR_FLAGS", "get_fbobjc_enable_exception_lang_compiler_flags_DEPRECATED", "get_preprocessor_flags_for_build_mode") +load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "OBJC_ARC_PREPROCESSOR_FLAGS", "get_preprocessor_flags_for_build_mode") load("@fbsource//tools/build_defs/oss:rn_defs.bzl", "rn_apple_library", "rn_extra_build_flags") load( "@fbsource//xplat/configurations/buck/apple/plugins/sad_xplat_hosted_configurations:react_module_registration.bzl", @@ -19,6 +19,7 @@ rn_apple_library( "-Wno-unknown-warning-option", ], contacts = ["oncall+react_native@xmail.facebook.com"], + enable_exceptions = True, exported_linker_flags = [ "-weak_framework", "UserNotifications", @@ -33,7 +34,6 @@ rn_apple_library( ], header_path_prefix = "React", labels = ["supermodule:ios/default/public.react_native.infra"], - lang_compiler_flags = get_fbobjc_enable_exception_lang_compiler_flags_DEPRECATED(), link_whole = True, platform_preprocessor_flags = [( "linux",