HomePhabricator
Diffusion Comm f7a17e3c25fa

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

Description

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

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

Reviewers: varun, jon, max

Reviewed By: varun

Subscribers: tomek, atul, abosh

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

Details

Provenance
ashoatAuthored on Nov 10 2022, 12:26 PM
Reviewer
varun
Differential Revision
D5604: [native] Avoid hardcoding path to rust_native_library lib.rs.h file
Parents
rCOMM19cfd9fa5da5: [Nix] Bump JDK to JDK11
Branches
Unknown
Tags
Unknown