https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 37fd0b11fb1e59ae2d1c0bc5b4e7bf033ff7d11c authored by ffxbld on 05 June 2015, 16:40:03 UTC
Added FIREFOX_38_0_6_RELEASE FIREFOX_38_0_6_BUILD1 tag(s) for changeset 76f8f33b6577. DONTBUILD CLOSED TREE a=release
Tip revision: 37fd0b1
moz.build
# -*- 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/.

XPIDL_SOURCES += [
    'nsIDataStore.idl',
    'nsIDataStoreService.idl',
]

XPIDL_MODULE = 'dom_datastore'

EXPORTS.mozilla.dom += [
    'DataStore.h',
    'DataStoreCursor.h',
    'DataStoreService.h',
]

UNIFIED_SOURCES += [
    'DataStore.cpp',
    'DataStoreCursor.cpp',
    'DataStoreDB.cpp',
    'DataStoreRevision.cpp',
    'DataStoreService.cpp',
]

LOCAL_INCLUDES += [
    '/js/xpconnect/wrappers',
]

EXTRA_COMPONENTS += [
    'DataStore.manifest',
    'DataStoreImpl.js',
]

EXTRA_JS_MODULES += [
    'DataStoreChangeNotifier.jsm',
    'DataStoreCursorImpl.jsm',
    'DataStoreDB.jsm',
]

MOCHITEST_MANIFESTS += ['tests/mochitest.ini']

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

FINAL_LIBRARY = 'xul'
FAIL_ON_WARNINGS = True
back to top