• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2012 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  'variables': {
7    'chromium_code': 1,
8  },
9  'targets': [
10    {
11      'target_name': 'web_dialogs',
12      'type': '<(component)',
13      'dependencies': [
14        '../../base/base.gyp:base',
15        '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
16        '../../content/content.gyp:content_browser',
17        '../../skia/skia.gyp:skia',
18      ],
19      'defines': [
20        'WEB_DIALOGS_IMPLEMENTATION',
21      ],
22      'sources': [
23        # All .cc, .h under web_dialogs, except unittests.
24        'web_dialog_delegate.cc',
25        'web_dialog_delegate.h',
26        'web_dialog_ui.cc',
27        'web_dialog_ui.h',
28        'web_dialog_web_contents_delegate.cc',
29        'web_dialog_web_contents_delegate.h',
30        'web_dialogs_export.h',
31      ],
32    },
33    {
34      'target_name': 'web_dialogs_test_support',
35      'type': 'static_library',
36      'dependencies': [
37        '../../base/base.gyp:base',
38        '../../content/content.gyp:content_browser',
39        '../../skia/skia.gyp:skia',
40        'web_dialogs',
41      ],
42      'sources': [
43        'test/test_web_contents_handler.cc',
44        'test/test_web_contents_handler.h',
45        'test/test_web_dialog_delegate.cc',
46        'test/test_web_dialog_delegate.h',
47      ],
48    },
49  ],
50}
51