Separate PushNotification from ReactInternal

Summary:
PushNotificationiOS wasn't used by anything in ReactInternal, so I just removed it from the target.

## Codemod
Everywhere we required `ReactInternal`, we now also require `RCTPushNotification`:
```
> xbgr -f 'BUCK$' 'ReactInternal"' -l | xargs -I {} sed -i '' $'s|ReactInternal",|ReactInternal",\"fbsource//xplat/js:RCTPushNotification",|g' $HOME/{}
> xbgr -f 'BUCK$' 'ReactInternalApple"' -l | xargs -I {} sed -i '' $'s|ReactInternalApple",|ReactInternalApple",\"fbsource//xplat/js:RCTPushNotificationApple",|g' $HOME/{}
> arc f
```

Changelog:
[Internal] - Separate RCTPushNotification from ReactInternal

Reviewed By: PeteTheHeat

Differential Revision: D18363643

fbshipit-source-id: b8d123f40741c6d200dc9e736e64e885c2572e15
This commit is contained in:
Ramanpreet Nara 2019-11-08 14:08:11 -08:00 коммит произвёл Facebook Github Bot
Родитель d73ae1baa3
Коммит 777e603075
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -114,6 +114,7 @@ rn_apple_library(
visibility = ["PUBLIC"],
exported_deps = [
"fbsource//xplat/js:RCTLinkingApple",
"fbsource//xplat/js:RCTPushNotificationApple",
"fbsource//xplat/js/react-native-github:ReactInternalApple",
"fbsource//xplat/js/react-native-github/Libraries/FBReactNativeSpec:FBReactNativeSpecApple",
],

Просмотреть файл

@ -41,6 +41,7 @@ rn_xplat_cxx_library(
ios_deps = [
"fbsource//xplat/FBBaseLite:FBBaseLite",
"fbsource//xplat/js:RCTLinking",
"fbsource//xplat/js:RCTPushNotification",
"fbsource//xplat/js/react-native-github:RCTCxxBridge",
"fbsource//xplat/js/react-native-github:RCTCxxModule",
"fbsource//xplat/js/react-native-github:ReactInternal",