summaryrefslogtreecommitdiffstats
path: root/components/contextual_search/BUILD.gn
blob: 8d546020c6f7bf3c6c881f10839d8a00652035ce (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 2015 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("//mojo/public/tools/bindings/mojom.gni")

# GYP version: components/contextual_search.gypi:contextual_search_mojo_bindings
mojom("mojo_bindings") {
  sources = [
    "common/contextual_search_js_api_service.mojom",
    "common/overlay_page_notifier_service.mojom",
  ]
}

# GYP version: components/contextual_search.gypi:contextual_search_browser
static_library("browser") {
  sources = [
    "browser/contextual_search_js_api_service_impl.cc",
    "browser/contextual_search_js_api_service_impl.h",
  ]
  deps = [
    ":mojo_bindings",
    "//base",
  ]
}

# GYP version: components/contextual_search.gypi:contextual_search_renderer
static_library("renderer") {
  sources = [
    "renderer/contextual_search_wrapper.cc",
    "renderer/contextual_search_wrapper.h",
    "renderer/overlay_js_render_frame_observer.cc",
    "renderer/overlay_js_render_frame_observer.h",
    "renderer/overlay_page_notifier_service_impl.cc",
    "renderer/overlay_page_notifier_service_impl.h",
  ]
  deps = [
    ":mojo_bindings",
    "//base",
    "//content/public/common",
    "//content/public/renderer",
    "//gin",
    "//mojo/public/cpp/bindings",
    "//third_party/WebKit/public:blink_headers",
    "//v8",
  ]
}