Page MenuHomePhabricator

[native] Avoid hardcoding path to rust_native_library lib.rs.h file
ClosedPublic

Authored by ashoat on Nov 10 2022, 12:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 1, 1:41 PM
Unknown Object (File)
Thu, Nov 21, 5:16 AM
Unknown Object (File)
Thu, Nov 21, 5:16 AM
Unknown Object (File)
Thu, Nov 21, 5:16 AM
Unknown Object (File)
Thu, Nov 21, 5:16 AM
Unknown Object (File)
Thu, Nov 21, 5:16 AM
Unknown Object (File)
Tue, Nov 5, 11:05 AM
Unknown Object (File)
Tue, Nov 5, 11:05 AM

Details

Summary

In D5480 we hardcoded a path to this that ended up changing in a later version of React Native. This diff updates the code so the path is passed directly from corrosion-cxx.cmake to where it's consumed.

Test Plan

I tested an Android debug build on both current master and my React Native upgrade branch and it worked

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/cmake_android
Lint
No Lint Coverage
Unit
No Test Coverage