mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Allow to opt-in to use the new Hermes on Android (#53580)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53580 Changelog: [ANDROID][ADDED] Added opt-in to use the new Hermes Reviewed By: cortinico Differential Revision: D81035114 fbshipit-source-id: d01e44190941d161cf641ec4e03ed487aff18dd8
This commit is contained in:
committed by
Vitali Zaidman
parent
af090eaa69
commit
af734f0ccd
@@ -155,6 +155,8 @@ function updateTestFiles(
|
||||
async function updateGradleFile(version /*: string */) /*: Promise<void> */ {
|
||||
const contents = await fs.readFile(GRADLE_FILE_PATH, 'utf-8');
|
||||
|
||||
// TODO: T231755027 set HERMES_VERSION_NAME
|
||||
|
||||
return fs.writeFile(
|
||||
GRADLE_FILE_PATH,
|
||||
contents.replace(/^VERSION_NAME=.*/, `VERSION_NAME=${version}`),
|
||||
|
||||
Reference in New Issue
Block a user