chromium/chrome/browser/chromeos/launcher_search/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("//build/config/chromeos/ui_mode.gni")
import("//extensions/buildflags/buildflags.gni")

assert(is_chromeos)

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

  deps = [
    "//base",
    "//chromeos/crosapi/mojom",
    "//components/bookmarks/browser",
    "//components/omnibox/browser",
    "//components/search_engines",
    "//ui/base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "search_util_unittest.cc" ]

  deps = [
    ":search_util",
    "//base",
    "//chrome/test:test_support",
    "//components/omnibox/browser",
  ]
}