testing/tools/screenshot/moz.build
author Phil Ringnalda <philringnalda@gmail.com>
Sun, 18 Jan 2015 19:53:21 -0800
changeset 224464 13834f7f5c6c1d69ce32c709f9d4418b015e26c8
parent 220274 ce7402c3a5a205dcff32b9e375ecd8ed25029b1f
child 260030 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
permissions -rw-r--r--
Bug 788999 followup, reenable test_fileapi_slice.html on OS X 10.8 since whatever caused it to hang two years ago seems to be gone

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

if CONFIG['MOZ_WIDGET_GTK'] and CONFIG['MOZ_X11']:
    Program('screentopng')
    SOURCES += [
        'gdk-screenshot.cpp',
    ]
    CXXFLAGS += CONFIG['TK_CFLAGS']
    OS_LIBS += CONFIG['TK_LIBS']
    OS_LIBS += CONFIG['XSS_LIBS']
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    Program('screenshot')
    SOURCES += [
        'win32-screenshot.cpp',
    ]
    USE_STATIC_LIBS = True
    if CONFIG['GNU_CC']:
        WIN32_EXE_LDFLAGS += ['-municode']
    OS_LIBS += [
        'gdiplus',
    ]

FAIL_ON_WARNINGS = True