tools/moz.build
author Jed Davis <jld@mozilla.com>
Thu, 15 Feb 2018 16:10:00 -0700
changeset 404702 d853ce9b3dd3e2d4ac66c6e12b6ed2425513b91a
parent 403021 8a9ea2c5c940fd27782a71443cbee091648c923f
child 408557 ebc10f1dd72278b794b4dc7ee34d1811e4daff0f
permissions -rw-r--r--
Bug 1438389 - Quietly disallow chown() in sandboxed content processes. r=gcp Also covers fchownat() and attempts to be ready for newer archs like ARM64. Bonus fix: extend bug 1354731 (mknod) fix to cover mknodat so this part of the policy isn't glaringly inconsistent about "at" syscalls. Tested locally by attaching gdb and injecting syscalls. MozReview-Commit-ID: CCOk0jZVoG4

# -*- 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", "General")

with Files("code-coverage/**"):
    BUG_COMPONENT = ("Testing", "Code Coverage")

with Files("compare-locales/docs/**"):
    BUG_COMPONENT = ('Mozilla Localizations', 'Documentation')

with Files("compare-locales/mach_commands.py"):
    BUG_COMPONENT = ("Localization Infrastructure and Tools", "compare-locales")

with Files("coverity/**"):
    BUG_COMPONENT = ("Core", "Rewriting and Analysis")

with Files("docs/**"):
    BUG_COMPONENT = ("Core", "Build Config")
    SCHEDULES.exclusive = ['docs']

with Files("lint/**"):
    BUG_COMPONENT = ("Testing", "Lint")

with Files("profiler/**"):
    BUG_COMPONENT = ("Core", "Gecko Profiler")

with Files("quitter/**"):
    BUG_COMPONENT = ("Testing", "General")

with Files("rb/**"):
    BUG_COMPONENT = ("Core", "XPCOM")

with Files("rewriting/**"):
    BUG_COMPONENT = ("Core", "Rewriting and Analysis")

with Files("tryselect/**"):
    BUG_COMPONENT = ("Testing", "General")

with Files("update-packaging/**"):
    BUG_COMPONENT = ("Release Engineering", "Other")

SPHINX_TREES['lint'] = 'lint/docs'

with Files('lint/docs/**'):
    SCHEDULES.exclusive = ['docs']

SPHINX_TREES['compare-locales'] = 'compare-locales/docs'

with Files('compare-locales/docs/**'):
    SCHEDULES.exclusive = ['docs']

SPHINX_TREES['try'] = 'tryselect/docs'

with Files('tryselect/docs/**'):
    SCHEDULES.exclusive = ['docs']

CRAMTEST_MANIFESTS += [
    'tryselect/test/cram.ini',
]

PYTHON_UNITTEST_MANIFESTS += [
    'tryselect/test/python.ini',
]