devtools/shim/moz.build
author Gregory Szorc <gps@mozilla.com>
Mon, 13 Nov 2017 17:31:14 -0800
changeset 698520 b38078581bddf454c3901ed22620bff4ed6c32f6
parent 679973 d2365ea174e98e10f89cc60269d291a13d40a39a
child 701492 2f62860adcb03459bcf34c46c4d880630b54ebef
permissions -rw-r--r--
Bug 1417264 - Write objdir .mozconfig from Python; r?build This is a pretty straightforward port of the logic. But we even go a step further: we delete the file in the objdir if there is no source mozconfig! MozReview-Commit-ID: AHFFzy6mXRY

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

JAR_MANIFESTS += ['jar.mn']

JS_PREFERENCE_PP_FILES += [
    'devtools-startup-prefs.js',
]

# Register the about:debugging page only for 'addon' and 'all' builds.
if CONFIG['MOZ_DEVTOOLS'] != 'server':
    EXTRA_COMPONENTS += [
        'aboutdebugging-registration.js',
        'aboutdebugging.manifest',
        'devtools-startup.js',
        'devtools-startup.manifest',
    ]

    DIRS += [
      'aboutdevtools',
      'locales',
    ]

XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']