chromium/chrome/browser/extensions/api/context_menus/BUILD.gn

# Copyright 2024 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 extensions because enable_extensions=false.")

source_set("context_menus") {
  sources = [
    "context_menus_api.cc",
    "context_menus_api.h",
  ]

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

  deps = [
    "//base",
    "//chrome/browser/extensions",
    "//chrome/browser/profiles:profile",
    "//extensions/browser",
    "//extensions/common",
  ]
}