summaryrefslogtreecommitdiffstats
path: root/components/app_modal.gypi
blob: 045b1ec219a681bf0b430a3dd77336ce32556bb6 (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 2014 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': [
    {
      'target_name': 'app_modal',
      'type': 'static_library',
      'dependencies': [
        '../content/content.gyp:content_browser',
        '../content/content.gyp:content_common',
        '../skia/skia.gyp:skia',
        'components_strings.gyp:components_strings',
        'url_formatter/url_formatter.gyp:url_formatter',
      ],
      'include_dirs': [
        '..',
      ],
      'sources': [
        'app_modal/app_modal_dialog.cc',
        'app_modal/app_modal_dialog.h',
        'app_modal/app_modal_dialog_queue.cc',
        'app_modal/app_modal_dialog_queue.h',
        'app_modal/javascript_app_modal_dialog.cc',
        'app_modal/javascript_app_modal_dialog.h',
        'app_modal/javascript_dialog_extensions_client.h',
        'app_modal/javascript_dialog_manager.cc',
        'app_modal/javascript_dialog_manager.h',
        'app_modal/javascript_native_dialog_factory.h',
        'app_modal/native_app_modal_dialog.h'
      ],
      'conditions': [
        ['use_aura==1',{
          'dependencies': [
            '../ui/aura/aura.gyp:aura',
          ],
        }],
        ['toolkit_views==1', {
          'sources': [
            'app_modal/views/javascript_app_modal_dialog_views.cc',
            'app_modal/views/javascript_app_modal_dialog_views.h',
          ],
        }],
      ],
    },
  ],
}