mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
300df59c77
Summary: This pull request tweaks the build script for `jsiruntime` to ensure that `RN_FABRIC_ENABLED` is defined when building for Android with Fabric enabled, and using the JavascriptCore JS engine. Without it, the `createWeakObject` and `lockWeakObject` methods in `JSCRuntime.cpp` will throw an exception. ## Changelog [Internal] [Changed] - Android: Ensure RN_FABRIC_ENABLED is defined when building with Fabric Pull Request resolved: https://github.com/facebook/react-native/pull/29939 Test Plan: RNTester with JSC now builds and runs on Android with Fabric enabled. Reviewed By: hramos Differential Revision: D23671070 Pulled By: fkgozali fbshipit-source-id: 27e69364a9f709615543be7c20b72b5536443cd8