toolkit/library/rust/moz.build
author nfroyd@mozilla.com <nfroyd@mozilla.com>
Fri, 20 Jan 2017 16:33:04 +0000
changeset 375373 b356280b20663fd0523ce7b62cde1fd4f3f5438d
parent 349363 4b71272c92cf52dfcb7dff8f6867136e05585a99
child 378969 0a3070e1d23cc751ee485c1d83cd3808fe4b4fc1
permissions -rw-r--r--
Bug 1302028 - part 7 - conditionally add bindgen features to gkrust* libraries; r=gps

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

features = []
if CONFIG['MOZ_STYLO'] and CONFIG['MOZ_STYLO_BINDGEN']:
    features += ['bindgen']

RustLibrary('gkrust', features)