Page MenuHomePhabricator

[native][codegen] Generate CommUtilsModule C++ spec
ClosedPublic

Authored by bartek on Apr 14 2023, 5:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 1, 4:55 AM
Unknown Object (File)
Fri, Jun 28, 4:06 PM
Unknown Object (File)
Fri, Jun 28, 4:06 PM
Unknown Object (File)
Fri, Jun 28, 4:06 PM
Unknown Object (File)
Fri, Jun 28, 4:06 PM
Unknown Object (File)
Fri, Jun 28, 4:06 PM
Unknown Object (File)
Fri, Jun 28, 4:03 PM
Unknown Object (File)
Fri, Jun 28, 4:32 AM
Subscribers

Details

Summary

Modified jsi-codegen to generate C++ spec code for newly introduced CommUtilsModule.

Adding @jon because I introduced CMake change (single file -> glob)

Depends on D7449

Test Plan

Native build pass on both platforms.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Apr 14 2023, 5:47 AM
ashoat added inline comments.
native/android/app/CMakeLists.txt
121 ↗(On Diff #25161)

@jon may have opinions in introducing another one of these GLOBs... I think we're trying to get rid of them generally in favor of co-located CMakeLists.txt that explicitly list out dependencies, but I don't have full context

jon requested changes to this revision.Apr 14 2023, 6:38 AM
jon added inline comments.
native/android/app/CMakeLists.txt
121 ↗(On Diff #25161)

My preference, as CMake doesn't handle GLOB'ing well (it doesn't know if you later add another file which fits the pattern, and will only be collected if you clean the cmake cache).

This revision now requires changes to proceed.Apr 14 2023, 6:38 AM

Apply code review feedback

CMake looks fine to me, defer to others for the rest

This revision is now accepted and ready to land.Apr 14 2023, 10:51 AM