| # Copyright 2025 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/chrome_build.gni") |
| |
| assert(is_chrome_branded) |
| assert(is_win) |
| |
| source_set("installer_win") { |
| public = [ "installer_win.h" ] |
| sources = [ "installer_win.cc" ] |
| deps = [ |
| "//base", |
| "//chrome/browser/google", |
| "//chrome/common:constants", |
| "//chrome/install_static:install_static_util", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "installer_win_unittest.cc" ] |
| |
| deps = [ |
| ":installer_win", |
| "//base", |
| "//base/test:test_support", |
| "//chrome/common:constants", |
| "//chrome/install_static/test:test_support", |
| "//chrome/installer/util:constants", |
| "//chrome/updater/app/server/win:updater_legacy_idl", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| } |