summaryrefslogtreecommitdiff
path: root/chromium/components/find_in_page/BUILD.gn
blob: 770355a9891ad5539a04eb014bee4ca8c2abab43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2020 The Chromium Authors. All rights reserved.
# 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/mojom/frame",
    "//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" ]
  }
}