dom/commandhandler/moz.build
author Masayuki Nakano <masayuki@d-toybox.com>
Tue, 10 Jul 2018 18:48:43 +0900
changeset 426458 da27408845b366b1547d27539f23cd25936c4980
parent 341072 c373084a5a579a5e01cb417fd895761472a7ddae
child 434721 0d854c7e08bdf3e672067bee7245aabe2543f686
permissions -rw-r--r--
Bug 1450882 - part 3: Create non-virtual methods to nsCommandParams and expose its header r=Ehsan nsCommandParams is used internally but accessed via nsICommandParams. For such internal users, nsCommandParams should have non-virtual methods to get/set values. The new method names are similar to Preferences API for consistency with it. MozReview-Commit-ID: FJwWMFzV9w

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

with Files("**"):
    BUG_COMPONENT = ("Core", "Embedding: APIs")

EXPORTS += [
    'nsCommandParams.h',
]

XPIDL_SOURCES += [
    'nsICommandManager.idl',
    'nsICommandParams.idl',
    'nsIControllerCommand.idl',
    'nsIControllerCommandTable.idl',
    'nsIControllerContext.idl',
    'nsPICommandUpdater.idl',
]

XPIDL_MODULE = 'commandhandler'

UNIFIED_SOURCES += [
    'nsBaseCommandController.cpp',
    'nsCommandGroup.cpp',
    'nsCommandManager.cpp',
    'nsCommandParams.cpp',
    'nsControllerCommandTable.cpp',
]

FINAL_LIBRARY = 'xul'