Skip to content

Commit

Permalink
react-native-codegen: Enable C++ TurboModule generation in OpenSource…
Browse files Browse the repository at this point in the history
… builds

Summary:
This enables the generation of C++ TurboModule specs in addition to existing Java/ObjC ones.

An example is shown in #35138

Changelog: [Internal]

Differential Revision: D41057630

fbshipit-source-id: 51e8686461788c7a6f3644932abd99dff9e15edf
  • Loading branch information
christophpurrer authored and facebook-github-bot committed Nov 5, 2022
1 parent f0b7cbe commit 4f8b540
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/codegen/generate-specs-cli-executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ const RNCodegen = utils.getCodegen();

const GENERATORS = {
all: {
android: ['componentsAndroid', 'modulesAndroid'],
ios: ['componentsIOS', 'modulesIOS'],
android: ['componentsAndroid', 'modulesAndroid', 'modulesCxx'],
ios: ['componentsIOS', 'modulesIOS', 'modulesCxx'],
},
components: {
android: ['componentsAndroid'],
ios: ['componentsIOS'],
},
modules: {
android: ['modulesAndroid'],
ios: ['modulesIOS'],
android: ['modulesAndroid', 'modulesCxx'],
ios: ['modulesIOS', 'modulesCxx'],
},
};

Expand Down

0 comments on commit 4f8b540

Please sign in to comment.