diff --git a/config_bundles/debian_stretch/patch_order.list b/config_bundles/debian_stretch/patch_order.list index c386b7d3..47eb9ad4 100644 --- a/config_bundles/debian_stretch/patch_order.list +++ b/config_bundles/debian_stretch/patch_order.list @@ -1,5 +1,3 @@ -debian_stretch/arm/crashpad.patch - debian_buster/disable/openh264.patch debian_stretch/system/vpx16.patch diff --git a/patches/debian_stretch/system/icu.patch b/patches/debian_stretch/system/icu.patch index ce701e77..52f53d0a 100644 --- a/patches/debian_stretch/system/icu.patch +++ b/patches/debian_stretch/system/icu.patch @@ -18,7 +18,7 @@ author: Michael Gilbert String StringForText(const void* text, --- a/components/url_formatter/idn_spoof_checker.cc +++ b/components/url_formatter/idn_spoof_checker.cc -@@ -394,8 +394,8 @@ Skeletons IDNSpoofChecker::GetSkeletons( +@@ -396,8 +396,8 @@ Skeletons IDNSpoofChecker::GetSkeletons( if ((u04cf_pos = host.indexOf(0x4CF)) != -1) { icu::UnicodeString host_alt(host); size_t length = host_alt.length(); diff --git a/patches/debian_stretch/system/vpx16.patch b/patches/debian_stretch/system/vpx16.patch index dea2598d..6a8d4d66 100644 --- a/patches/debian_stretch/system/vpx16.patch +++ b/patches/debian_stretch/system/vpx16.patch @@ -3,7 +3,7 @@ author: Michael Gilbert --- a/third_party/webrtc/modules/video_coding/codecs/vp8/libvpx_vp8_decoder.cc +++ b/third_party/webrtc/modules/video_coding/codecs/vp8/libvpx_vp8_decoder.cc -@@ -251,9 +251,7 @@ int LibvpxVp8Decoder::Decode(const Encod +@@ -250,9 +250,7 @@ int LibvpxVp8Decoder::Decode(const Encod img = vpx_codec_get_frame(decoder_, &iter); int qp; @@ -14,7 +14,7 @@ author: Michael Gilbert ret = ReturnFrame(img, input_image.Timestamp(), input_image.ntp_time_ms_, qp); if (ret != 0) { // Reset to avoid requesting key frames too often. -@@ -307,7 +305,9 @@ int LibvpxVp8Decoder::ReturnFrame(const +@@ -306,7 +304,9 @@ int LibvpxVp8Decoder::ReturnFrame(const VideoFrame decoded_image(buffer, timestamp, 0, kVideoRotation_0); decoded_image.set_ntp_time_ms(ntp_time_ms); diff --git a/patches/ubuntu/no-new-ninja-flag.patch b/patches/ubuntu/no-new-ninja-flag.patch index 392c152e..93b81deb 100644 --- a/patches/ubuntu/no-new-ninja-flag.patch +++ b/patches/ubuntu/no-new-ninja-flag.patch @@ -3,7 +3,7 @@ Author: Olivier Tilloy --- a/tools/gn/bootstrap/bootstrap.py +++ b/tools/gn/bootstrap/bootstrap.py -@@ -75,10 +75,10 @@ def main(argv): +@@ -81,10 +81,10 @@ def main(argv): os.path.join(BOOTSTRAP_DIR, 'last_commit_position.h'), gn_build_dir) if options.jobs: subprocess.check_call( @@ -15,4 +15,4 @@ Author: Olivier Tilloy + ['ninja', '-C', gn_build_dir, 'gn']) shutil.copy2(os.path.join(gn_build_dir, 'gn'), gn_path) - + if not options.skip_generate_buildfiles: diff --git a/patches/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/ungoogled-chromium/block-trk-and-subdomains.patch index dd103364..36703c48 100644 --- a/patches/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/ungoogled-chromium/block-trk-and-subdomains.patch @@ -288,7 +288,7 @@ if (file_enabled_) { --- a/url/url_util.cc +++ b/url/url_util.cc -@@ -52,6 +52,7 @@ const char* kSecureSchemes[] = { +@@ -54,6 +54,7 @@ const char* kSecureSchemes[] = { kHttpsScheme, kAboutScheme, kDataScheme, @@ -296,7 +296,7 @@ kWssScheme, }; -@@ -69,6 +70,7 @@ const char* kCORSEnabledSchemes[] = { +@@ -71,6 +72,7 @@ const char* kCORSEnabledSchemes[] = { kHttpsScheme, kHttpScheme, kDataScheme, diff --git a/patches/ungoogled-chromium/enable-page-saving-on-more-pages.patch b/patches/ungoogled-chromium/enable-page-saving-on-more-pages.patch index 8be98604..6e824e48 100644 --- a/patches/ungoogled-chromium/enable-page-saving-on-more-pages.patch +++ b/patches/ungoogled-chromium/enable-page-saving-on-more-pages.patch @@ -53,7 +53,7 @@ OfflinePageModel::OfflinePageModel() = default; --- a/content/common/url_schemes.cc +++ b/content/common/url_schemes.cc -@@ -18,6 +18,10 @@ namespace content { +@@ -19,6 +19,10 @@ namespace content { namespace { const char* const kDefaultSavableSchemes[] = { @@ -64,7 +64,7 @@ url::kHttpScheme, url::kHttpsScheme, url::kFileScheme, -@@ -25,7 +29,13 @@ const char* const kDefaultSavableSchemes +@@ -26,7 +30,13 @@ const char* const kDefaultSavableSchemes url::kFtpScheme, kChromeDevToolsScheme, kChromeUIScheme, diff --git a/patches/ungoogled-chromium/linux/fix-nullptr-t-namespace.patch b/patches/ungoogled-chromium/linux/fix-nullptr-t-namespace.patch index 8094cd8c..091d34cf 100644 --- a/patches/ungoogled-chromium/linux/fix-nullptr-t-namespace.patch +++ b/patches/ungoogled-chromium/linux/fix-nullptr-t-namespace.patch @@ -2,7 +2,7 @@ --- a/content/public/test/browser_test_utils.h +++ b/content/public/test/browser_test_utils.h -@@ -605,7 +605,7 @@ bool operator>(const T& a, const EvalJsR +@@ -625,7 +625,7 @@ bool operator>(const T& a, const EvalJsR return b.error.empty() && (JsLiteralHelper::Convert(a) > b.value); } diff --git a/patches/ungoogled-chromium/macos/disable-symbol-order-verification.patch b/patches/ungoogled-chromium/macos/disable-symbol-order-verification.patch index bd8a4dc9..34b50e0e 100644 --- a/patches/ungoogled-chromium/macos/disable-symbol-order-verification.patch +++ b/patches/ungoogled-chromium/macos/disable-symbol-order-verification.patch @@ -2,7 +2,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -1301,7 +1301,7 @@ if (is_win) { +@@ -1299,7 +1299,7 @@ if (is_win) { assert(_framework_binary_path != "", "Ignore configuration-dependent unused variable warning") diff --git a/patches/ungoogled-chromium/macos/fix-gn-safe_browsing.patch b/patches/ungoogled-chromium/macos/fix-gn-safe_browsing.patch index 6b9e6954..5d7a585f 100644 --- a/patches/ungoogled-chromium/macos/fix-gn-safe_browsing.patch +++ b/patches/ungoogled-chromium/macos/fix-gn-safe_browsing.patch @@ -2,7 +2,7 @@ --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn -@@ -1512,7 +1512,7 @@ config("default_warnings") { +@@ -1499,7 +1499,7 @@ config("default_warnings") { # recognize. cflags += [ # TODO(thakis): https://crbug.com/753973 @@ -13,7 +13,7 @@ # TODO(thakis): Only for no_chromium_code? http://crbug.com/505314 --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -1706,7 +1706,6 @@ jumbo_split_static_library("browser") { +@@ -1729,7 +1729,6 @@ jumbo_split_static_library("browser") { "//chrome/browser/profiling_host", "//chrome/browser/push_messaging:budget_proto", "//chrome/browser/resource_coordinator:mojo_bindings", @@ -23,7 +23,7 @@ "//chrome/browser/ui/webui/bluetooth_internals", --- a/chrome/browser/extensions/BUILD.gn +++ b/chrome/browser/extensions/BUILD.gn -@@ -808,7 +808,6 @@ jumbo_static_library("extensions") { +@@ -776,7 +776,6 @@ jumbo_static_library("extensions") { "//chrome/browser/media/router", "//chrome/browser/media/router/discovery", "//chrome/browser/resource_coordinator:mojo_bindings", @@ -33,7 +33,7 @@ "//chrome/common", --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -837,7 +837,6 @@ jumbo_split_static_library("ui") { +@@ -381,7 +381,6 @@ jumbo_split_static_library("ui") { "//chrome/browser/engagement:mojo_bindings", "//chrome/browser/media:mojo_bindings", "//chrome/browser/profiling_host", diff --git a/patches/ungoogled-chromium/windows/windows-disable-orderfile.patch b/patches/ungoogled-chromium/windows/windows-disable-orderfile.patch index a2f4edc8..4c9645cb 100644 --- a/patches/ungoogled-chromium/windows/windows-disable-orderfile.patch +++ b/patches/ungoogled-chromium/windows/windows-disable-orderfile.patch @@ -2,7 +2,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -424,22 +424,6 @@ if (is_win) { +@@ -430,22 +430,6 @@ if (is_win) { "//content/public/app:both", ] } @@ -25,7 +25,7 @@ } if (is_multi_dll_chrome) { -@@ -486,22 +470,6 @@ if (is_win) { +@@ -492,22 +476,6 @@ if (is_win) { "/DELAYLOAD:wininet.dll", ] diff --git a/patches/ungoogled-chromium/windows/windows-disable-reorder-fix-linking.patch b/patches/ungoogled-chromium/windows/windows-disable-reorder-fix-linking.patch index a552353b..83fd4de9 100644 --- a/patches/ungoogled-chromium/windows/windows-disable-reorder-fix-linking.patch +++ b/patches/ungoogled-chromium/windows/windows-disable-reorder-fix-linking.patch @@ -2,10 +2,10 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -49,35 +49,6 @@ if (enable_resource_whitelist_generation) { +@@ -49,35 +49,6 @@ if (enable_resource_whitelist_generation chrome_resource_whitelist = "$target_gen_dir/chrome_resource_whitelist.txt" } - + -if (is_win) { - action("reorder_imports") { - script = "//build/win/reorder-imports.py" @@ -48,9 +48,9 @@ if (use_aura && (is_win || is_linux)) { data_deps += [ "//chrome/app:service_manifests" ] } -@@ -339,11 +307,7 @@ if (!is_android && !is_mac) { +@@ -341,11 +309,7 @@ if (!is_android && !is_mac) { } - + chrome_binary("chrome_initial") { - if (is_win) { - output_name = "initialexe/chrome" @@ -58,7 +58,7 @@ - output_name = "chrome" - } + output_name = "chrome" - + sources = [] if (!is_win && use_aura) { --- a/tools/perf/chrome_telemetry_build/BUILD.gn @@ -66,7 +66,7 @@ @@ -32,10 +32,6 @@ group("telemetry_chrome_test") { data_deps += [ "//chrome" ] } - + - if (is_win) { - data_deps += [ "//chrome:reorder_imports" ] - } @@ -76,7 +76,7 @@ } --- a/chrome/test/chromedriver/BUILD.gn +++ b/chrome/test/chromedriver/BUILD.gn -@@ -357,11 +357,6 @@ python_library("chromedriver_py_tests") { +@@ -357,11 +357,6 @@ python_library("chromedriver_py_tests") if (is_component_build && is_mac) { data_deps += [ "//chrome:chrome_framework" ] } @@ -86,5 +86,5 @@ - data_deps += [ "//chrome:reorder_imports" ] - } } - + python_library("chromedriver_replay_unittests") {