memory/volatile/moz.build
author Jean-Yves Avenard <jyavenard@mozilla.com>
Wed, 06 Dec 2017 14:59:35 +0100
changeset 447114 5d1f0d1c29a44e4d148cb32a19f91406f9bc808a
parent 429624 2de74e37233164513adc7145871ea56b3fb76166
permissions -rw-r--r--
Bug 1423565 - Update tasks.json as per documentation. r=rillian Most of the keywords used were deprecated and following versioning 0.1.0 even though it was marked as version 2.0.0. This also defines build-binaries as the default task, so that Command-Shift-B doesn't need any confirmation. MozReview-Commit-ID: UGDxqJYaFs

# -*- Mode: python; 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/.
NoVisibilityFlags()

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']