Skip to content

Commit 0fae86d

Browse files
rubennortemeta-codesync[bot]
authored andcommitted
Remove deprecated FANTOM_ENABLE_CPP_DEBUGGING environment variable (#57401)
Summary: Pull Request resolved: #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
1 parent 2bb7dbb commit 0fae86d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

private/react-native-fantom/runner/EnvironmentOptions.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const VALID_ENVIRONMENT_VARIABLES = [
1212
'FANTOM_DEBUG_CPP',
1313
'FANTOM_ENABLE_ASAN',
1414
'FANTOM_ENABLE_TSAN',
15-
'FANTOM_ENABLE_CPP_DEBUGGING',
1615
'FANTOM_FORCE_CI_MODE',
1716
'FANTOM_FORCE_OSS_BUILD',
1817
'FANTOM_RUN_BENCHMARKS',
@@ -37,10 +36,7 @@ export const logCommands: boolean = Boolean(process.env.FANTOM_LOG_COMMANDS);
3736
/**
3837
* Enables the C++ debugger for the current test run.
3938
*/
40-
export const debugCpp: boolean =
41-
Boolean(process.env.FANTOM_DEBUG_CPP) ||
42-
// Legacy
43-
Boolean(process.env.FANTOM_ENABLE_CPP_DEBUGGING);
39+
export const debugCpp: boolean = Boolean(process.env.FANTOM_DEBUG_CPP);
4440

4541
/**
4642
* Indicates if the current test run is done in an OSS environment (as opposed

0 commit comments

Comments
 (0)