memory/volatile/moz.build
author David Anderson <danderson@mozilla.com>
Mon, 13 Jul 2015 01:12:41 -0700
changeset 271558 14c05809ab37e2c6795ee4321859c22505065f9a
parent 238781 e10a79c4ac9f40ac9556e7ef88a60a9da9587613
child 280013 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
permissions -rw-r--r--
Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm)

# -*- 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/.
NO_VISIBILITY_FLAGS = True

EXPORTS.mozilla += [
    'VolatileBuffer.h',
]

if CONFIG['OS_TARGET'] == 'Android':
    UNIFIED_SOURCES += [
        'VolatileBufferAshmem.cpp',
    ]
elif CONFIG['OS_TARGET'] == 'Darwin':
    UNIFIED_SOURCES += [
        'VolatileBufferOSX.cpp',
    ]
elif CONFIG['OS_TARGET'] == 'WINNT':
    UNIFIED_SOURCES += [
        'VolatileBufferWindows.cpp',
    ]
else:
    UNIFIED_SOURCES += [
        'VolatileBufferFallback.cpp',
    ]

FINAL_LIBRARY = 'xul'

TEST_DIRS += ['tests']

FAIL_ON_WARNINGS = True