michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: if CONFIG['MOZ_WIDGET_GTK'] and CONFIG['MOZ_X11']: michael@0: PROGRAM = 'screentopng' michael@0: SOURCES += [ michael@0: 'gdk-screenshot.cpp', michael@0: ] michael@0: elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': michael@0: PROGRAM = 'screenshot' michael@0: SOURCES += [ michael@0: 'win32-screenshot.cpp', michael@0: ] michael@0: USE_STATIC_LIBS = True michael@0: if CONFIG['GNU_CC']: michael@0: WIN32_EXE_LDFLAGS += ['-municode']