summaryrefslogtreecommitdiffstats
path: root/components/contextual_search.gypi
blob: 32a1e00f4afe217ecfaa1936e73109d62d1f2372 (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
48
49
50
51
52
53
54
55
56
57
# 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.

{
  'targets': [
    {
      # GN: //components/contextual_search:browser
      'target_name': 'contextual_search_browser',
      'type': 'static_library',
      'include_dirs': [
        '..',
      ],
      'dependencies': [
        'contextual_search_mojo_bindings',
        '../base/base.gyp:base',
      ],
      'sources': [
        'contextual_search/browser/contextual_search_js_api_service_impl.cc',
        'contextual_search/browser/contextual_search_js_api_service_impl.h',
      ],
    },
    {
      # GN: //components/contextual_search:renderer
      'target_name': 'contextual_search_renderer',
      'type': 'static_library',
      'include_dirs': [
        '..',
        '../third_party/WebKit',
      ],
      'dependencies': [
        'contextual_search_mojo_bindings',
        '../base/base.gyp:base',
      ],
      'sources': [
        'contextual_search/renderer/contextual_search_wrapper.cc',
        'contextual_search/renderer/contextual_search_wrapper.h',
        'contextual_search/renderer/overlay_js_render_frame_observer.cc',
        'contextual_search/renderer/overlay_js_render_frame_observer.h',
        'contextual_search/renderer/overlay_page_notifier_service_impl.cc',
        'contextual_search/renderer/overlay_page_notifier_service_impl.h',
      ],
    },
    {
      # GN version: //components/contextual_search:mojo_bindings
      'target_name': 'contextual_search_mojo_bindings',
      'type': 'static_library',
      'sources': [
        'contextual_search/common/contextual_search_js_api_service.mojom',
        'contextual_search/common/overlay_page_notifier_service.mojom',
      ],
      'includes': [
        '../mojo/mojom_bindings_generator.gypi',
      ],
    },
  ],
}