# 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.

source_set("error") {
  defines = [ "IS_ISOLATED_WEB_APPS_IMPL" ]
  visibility = [ "//components/webapps/isolated_web_apps/*" ]
  sources = [
    "uma_logging.cc",
    "uma_logging.h",
    "unusable_swbn_file_error.cc",
    "unusable_swbn_file_error.h",
  ]

  public_deps = [
    "//base",
    "//components/web_package",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "uma_logging_unittest.cc",
    "unusable_swbn_file_error_unittest.cc",
  ]
  deps = [
    "//components/webapps/isolated_web_apps",
    "//base/test:test_support",
  ]
}
