Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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_WIDGET_GTK'] and CONFIG['MOZ_X11']:
8 PROGRAM = 'screentopng'
9 SOURCES += [
10 'gdk-screenshot.cpp',
11 ]
12 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
13 PROGRAM = 'screenshot'
14 SOURCES += [
15 'win32-screenshot.cpp',
16 ]
17 USE_STATIC_LIBS = True
18 if CONFIG['GNU_CC']:
19 WIN32_EXE_LDFLAGS += ['-municode']