memory/volatile/moz.build
author Seth Fowler <seth@mozilla.com>
Fri, 16 Jan 2015 15:47:22 -0800
changeset 251459 e10a79c4ac9f40ac9556e7ef88a60a9da9587613
parent 251454 memory/mozalloc/moz.build@a7b0fe4de1036d6e55f7918883d2359fbbeb3224
child 292691 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
permissions -rw-r--r--
Bug 1121297 (Part 1) - Move VolatileBuffer into libxul. r=glandium

# -*- 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