Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / browser / ui / libgtk2ui / libgtk2ui.gyp
blobd3e3004bed890e3218d2f4b087448ab17fdbbbbc
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       # GN version: //chrome/browser/ui/libgtk2ui
12       'target_name': 'gtk2ui',
13       'type': '<(component)',
14       'dependencies': [
15         '../../../../base/base.gyp:base',
16         '../../../../base/base.gyp:base_i18n',
17         '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
18         '../../../../build/linux/system.gyp:gconf',
19         '../../../../build/linux/system.gyp:gtk',
20         '../../../../build/linux/system.gyp:gtkprint',
21         '../../../../build/linux/system.gyp:x11',
22         '../../../../components/components_resources.gyp:components_resources',
23         '../../../../content/content.gyp:content',
24         '../../../../printing/printing.gyp:cups',
25         '../../../../printing/printing.gyp:printing',
26         '../../../../skia/skia.gyp:skia',
27         '../../../../ui/aura/aura.gyp:aura',
28         '../../../../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
29         '../../../../ui/base/ui_base.gyp:ui_base',
30         '../../../../ui/events/events.gyp:events',
31         '../../../../ui/events/events.gyp:events_base',
32         '../../../../ui/gfx/gfx.gyp:gfx',
33         '../../../../ui/gfx/x/gfx_x11.gyp:gfx_x11',
34         '../../../../ui/native_theme/native_theme.gyp:native_theme',
35         '../../../../ui/resources/ui_resources.gyp:ui_resources',
36         '../../../../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
37         '../../../../ui/strings/ui_strings.gyp:ui_strings',
38         '../../../../ui/views/views.gyp:views',
39         '../../../chrome_resources.gyp:chrome_extra_resources',
40         '../../../chrome_resources.gyp:chrome_resources',
41         '../../../chrome_resources.gyp:chrome_strings',
42         '../../../chrome_resources.gyp:theme_resources',
43       ],
44       'defines': [
45         'LIBGTK2UI_IMPLEMENTATION',
46       ],
47       # Several of our source files are named _gtk2.cc. This isn't to
48       # differentiate them from their source files (ninja and make are sane
49       # build systems, unlike MSVS). It is instead to get around the rest of
50       # the normal, global gtk exclusion rules, as we are otherwise using gtk
51       # in a non-gtk build.
52       'sources': [
53         # Note: sources list duplicated in GN build.
54         'app_indicator_icon.cc',
55         'app_indicator_icon.h',
56         'app_indicator_icon_menu.cc',
57         'app_indicator_icon_menu.h',
58         'chrome_gtk_frame.cc',
59         'chrome_gtk_frame.h',
60         'chrome_gtk_menu_subclasses.cc',
61         'chrome_gtk_menu_subclasses.h',
62         'g_object_destructor_filo.cc',
63         'g_object_destructor_filo.h',
64         'gconf_listener.cc',
65         'gconf_listener.h',
66         'gtk2_border.cc',
67         'gtk2_border.h',
68         'gtk2_event_loop.cc',
69         'gtk2_event_loop.h',
70         'gtk2_key_bindings_handler.cc',
71         'gtk2_key_bindings_handler.h',
72         'gtk2_signal_registrar.cc',
73         'gtk2_signal_registrar.h',
74         'gtk2_status_icon.cc',
75         'gtk2_status_icon.h',
76         'gtk2_ui.cc',
77         'gtk2_ui.h',
78         'gtk2_util.cc',
79         'gtk2_util.h',
80         'libgtk2ui_export.h',
81         'menu_util.cc',
82         'menu_util.h',
83         'native_theme_gtk2.cc',
84         'native_theme_gtk2.h',
85         'owned_widget_gtk2.cc',
86         'owned_widget_gtk2.h',
87         'print_dialog_gtk2.cc',
88         'print_dialog_gtk2.h',
89         'printing_gtk2_util.cc',
90         'printing_gtk2_util.h',
91         'select_file_dialog_impl.cc',
92         'select_file_dialog_impl.h',
93         'select_file_dialog_impl_gtk2.cc',
94         'select_file_dialog_impl_kde.cc',
95         'skia_utils_gtk2.cc',
96         'skia_utils_gtk2.h',
97         'unity_service.cc',
98         'unity_service.h',
99         'x11_input_method_context_impl_gtk2.cc',
100         'x11_input_method_context_impl_gtk2.h',
101       ],
102       'conditions': [
103         ['use_gconf==0', {
104           'sources!': [
105             'gconf_listener.cc',
106             'gconf_listener.h',
107           ],
108         }],
109         [ 'clang==1', {
110           'cflags': [
111             # G_DEFINE_TYPE automatically generates a *get_instance_private inline function after glib 2.37.
112             # That's unused. Prevent to complain about it.
113             '-Wno-unused-function',
115             # G_STATIC_ASSERT uses a typedef as a static_assert.
116             '-Wno-unused-local-typedef',
117           ],
118         }],
119       ],
120     },
121   ],