Files
brave-core/installer/setup/BUILD.gn
T
Michael HerrmannandMax Karolinskiy 49faa97bb6 Fix Windows delta updates (#31937)
Chromium 142 broke delta updates on Windows. This commit fixes them by
reverting upstream commits 13ca199c and a4d120da with a few patches,
vendored code and chromium_src overrides. The changes should affect the
browser Windows installer only, and not the Omaha update client.

Co-authored-by: Max Karolinskiy <max@brave.com>
2025-12-04 19:16:50 +01:00

39 lines
1.0 KiB
Plaintext

# Copyright (c) 2025 The Brave Authors. All rights reserved.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at https://mozilla.org/MPL/2.0/.
import("//testing/test.gni")
assert(is_win)
source_set("unit_tests") {
sources = [
"archive_patch_helper_unittest.cc",
"brave_setup_util_unittest.cc",
]
deps = [
"//base",
"//base/test:test_support",
"//chrome/common:constants",
"//chrome/installer/setup:lib",
"//chrome/installer/util:constants",
"//chrome/installer/util:metainstaller_utils",
"//chrome/installer/util:with_no_strings",
"//testing/gtest",
]
testonly = true
}
# As of this writing, the sole purpose of this GN target is to call
# chrome::RegisterPathProvider() for archive_patch_helper_unittest.cc.
source_set("run_all_unittests") {
sources = [ "run_all_unittests.cc" ]
deps = [
"//base",
"//base/test:test_support",
"//chrome/common:constants",
]
testonly = true
}