dom/storage/moz.build
author Nicholas Nethercote <nnethercote@mozilla.com>
Thu, 01 Sep 2016 15:01:16 +1000
changeset 312356 93657f8dedaafa384bcd49c71b52e195ec968de8
parent 306187 3ec6380fca8207fa199693206a3ca24975bf9833
child 327892 5c83df4b3e89a3727c09530d82222e69dd6299c5
permissions -rw-r--r--
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. The new name makes the sense of the condition much clearer. E.g. compare: NS_WARN_IF_FALSE(!rv.Failed()); with: NS_WARNING_ASSERTION(!rv.Failed()); The new name also makes it clearer that it only has effect in debug builds, because that's standard for assertions.

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

EXPORTS.mozilla.dom += [
    'DOMStorage.h',
    'DOMStorageIPC.h',
]

UNIFIED_SOURCES += [
    'DOMStorage.cpp',
    'DOMStorageCache.cpp',
    'DOMStorageDBThread.cpp',
    'DOMStorageDBUpdater.cpp',
    'DOMStorageIPC.cpp',
    'DOMStorageManager.cpp',
    'DOMStorageObserver.cpp',
]

IPDL_SOURCES += [
    'PStorage.ipdl',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
    '/dom/base',
]

if CONFIG['ENABLE_TESTS']:
    DEFINES['DOM_STORAGE_TESTS'] = True