Roll src/third_party/WebKit 2146135:dc7c4b0 (svn 202183:202185)
[chromium-blink-merge.git] / components / app_modal.gypi
blob045b1ec219a681bf0b430a3dd77336ce32556bb6
1 # Copyright 2014 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.
5   'targets': [
6     {
7       'target_name': 'app_modal',
8       'type': 'static_library',
9       'dependencies': [
10         '../content/content.gyp:content_browser',
11         '../content/content.gyp:content_common',
12         '../skia/skia.gyp:skia',
13         'components_strings.gyp:components_strings',
14         'url_formatter/url_formatter.gyp:url_formatter',
15       ],
16       'include_dirs': [
17         '..',
18       ],
19       'sources': [
20         'app_modal/app_modal_dialog.cc',
21         'app_modal/app_modal_dialog.h',
22         'app_modal/app_modal_dialog_queue.cc',
23         'app_modal/app_modal_dialog_queue.h',
24         'app_modal/javascript_app_modal_dialog.cc',
25         'app_modal/javascript_app_modal_dialog.h',
26         'app_modal/javascript_dialog_extensions_client.h',
27         'app_modal/javascript_dialog_manager.cc',
28         'app_modal/javascript_dialog_manager.h',
29         'app_modal/javascript_native_dialog_factory.h',
30         'app_modal/native_app_modal_dialog.h'
31       ],
32       'conditions': [
33         ['use_aura==1',{
34           'dependencies': [
35             '../ui/aura/aura.gyp:aura',
36           ],
37         }],
38         ['toolkit_views==1', {
39           'sources': [
40             'app_modal/views/javascript_app_modal_dialog_views.cc',
41             'app_modal/views/javascript_app_modal_dialog_views.h',
42           ],
43         }],
44       ],
45     },
46   ],