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/.
17 'nsIdleServiceQt.cpp',
20 'nsScreenManagerQt.cpp',
22 'nsWidgetFactory.cpp',
27 if CONFIG['NS_PRINTING']:
29 'nsDeviceContextSpecQt.cpp',
30 'nsPrintDialogQt.cpp',
31 'nsPrintOptionsQt.cpp',
32 'nsPrintSettingsQt.cpp',
35 include('/ipc/chromium/chromium-config.mozbuild')
49 #DEFINES['DEBUG_WIDGETS'] = True
51 if CONFIG['OS_ARCH'] == 'Linux':
52 DEFINES['_BSD_SOURCE'] = True
54 if CONFIG['OS_ARCH'] == 'SunOS' and not CONFIG['GNU_CC']:
55 # When using Sun's WorkShop compiler, including
56 # /wherever/workshop-5.0/SC5.0/include/CC/std/time.h
57 # causes most of these compiles to fail with:
58 # line 29: Error: Multiple declaration for std::tm.
59 # So, this gets around the problem.
60 DEFINES['_TIME_H'] = 1
62 CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']
63 CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
64 CFLAGS += CONFIG['MOZ_QT_CFLAGS']
65 CFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']