testing/tools/screenshot/moz.build

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:9a8f51f686a4
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/.
6
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']

mercurial