2013-10-02 21:27:07 +04:00
|
|
|
# -*- 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 += [
|
2014-06-03 18:36:46 +04:00
|
|
|
'nsIDataStore.idl',
|
2013-10-02 21:27:07 +04:00
|
|
|
'nsIDataStoreService.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'dom_datastore'
|
|
|
|
|
2013-12-20 12:17:49 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'DataStore.h',
|
|
|
|
'DataStoreCursor.h',
|
2014-06-03 18:36:46 +04:00
|
|
|
'DataStoreService.h',
|
2013-12-20 12:17:49 +04:00
|
|
|
]
|
|
|
|
|
2014-09-25 18:12:06 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-12-20 12:17:49 +04:00
|
|
|
'DataStore.cpp',
|
|
|
|
'DataStoreCursor.cpp',
|
2014-06-03 18:36:46 +04:00
|
|
|
'DataStoreDB.cpp',
|
|
|
|
'DataStoreRevision.cpp',
|
|
|
|
'DataStoreService.cpp',
|
2013-12-20 12:17:49 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/js/xpconnect/wrappers',
|
|
|
|
]
|
|
|
|
|
2013-10-02 21:27:07 +04:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'DataStore.manifest',
|
2014-06-03 18:36:46 +04:00
|
|
|
'DataStoreImpl.js',
|
2013-10-02 21:27:07 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXTRA_JS_MODULES += [
|
2013-10-02 21:27:15 +04:00
|
|
|
'DataStoreChangeNotifier.jsm',
|
2013-12-20 12:17:49 +04:00
|
|
|
'DataStoreCursorImpl.jsm',
|
2013-10-02 21:27:09 +04:00
|
|
|
'DataStoreDB.jsm',
|
2013-10-02 21:27:07 +04:00
|
|
|
]
|
2013-10-04 21:08:28 +04:00
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
2013-12-20 12:17:49 +04:00
|
|
|
|
2014-06-03 18:36:46 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-12-20 12:17:49 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2015-10-02 09:37:25 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wshadow']
|