File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 'python%' : 'python' ,
1616
1717 'node_shared%' : 'false' ,
18- 'node_enable_experimentals%' : 0 ,
18+ 'node_enable_experimentals%' : 'false' ,
1919 'force_dynamic_crt%' : 0 ,
2020 'node_use_v8_platform%' : 'true' ,
2121 'node_use_bundled_v8%' : 'true' ,
438438 }],
439439 # The defines bellow must include all things from the external_v8_defines
440440 # list in v8/BUILD.gn.
441- ['node_enable_experimentals==1 ' , {
442- 'defines' : ['NODE_ENABLE_EXPERIMENTALS ' ],
441+ ['node_enable_experimentals == "true" ' , {
442+ 'defines' : ['EXPERIMENTALS_DEFAULT_VALUE=true ' ],
443443 }],
444444 ['v8_enable_v8_checks == 1' , {
445445 'defines' : ['V8_ENABLE_CHECKS' ],
Original file line number Diff line number Diff line change @@ -1809,7 +1809,7 @@ def configure_node_cctest_sources(o):
18091809def configure_node (o ):
18101810 if options .dest_os == 'android' :
18111811 o ['variables' ]['OS' ] = 'android'
1812- o ['variables' ]['node_enable_experimentals' ] = B (options .enable_all_experimentals )
1812+ o ['variables' ]['node_enable_experimentals' ] = b (options .enable_all_experimentals )
18131813 o ['variables' ]['node_prefix' ] = options .prefix
18141814 o ['variables' ]['node_install_npm' ] = b (not options .without_npm )
18151815 o ['variables' ]['node_install_corepack' ] = b (options .with_corepack )
Original file line number Diff line number Diff line change @@ -112,9 +112,7 @@ class DebugOptions : public Options {
112112 std::vector<std::string>* argv) override ;
113113};
114114
115- #ifdef NODE_ENABLE_EXPERIMENTALS
116- #define EXPERIMENTALS_DEFAULT_VALUE true
117- #else
115+ #ifndef EXPERIMENTALS_DEFAULT_VALUE
118116#define EXPERIMENTALS_DEFAULT_VALUE false
119117#endif
120118
You can’t perform that action at this time.
0 commit comments