chromium/components/content_settings/browser/BUILD.gn

# Copyright 2020 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("browser") {
  sources = [
    "content_settings_manager_impl.cc",
    "content_settings_manager_impl.h",
    "page_specific_content_settings.cc",
    "page_specific_content_settings.h",
  ]
  deps = [
    "//base",
    "//build:chromeos_buildflags",
    "//components/browsing_data/content",
    "//components/browsing_data/core:core",
    "//components/content_settings/common:mojom",
    "//components/content_settings/core/browser",
    "//components/content_settings/core/browser:cookie_settings",
    "//components/content_settings/core/common",
    "//components/page_info/core:core",
    "//components/page_load_metrics/browser",
    "//components/prefs",
    "//components/privacy_sandbox",
    "//components/security_state/core",
    "//components/url_formatter",
    "//content/public/browser",
    "//content/public/common",
  ]
}

source_set("test_support") {
  testonly = true
  sources = [
    "test_page_specific_content_settings_delegate.cc",
    "test_page_specific_content_settings_delegate.h",
  ]
  deps = [
    ":browser",
    "//content/public/browser",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "page_specific_content_settings_unittest.cc" ]
  deps = [
    ":browser",
    ":test_support",
    "//base",
    "//components/browsing_data/content:content",
    "//components/browsing_data/core:core",
    "//components/content_settings/core/browser",
    "//components/security_state/core",
    "//components/services/storage/public/cpp",
    "//components/sync_preferences:test_support",
    "//content/test:test_support",
    "//net",
    "//testing/gmock",
    "//testing/gtest",
  ]
}