Having these definitions in two different places is silly, especially when they must be identical. If they ever got out of sync, there would be problems.
23 lines
686 B
Python
23 lines
686 B
Python
# -*- Mode: python; c-basic-offset: 4; 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/.
|
|
|
|
gkrust_features = []
|
|
if CONFIG['MOZ_STYLO']:
|
|
gkrust_features += ['servo']
|
|
|
|
if CONFIG['MOZ_STYLO_BINDGEN']:
|
|
gkrust_features += ['bindgen']
|
|
|
|
if CONFIG['MOZ_DEBUG']:
|
|
gkrust_features += ['gecko_debug']
|
|
|
|
if CONFIG['MOZ_BUILD_WEBRENDER']:
|
|
gkrust_features += ['quantum_render']
|
|
|
|
if CONFIG['MOZ_PULSEAUDIO']:
|
|
gkrust_features += ['cubeb_pulse_rust']
|
|
|