Change message loop to UI.
[chromium-blink-merge.git] / ui / shell_dialogs.gypi
blob2675d73ab8ea0be95e188f47c094abc90ef3d831
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.
6   'targets': [
7     {
8       'target_name': 'shell_dialogs',
9       'type': '<(component)',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../base/base.gyp:base_i18n',
13         'base/strings/ui_strings.gyp:ui_strings',
14         '../skia/skia.gyp:skia',
15         'ui',
16       ],
17       'defines': [
18         'SHELL_DIALOGS_IMPLEMENTATION',
19       ],
20       'sources': [
21         'shell_dialogs/android/shell_dialogs_jni_registrar.cc',
22         'shell_dialogs/android/shell_dialogs_jni_registrar.h',
23         'shell_dialogs/base_shell_dialog.cc',
24         'shell_dialogs/base_shell_dialog.h',
25         'shell_dialogs/base_shell_dialog_win.cc',
26         'shell_dialogs/base_shell_dialog_win.h',
27         'shell_dialogs/gtk/select_file_dialog_impl.cc',
28         'shell_dialogs/gtk/select_file_dialog_impl.h',
29         'shell_dialogs/gtk/select_file_dialog_impl_gtk.cc',
30         'shell_dialogs/gtk/select_file_dialog_impl_kde.cc',
31         'shell_dialogs/linux_shell_dialog.cc',
32         'shell_dialogs/linux_shell_dialog.h',
33         'shell_dialogs/select_file_dialog.cc',
34         'shell_dialogs/select_file_dialog.h',
35         'shell_dialogs/select_file_dialog_android.cc',
36         'shell_dialogs/select_file_dialog_android.h',
37         'shell_dialogs/select_file_dialog_factory.cc',
38         'shell_dialogs/select_file_dialog_factory.h',
39         'shell_dialogs/select_file_dialog_mac.h',
40         'shell_dialogs/select_file_dialog_mac.mm',
41         'shell_dialogs/select_file_dialog_win.cc',
42         'shell_dialogs/select_file_dialog_win.h',
43         'shell_dialogs/select_file_policy.cc',
44         'shell_dialogs/select_file_policy.h',
45         'shell_dialogs/selected_file_info.cc',
46         'shell_dialogs/selected_file_info.h',
47       ],
48       'include_dirs': [
49         '../',
50       ],
51       'conditions': [
52         ['use_aura==1', {
53           'dependencies': [
54             'aura/aura.gyp:aura',
55           ],
56           'sources/': [
57             ['exclude', 'shell_dialogs/select_file_dialog_mac.mm'],
58            ],
59         }],
60         ['OS=="android"', {
61           'dependencies': [
62             'ui_jni_headers',
63           ],
64           'include_dirs': [
65             '<(SHARED_INTERMEDIATE_DIR)/ui',
66           ],
67           'link_settings': {
68             'libraries': [
69               '-ljnigraphics',
70             ],
71           },
72         }],
73         ['OS=="android" and android_webview_build==0', {
74           'dependencies': [
75             'ui_java',
76           ],
77         }],
78       ],
79     },  # target_name: shell_dialogs
80   ],