summaryrefslogtreecommitdiffstats
path: root/components/web_modal.gypi
blob: cb257daa6473d27115d3a2036b9de87d4c993ceb (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
# Copyright (c) 2013 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 version: //components/web_modal
      'target_name': 'web_modal',
      'type': 'static_library',
      'include_dirs': [
        '..',
      ],
      'dependencies': [
        '../base/base.gyp:base',
        '../content/content.gyp:content_browser',
        '../skia/skia.gyp:skia',
      ],
      'sources': [
        # Note: sources list duplicated in GN build.
        'web_modal/modal_dialog_host.cc',
        'web_modal/modal_dialog_host.h',
        'web_modal/single_web_contents_dialog_manager.h',
        'web_modal/web_contents_modal_dialog_host.cc',
        'web_modal/web_contents_modal_dialog_host.h',
        'web_modal/web_contents_modal_dialog_manager.cc',
        'web_modal/web_contents_modal_dialog_manager.h',
        'web_modal/web_contents_modal_dialog_manager_delegate.cc',
        'web_modal/web_contents_modal_dialog_manager_delegate.h',
      ],
    },
    {
      # GN version: //components/web_modal:test_support
      'target_name': 'web_modal_test_support',
      'type': 'static_library',
      'dependencies': [
        'web_modal',
      ],
      'sources': [
        # Note: sources list duplicated in GN build.
        'web_modal/test_web_contents_modal_dialog_host.cc',
        'web_modal/test_web_contents_modal_dialog_host.h',
        'web_modal/test_web_contents_modal_dialog_manager_delegate.cc',
        'web_modal/test_web_contents_modal_dialog_manager_delegate.h',
      ],
    },
  ],
}