toolkit/components/featuregates/moz.build
author Mike Cooper <mcooper@mozilla.com>
Wed, 09 Jan 2019 16:15:59 +0000
changeset 510226 7e107869b00d7ccc5051809d6839be6e98cc4165
permissions -rw-r--r--
Bug 1479127 - Add featuregate library r=mossop,firefox-build-system-reviewers,mshal Differential Revision: https://phabricator.services.mozilla.com/D5175

# -*- 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 = ('Toolkit', 'General')

SPHINX_TREES['featuregates'] = 'docs'

XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
PYTHON_UNITTEST_MANIFESTS += ['test/python/python.ini']

JAR_MANIFESTS += ['jar.mn']

GENERATED_FILES = [
    'feature_definitions.json',
]

feature_files = ['Features.toml']

feature_defs = GENERATED_FILES['feature_definitions.json']
feature_defs.script = 'gen_feature_definitions.py'
feature_defs.inputs = feature_files