Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / libgtk2ui / libgtk2ui.gyp
1 # Copyright (c) 2012 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   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'gtk2ui',
12       'type': '<(component)',
13       'dependencies': [
14         '../../../../base/base.gyp:base',
15         '../../../../base/base.gyp:base_i18n',
16         '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
17         '../../../../build/linux/system.gyp:gconf',
18         '../../../../build/linux/system.gyp:gtk',
19         '../../../../build/linux/system.gyp:gtkprint',
20         '../../../../printing/printing.gyp:cups',
21         '../../../../skia/skia.gyp:skia',
22         '../../../../ui/base/strings/ui_strings.gyp:ui_strings',
23         '../../../../ui/base/ui_base.gyp:ui_base',
24         '../../../../ui/resources/ui_resources.gyp:ui_resources',
25         '../../../../ui/views/views.gyp:views',
26         '../../../chrome_resources.gyp:chrome_extra_resources',
27         '../../../chrome_resources.gyp:chrome_resources',
28         '../../../chrome_resources.gyp:chrome_strings',
29         '../../../chrome_resources.gyp:theme_resources',
30       ],
31       'defines': [
32         'LIBGTK2UI_IMPLEMENTATION',
33       ],
34       # Several of our source files are named _gtk2.cc. This isn't to
35       # differentiate them from their source files (ninja and make are sane
36       # build systems, unlike MSVS). It is instead to get around the rest of
37       # the normal, global gtk exclusion rules, as we are otherwise using gtk
38       # in a non-gtk build.
39       'sources': [
40         'app_indicator_icon.cc',
41         'app_indicator_icon.h',
42         'chrome_gtk_frame.cc',
43         'chrome_gtk_frame.h',
44         'chrome_gtk_menu_subclasses.cc',
45         'chrome_gtk_menu_subclasses.h',
46         'g_object_destructor_filo.cc',
47         'g_object_destructor_filo.h',
48         'gconf_titlebar_listener.cc',
49         'gconf_titlebar_listener.h',
50         'gtk2_border.cc',
51         'gtk2_border.h',
52         'gtk2_event_loop.cc',
53         'gtk2_event_loop.h',
54         'gtk2_key_bindings_handler.cc',
55         'gtk2_key_bindings_handler.h',
56         'gtk2_signal_registrar.cc',
57         'gtk2_signal_registrar.h',
58         'gtk2_ui.cc',
59         'gtk2_ui.h',
60         'gtk2_util.cc',
61         'gtk2_util.h',
62         'libgtk2ui_export.h',
63         'menu_util.cc',
64         'menu_util.h',
65         'native_theme_gtk2.cc',
66         'native_theme_gtk2.h',
67         'owned_widget_gtk2.cc',
68         'owned_widget_gtk2.h',
69         'print_dialog_gtk2.cc',
70         'print_dialog_gtk2.h',
71         'printing_gtk2_util.cc',
72         'printing_gtk2_util.h',
73         'select_file_dialog_impl.cc',
74         'select_file_dialog_impl.h',
75         'select_file_dialog_impl_gtk2.cc',
76         'select_file_dialog_impl_kde.cc',
77         'skia_utils_gtk2.cc',
78         'skia_utils_gtk2.h',
79         'unity_service.cc',
80         'unity_service.h',
81         'x11_input_method_context_impl_gtk2.cc',
82         'x11_input_method_context_impl_gtk2.h',
83       ],
84       'conditions': [
85         ['use_gconf==0', {
86           'sources!': [
87             'gconf_titlebar_listener.cc',
88             'gconf_titlebar_listener.h',
89           ],
90         }],
91       ],
92     },
93   ],
94 }