Skip to content

Commit

Permalink
TM iOS: Move generated specs for OSS NativeModules to github
Browse files Browse the repository at this point in the history
Summary:
Note: iOS only.

This spec file (.h/.mm) was generated via FB internal codegen tool for TurboModule. The tool itself is not yet ready to be opensourced, but at least the generated file is. The output is based on all the Flow types added via facebook#24875.
This file can be used by each ObjC NativeModule to be TurboModule compliant.

Reviewed By: rickhanlonii

Differential Revision: D15978911

fbshipit-source-id: 9e97495287bc406e0ed0ccf89cf370753b538772
  • Loading branch information
fkgozali authored and M-i-k-e-l committed Mar 10, 2020
1 parent 66909bd commit 4b2a75e
Show file tree
Hide file tree
Showing 4 changed files with 3,944 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Libraries/FBReactNativeSpec/BUCK
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
load("//tools/build_defs/oss:rn_defs.bzl", "fb_apple_library", "react_native_xplat_target_apple")

fb_apple_library(
name = "FBReactNativeSpec",
autoglob = True,
contacts = ["oncall+react_native@xmail.facebook.com"],
frameworks = [
"Foundation",
"UIKit",
],
deps = [
"fbsource//xplat/js/react-native-github:RCTTypeSafety",
"fbsource//xplat/js/react-native-github/Libraries/RCTRequired:RCTRequired",
react_native_xplat_target_apple("turbomodule/core:core"),
],
)
Loading

0 comments on commit 4b2a75e

Please sign in to comment.