chromium/chrome/common/controlled_frame/BUILD.gn

# Copyright 2023 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,
       "Cannot depend on controlled frame because enable_extensions=false.")

source_set("controlled_frame") {
  sources = [
    "controlled_frame_api_provider.cc",
    "controlled_frame_api_provider.h",
  ]

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

  deps = [
    "//chrome/common:resources_grit",
    "//chrome/common/controlled_frame/api",
    "//chrome/common/controlled_frame/api:controlled_frame_features",
    "//extensions/common",
  ]
}