chromium/chrome/browser/extensions/api/omnibox/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)

source_set("omnibox") {
  sources = [
    "omnibox_api.cc",
    "omnibox_api.h",
    "suggestion_parser.cc",
    "suggestion_parser.h",
  ]

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

  public_deps = [
    "//chrome/common/extensions/api",
    "//components/omnibox/browser",
    "//components/search_engines",
    "//extensions/browser",
    "//extensions/common",
    "//ui/base:types",
  ]

  deps = [
    "//chrome/browser/extensions",
    "//chrome/browser/profiles:profile",
    "//chrome/browser/search_engines",
    "//services/data_decoder/public/cpp",
    "//services/data_decoder/public/cpp:safe_xml_parser",
    "//services/data_decoder/public/mojom:mojom_xml_parser",
    "//ui/gfx",
  ]
}