Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / libgtk2ui / libgtk2ui.gyp
blob19a108ff00b94c4db91ed9ba98629ac7d661da6b
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.
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         '../../../../skia/skia.gyp:skia',
21         '../../../../ui/base/strings/ui_strings.gyp:ui_strings',
22         '../../../../ui/resources/ui_resources.gyp:ui_resources',
23         '../../../../ui/ui.gyp:ui',
24         '../../../../ui/views/views.gyp:views',
25         '../../../chrome_resources.gyp:chrome_extra_resources',
26         '../../../chrome_resources.gyp:chrome_resources',
27         '../../../chrome_resources.gyp:chrome_strings',
28         '../../../chrome_resources.gyp:theme_resources',
29       ],
30       'defines': [
31         'LIBGTK2UI_IMPLEMENTATION',
32         'USE_CUPS',
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         'gconf_titlebar_listener.cc',
47         'gconf_titlebar_listener.h',
48         'gtk2_ui.cc',
49         'gtk2_ui.h',
50         'gtk2_util.cc',
51         'gtk2_util.h',
52         'libgtk2ui_export.h',
53         'menu_util.cc',
54         'menu_util.h',
55         'native_theme_gtk2.cc',
56         'native_theme_gtk2.h',
57         'owned_widget_gtk2.cc',
58         'owned_widget_gtk2.h',
59         'print_dialog_gtk2.cc',
60         'print_dialog_gtk2.h',
61         'printing_gtk2_util.cc',
62         'printing_gtk2_util.h',
63         'select_file_dialog_impl.cc',
64         'select_file_dialog_impl.h',
65         'select_file_dialog_impl_gtk2.cc',
66         'select_file_dialog_impl_kde.cc',
67         'skia_utils_gtk2.cc',
68         'skia_utils_gtk2.h',
69         'unity_service.cc',
70         'unity_service.h',
71         'x11_input_method_context_impl_gtk2.cc',
72         'x11_input_method_context_impl_gtk2.h',
73       ],
74       'conditions': [
75         ['use_gconf==0', {
76           'sources!': [
77             'gconf_titlebar_listener.cc',
78             'gconf_titlebar_listener.h',
79           ],
80         }],
81       ],
82     },
83   ],