[Audio Player] Cleanup the code along with closure compiler
[chromium-blink-merge.git] / components / app_modal.gypi
blobcc5576ccb23f29b331c3c0831fb6b5fa6ea47ec4
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       ],
15       'include_dirs': [
16         '..',
17       ],
18       'sources': [
19         'app_modal/app_modal_dialog.cc',
20         'app_modal/app_modal_dialog.h',
21         'app_modal/app_modal_dialog_queue.cc',
22         'app_modal/app_modal_dialog_queue.h',
23         'app_modal/javascript_app_modal_dialog.cc',
24         'app_modal/javascript_app_modal_dialog.h',
25         'app_modal/javascript_dialog_extensions_client.h',
26         'app_modal/javascript_dialog_manager.cc',
27         'app_modal/javascript_dialog_manager.h',
28         'app_modal/javascript_native_dialog_factory.h',
29         'app_modal/native_app_modal_dialog.h'
30       ],
31       'conditions': [
32         ['use_aura==1',{
33           'dependencies': [
34             '../ui/aura/aura.gyp:aura',
35           ],
36         }],
37         ['toolkit_views==1 and OS!="mac"', {
38           'sources': [
39             'app_modal/views/javascript_app_modal_dialog_views.cc',
40             'app_modal/views/javascript_app_modal_dialog_views.h',
41           ],
42         }],
43       ],
44     },
45   ],