build: simplify node patches (#19286)

* build: collapse all BUILD.gn modifications into the original GN file patch

* build: collapse all the js2c.py changes into a single patch with a good explanation
This commit is contained in:
Samuel Attard 2019-07-16 14:38:17 -07:00 committed by GitHub
parent c5e249b85c
commit 3ded946686
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 262 additions and 709 deletions

View file

@ -14,7 +14,6 @@ fix_add_default_values_for_enable_lto_and_build_v8_with_gn_in.patch
feat_add_new_built_with_electron_variable_to_config_gypi.patch
feat_add_flags_for_low-level_hooks_and_exceptions.patch
export_environment_knodecontexttagptr.patch
fix_export_libuv_symbols_73.patch
fix_expose_tracing_agent_and_use_tracing_tracingcontroller_instead.patch
fix_use_bssl_bn_bn2bin_padded_for_ossl_s_bn_bn2binpad.patch
pass_all_globals_through_require.patch
@ -28,8 +27,7 @@ fix_make_it_possible_to_change_nobrowserglobals_at_runtime.patch
fix_key_gen_apis_are_not_available_in_boringssl.patch
fix_do_not_define_debugoptions_s_constructors_in_header.patch
src_disable_node_use_v8_platform_in_node_options.patch
feat_add_original-fs_module.patch
build_allow_embedders_to_override_the_node_module_version_define.patch
build_modify_js2c_py_to_allow_injection_of_original-fs_and_custom_embedder_js.patch
refactor_allow_embedder_overriding_of_internal_fs_calls.patch
chore_add_ability_to_prevent_warn_non_context-aware_native_modules.patch
fsevents_fix_file_event_reporting.patch
@ -37,18 +35,10 @@ src_only_run_preloadmodules_if_the_preload_array_is_not_empty.patch
src_read_break_node_first_line_from_the_inspect_options.patch
chore_allow_the_node_entrypoint_to_be_a_builtin_module.patch
inherit_electron_crashpad_pipe_name_in_child_process.patch
allow_embedder_to_insert_js_data_into_nativemoduleloader.patch
chore_update_gn_files_for_file_movement.patch
fixme_revert_crypto_add_support_for_rsa-pss_keys.patch
build_fix_gn_build_scripts_and_js2c_for_node_12_4_and_embedder_use.patch
chore_re-add_compileandcall_this_should_be_added_as_a_helper_in.patch
chore_remove_unused_private_runtimeagent_member_env.patch
src_add_missing_option_parser_template_for_the_debugoptionsparser.patch
src_expose_maybeinitializecontext_to_allow_existing_contexts.patch
fix_don_t_define_building_v8_shared_in_component_builds_109.patch
chore_fix_js2c_hacks_for_original-fs.patch
chore_remove_sysinfo-memory_from_build_files.patch
fix_make_js2c_normalize_paths_before_splitting_on_separaters.patch
fix_extern_the_nativemoduleenv_and_options_parser_for_debug_builds.patch
fix_ensure_js2c_maps_internal-fs_streams.patch
chore_read_nobrowserglobals_from_global_not_process.patch