1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 if CONFIG['MOZ_ENABLE_GTK3']:
18 'NativeKeyBindings.cpp',
23 'nsImageToPixbuf.cpp',
25 'nsNativeThemeGTK.cpp',
27 'nsScreenManagerGtk.cpp',
30 'WakeLockListener.cpp',
31 'WidgetTraceEvent.cpp',
34 # These files force-enable NSPR logging and thus cannot be built in unified mode
38 'nsWidgetFactory.cpp',
44 'nsIdleServiceGTK.cpp',
47 if CONFIG['NS_PRINTING']:
51 'nsPrintDialogGTK.cpp',
52 'nsPrintOptionsGTK.cpp',
53 'nsPrintSettingsGTK.cpp',
56 # This file force-enables NSPR logging and thus cannot be built in unified mode
58 'nsDeviceContextSpecG.cpp',
65 # This file force-enables NSPR logging and thus cannot be built in unified mode
70 FAIL_ON_WARNINGS = True
72 if CONFIG['ACCESSIBILITY']:
74 'maiRedundantObjectFactory.c',
77 if CONFIG['MOZ_ENABLE_GTK2']:
86 include('/ipc/chromium/chromium-config.mozbuild')
95 '/other-licenses/atk-1.0',
103 DEFINES['CAIRO_GFX'] = True
105 DEFINES['MOZ_APP_NAME'] = '"%s"' % CONFIG['MOZ_APP_NAME']
107 CFLAGS += CONFIG['MOZ_STARTUP_NOTIFICATION_CFLAGS']
108 CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
109 CXXFLAGS += CONFIG['MOZ_STARTUP_NOTIFICATION_CFLAGS']
111 CFLAGS += CONFIG['TK_CFLAGS']
112 CXXFLAGS += CONFIG['TK_CFLAGS']
114 if CONFIG['MOZ_ENABLE_DBUS']:
115 CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']