mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove deprecated FANTOM_ENABLE_CPP_DEBUGGING environment variable (#57401)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/57401 The `FANTOM_ENABLE_CPP_DEBUGGING` environment variable was kept only as a legacy alias for `FANTOM_DEBUG_CPP`. Remove it from Fantom so `FANTOM_DEBUG_CPP` is the single supported way to enable the C++ debugger. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D110324557 fbshipit-source-id: 2cbde4736137db792b8b99d1806c146e3094ca4b
This commit is contained in:
1 parent
2bb7dbb499
commit
0fae86d0c7
1 file changed
+1
-5
@@ -12,7 +12,6 @@ const VALID_ENVIRONMENT_VARIABLES = [
|
||||
'FANTOM_DEBUG_CPP',
|
||||
'FANTOM_ENABLE_ASAN',
|
||||
'FANTOM_ENABLE_TSAN',
|
||||
'FANTOM_ENABLE_CPP_DEBUGGING',
|
||||
'FANTOM_FORCE_CI_MODE',
|
||||
'FANTOM_FORCE_OSS_BUILD',
|
||||
'FANTOM_RUN_BENCHMARKS',
|
||||
@@ -37,10 +36,7 @@ export const logCommands: boolean = Boolean(process.env.FANTOM_LOG_COMMANDS);
|
||||
/**
|
||||
* Enables the C++ debugger for the current test run.
|
||||
*/
|
||||
export const debugCpp: boolean =
|
||||
Boolean(process.env.FANTOM_DEBUG_CPP) ||
|
||||
// Legacy
|
||||
Boolean(process.env.FANTOM_ENABLE_CPP_DEBUGGING);
|
||||
export const debugCpp: boolean = Boolean(process.env.FANTOM_DEBUG_CPP);
|
||||
|
||||
/**
|
||||
* Indicates if the current test run is done in an OSS environment (as opposed
|
||||
|
||||
Reference in new issue
Block a user