From 8d153729c547189a05ed185f8242124b7e5bd35a Mon Sep 17 00:00:00 2001 From: Moti Zilberman Date: Thu, 5 Aug 2021 07:16:49 -0700 Subject: [PATCH] Fix Buck package boundary violation involving RCTEventDispatcher.h (#31965) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/31965 Changelog: [Internal] Reviewed By: GijsWeterings Differential Revision: D30030580 fbshipit-source-id: 3b4140a831c7ad7282aae0ff79c54014dcd82615 --- BUCK | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/BUCK b/BUCK index acf57d1e6e3773..b315295c974f53 100644 --- a/BUCK +++ b/BUCK @@ -203,8 +203,6 @@ RCTLIB_PATH = "Libraries/" RCTBASE_PATH = "React/Base/" -RCTCOREMODULES_PATH = "React/CoreModules/" - RCTDEVSUPPORT_PATH = "React/DevSupport/" RCTMODULES_PATH = "React/Modules/" @@ -235,7 +233,7 @@ REACT_PUBLIC_HEADERS = { "React/RCTDisplayLink.h": RCTBASE_PATH + "RCTDisplayLink.h", "React/RCTErrorCustomizer.h": RCTBASE_PATH + "RCTErrorCustomizer.h", "React/RCTErrorInfo.h": RCTBASE_PATH + "RCTErrorInfo.h", - "React/RCTEventDispatcher.h": RCTCOREMODULES_PATH + "RCTEventDispatcher.h", + # NOTE: RCTEventDispatcher.h is exported from CoreModules:CoreModulesApple "React/RCTEventDispatcherProtocol.h": RCTBASE_PATH + "RCTEventDispatcherProtocol.h", "React/RCTEventEmitter.h": RCTMODULES_PATH + "RCTEventEmitter.h", "React/RCTFont.h": RCTVIEWS_PATH + "RCTFont.h",