mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d6722477c4
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/25673 This diff add e2e code generator validation. I added proper buck rule which compiles cpp code and test if it really compiles. While testing I faced few minor issues: - `getBool` and `getNumber` shouldn't have `rt` param. - Generators now start considering whole module name instead of sliced part of their name. - Fixed import structure in generated cpp. - renamed `jsireact` to `ReactCommon` following D16231697 Reviewed By: rickhanlonii Differential Revision: D16221277 fbshipit-source-id: aff4011ad52dd5e16546ffdb709d6a751ebfaced
10 lines
268 B
C++
10 lines
268 B
C++
#import <react/components/codegen_tests/ComponentDescriptors.h>
|
|
#import <react/modules/codegen_tests/NativeModules.h>
|
|
#import <react/modules/codegen_tests/NativeModules.cpp>
|
|
|
|
// TODO: Import every prop and event to asset they're generated
|
|
|
|
int main(){
|
|
return 0;
|
|
}
|