dom/datastore/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Sat, 23 Jan 2016 11:40:24 -0800
changeset 281396 1378b39a9085890ce142e6933ebd50b6537f4ec5
parent 266789 9adede8793f210cac0c17c5a63a4684d8dd9625f
permissions -rw-r--r--
Bug 1242074 - Avoid going back and forth between FasterMake and RecursiveMake; r=gps FasterMake needs some RecursiveMake install manifests to have been processed before doing its work, so we can actually end up processing them twice because of the going back and forth from FasterMake in the hybrid build system. Set the dependency at the RecursiveMake level when doing an hybrid 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'

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wshadow']