chromium/chrome/browser/lens/region_search/BUILD.gn

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

# Contained Lens dependencies are currently for desktop platforms only
assert(!is_android, "Lens Region Search is for desktop platforms only")

static_library("region_search") {
  sources = [
    "lens_region_search_controller.cc",
    "lens_region_search_controller.h",
    "lens_region_search_helper.cc",
    "lens_region_search_helper.h",
  ]

  public_deps = [ "//chrome/browser:browser_public_dependencies" ]

  deps = [
    "//base",
    "//chrome/browser/image_editor",
    "//chrome/browser/profiles:profile",
    "//chrome/common:constants",
    "//components/lens",
    "//components/lens:buildflags",
    "//components/lens:lens_mojo",
    "//components/prefs",
    "//components/search_engines:search_engines",
    "//content/public/browser",
    "//ui/views",

    # TODO(crbug.com/346690052): use //chrome/browser/ui after fixing cyclic
    # dependency.
    "//chrome/common:mojo_bindings",
    "//components/paint_preview/buildflags",
    "//components/translate/content/common",
  ]
}