chromium/extensions/browser/api/declarative_net_request/BUILD.gn

# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//extensions/buildflags/buildflags.gni")

assert(enable_extensions_core)

source_set("declarative_net_request") {
  sources = [
    "declarative_net_request_api.cc",
    "declarative_net_request_api.h",
    "web_contents_helper.cc",
    "web_contents_helper.h",
  ]

  configs += [ "//build/config/compiler:wexit_time_destructors" ]

  deps = [
    "//base",
    "//content/public/browser",
    "//extensions/common",
    "//extensions/common/api",
    "//services/preferences/public/cpp",
  ]

  public_deps = [ "//extensions/browser:browser_sources" ]
}