chromium/components/find_in_page/BUILD.gn

# Copyright 2020 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/ui.gni")

static_library("find_in_page") {
  sources = [
    "find_notification_details.h",
    "find_result_observer.h",
    "find_tab_helper.cc",
    "find_tab_helper.h",
    "find_types.h",
  ]

  deps = [
    "//base",
    "//content/public/browser",
    "//content/public/common",
    "//third_party/blink/public/common",
    "//ui/gfx",
  ]

  if (is_android) {
    sources += [
      "android/find_in_page_bridge.cc",
      "android/find_in_page_bridge.h",
    ]

    deps += [ "//components/find_in_page/android:jni_headers" ]
  }
}