chromium/components/heavy_ad_intervention/BUILD.gn

# Copyright 2021 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("heavy_ad_intervention") {
  sources = [
    "heavy_ad_blocklist.cc",
    "heavy_ad_blocklist.h",
    "heavy_ad_features.cc",
    "heavy_ad_features.h",
    "heavy_ad_helper.cc",
    "heavy_ad_helper.h",
    "heavy_ad_service.cc",
    "heavy_ad_service.h",
  ]
  deps = [
    "//base",
    "//components/blocklist/opt_out_blocklist",
    "//components/blocklist/opt_out_blocklist/sql:opt_out_blocklist_sql",
    "//components/resources:components_resources_grit",
    "//components/security_interstitials/core",
    "//components/strings:components_strings_grit",
    "//content/public/browser",
    "//third_party/zlib/google:compression_utils",
    "//ui/base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "heavy_ad_blocklist_unittest.cc" ]
  deps = [
    ":heavy_ad_intervention",
    "//base",
    "//base/test:test_support",
    "//components/blocklist/opt_out_blocklist",
    "//components/variations",
    "//testing/gtest",
  ]
}