OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
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/print_settings_dialog_win.cc', | |
34 'shell_dialogs/print_settings_dialog_win.h', | |
35 'shell_dialogs/select_file_dialog.cc', | |
36 'shell_dialogs/select_file_dialog.h', | |
37 'shell_dialogs/select_file_dialog_android.cc', | |
38 'shell_dialogs/select_file_dialog_android.h', | |
39 'shell_dialogs/select_file_dialog_factory.cc', | |
40 'shell_dialogs/select_file_dialog_factory.h', | |
41 'shell_dialogs/select_file_dialog_mac.h', | |
42 'shell_dialogs/select_file_dialog_mac.mm', | |
43 'shell_dialogs/select_file_dialog_win.cc', | |
44 'shell_dialogs/select_file_dialog_win.h', | |
45 'shell_dialogs/select_file_policy.cc', | |
46 'shell_dialogs/select_file_policy.h', | |
47 'shell_dialogs/selected_file_info.cc', | |
48 'shell_dialogs/selected_file_info.h', | |
49 ], | |
50 'include_dirs': [ | |
51 '../', | |
52 ], | |
53 'conditions': [ | |
54 ['use_aura==1', { | |
55 'dependencies': [ | |
56 'aura/aura.gyp:aura', | |
57 ], | |
58 'sources/': [ | |
59 ['exclude', 'shell_dialogs/select_file_dialog_mac.mm'], | |
60 ], | |
61 }], | |
62 ['OS=="android"', { | |
63 'dependencies': [ | |
64 'ui_jni_headers', | |
65 ], | |
66 'include_dirs': [ | |
67 '<(SHARED_INTERMEDIATE_DIR)/ui', | |
68 ], | |
69 'link_settings': { | |
70 'libraries': [ | |
71 '-ljnigraphics', | |
72 ], | |
73 }, | |
74 }], | |
75 ['OS=="android" and android_webview_build==0', { | |
76 'dependencies': [ | |
77 'ui_java', | |
78 ], | |
79 }], | |
80 ], | |
81 }, # target_name: shell_dialogs | |
82 ], | |
83 } | |
OLD | NEW |