HomePhabricator
Diffusion Comm 00fd77a404ef

[Native] Fix native modules CMake build

Description

[Native] Fix native modules CMake build

Summary:
Update native CMake logic to include addition of the
native_rust_library and another react-native header.

The native modules needs to be references as a CMake target
to avoid usage of GLOB_RECURSIVE in our Android build.

Part of https://linear.app/comm/issue/ENG-776

Test Plan:

cd native/cpp/CommonCpp/
rm -rf build && mkdir build && cd build && cmake .. && make -j

Reviewers: varun, max, bartek

Reviewed By: bartek

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D6108

Details

Provenance
jonAuthored on Dec 29 2022, 11:59 AM
Reviewer
bartek
Differential Revision
D6108: [Native] Fix native modules CMake build
Parents
rCOMM2f07e9d24e51: [bugfix] Fix "unkown error" on login.
Branches
Unknown
Tags
Unknown