Revision control
Copy as Markdown
# -*- 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
# Note that this crate, when used in app-services, directly creates the cdylib.
# However, in moz-central it builds a staticlib. A new target in `../fenix-dylib`
# takes this as a dep and creates the final cdylib.
USE_LIBS += ["nss"]
UNIFIED_SOURCES += [
"stub.cpp",
]
# This is the name of the .a file created.
RustLibrary("megazord")
# XXX - this doesn't really work - the tests fail due to missing `nss3`?
RUST_TESTS = [
"megazord",
]