1# Copyright (c) 2013 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6  'targets': [
7    {
8      # GN version: //components/web_modal
9      'target_name': 'web_modal',
10      'type': 'static_library',
11      'include_dirs': [
12        '..',
13      ],
14      'dependencies': [
15        '../base/base.gyp:base',
16        '../content/content.gyp:content_browser',
17        '../skia/skia.gyp:skia',
18      ],
19      'sources': [
20        # Note: sources list duplicated in GN build.
21        'web_modal/modal_dialog_host.cc',
22        'web_modal/modal_dialog_host.h',
23        'web_modal/native_web_contents_modal_dialog.h',
24        'web_modal/popup_manager.cc',
25        'web_modal/popup_manager.h',
26        'web_modal/single_popup_manager.h',
27        'web_modal/single_web_contents_dialog_manager.h',
28        'web_modal/web_contents_modal_dialog_host.cc',
29        'web_modal/web_contents_modal_dialog_host.h',
30        'web_modal/web_contents_modal_dialog_manager.cc',
31        'web_modal/web_contents_modal_dialog_manager.h',
32        'web_modal/web_contents_modal_dialog_manager_delegate.cc',
33        'web_modal/web_contents_modal_dialog_manager_delegate.h',
34      ],
35    },
36    {
37      # GN version: //components/web_modal:test_support
38      'target_name': 'web_modal_test_support',
39      'type': 'static_library',
40      'dependencies': [
41        'web_modal',
42      ],
43      'sources': [
44        # Note: sources list duplicated in GN build.
45        'web_modal/test_web_contents_modal_dialog_host.cc',
46        'web_modal/test_web_contents_modal_dialog_host.h',
47        'web_modal/test_web_contents_modal_dialog_manager_delegate.cc',
48        'web_modal/test_web_contents_modal_dialog_manager_delegate.h',
49      ],
50    },
51  ],
52}
53