dom/simpledb/moz.build
author John Dai <jdai@mozilla.com>
Tue, 26 Mar 2019 15:19:56 +0000
changeset 466115 06a189e6b675149d77a254e6e4678c9c898d3158
parent 432383 dee7aef26593f4b69163677b5cddfc7a971e323b
permissions -rw-r--r--
Bug 1523982 - Part 3: Don't raise an error in observe if creation of our actor was vetoed, r=nika Depends on D24204 Differential Revision: https://phabricator.services.mozilla.com/D24205

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

XPIDL_SOURCES += [
    'nsISDBCallbacks.idl',
    'nsISDBConnection.idl',
    'nsISDBRequest.idl',
    'nsISDBResults.idl',
]

XPIDL_MODULE = 'dom_simpledb'

EXPORTS.mozilla.dom.simpledb += [
    'ActorsParent.h',
]

EXPORTS.mozilla.dom += [
    'SDBConnection.h',
]

UNIFIED_SOURCES += [
    'ActorsChild.cpp',
    'ActorsParent.cpp',
    'SDBConnection.cpp',
    'SDBRequest.cpp',
    'SDBResults.cpp',
    'SimpleDBCommon.cpp',
]

IPDL_SOURCES += [
    'PBackgroundSDBConnection.ipdl',
    'PBackgroundSDBRequest.ipdl',
]

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

FINAL_LIBRARY = 'xul'

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wno-error=shadow']