# Copyright 2026 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. assert(is_win) source_set("isolated_browser_support") { sources = [ "isolated_browser_support.cc", "isolated_browser_support.h", ] deps = [ "//base", "//chrome/browser/os_crypt", "//chrome/common:non_code_constants", "//chrome/elevation_service:public_headers", "//chrome/install_static:install_static_util", "//chrome/installer/util:isolation_support", "//components/os_crypt/browser:key_provider_interface", "//content/public/browser", ] } source_set("isolated_browser_test_support") { testonly = true sources = [ "isolated_browser_test_support.cc", "isolated_browser_test_support.h", ] deps = [ ":isolated_browser_support", "//base", "//base/test:test_support", "//chrome/common:constants", "//chrome/elevation_service:public_headers", "//chrome/windows_services/service_program/test_support", "//testing/gtest", ] } source_set("unit_tests") { testonly = true # Several *_unittest.cc files have file-scope statics of non-trivial- # destructor types (e.g. std::wstring), which -Wexit-time-destructors # rejects. configs += [ "//build/config/compiler:no_exit_time_destructors" ] sources = [ "isolated_browser_support_unittest.cc" ] data_deps = [ "//chrome/elevation_service" ] deps = [ ":isolated_browser_support", ":isolated_browser_test_support", "//base", "//base/test:test_support", "//chrome/browser/os_crypt", "//chrome/chrome_elf:constants", "//chrome/common:constants", "//chrome/elevation_service:public_headers", "//chrome/install_static:install_static_util", "//chrome/install_static/test:test_support", "//chrome/installer/util:with_no_strings", "//chrome/test:test_support", "//components/crash/core/common:crash_key", "//components/prefs", "//components/prefs:test_support", "//components/variations", "//components/version_info", "//content/test:test_support", "//testing/gmock", "//testing/gtest", ] } source_set("browser_tests") { testonly = true defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] sources = [ "isolated_browser_support_browsertest.cc" ] deps = [ ":isolated_browser_support", "//chrome/browser:browser_process", "//chrome/common:constants", "//chrome/install_static/test:test_support", "//chrome/test:test_support", "//chrome/test:test_support_ui", "//components/prefs", "//content/test:test_support", ] }