1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 # This library is entirely composed of Rust code, and needs to come after
12 # all the C++ code so any possible C++ -> Rust calls can be resolved.
13 USE_LIBS += ["gkrust"]
17 if CONFIG["COMPILE_ENVIRONMENT"]:
18 if CONFIG["MOZ_WIDGET_TOOLKIT"] in ("cocoa", "uikit"):
19 full_libname = SHARED_LIBRARY_NAME
21 full_libname = "%s%s%s" % (
28 "dependentlibs.list.gtest",
29 script="dependentlibs.py",
30 entry_point="gen_list",
31 inputs=["!%s" % full_libname],
33 FINAL_TARGET_FILES += ["!dependentlibs.list", "!dependentlibs.list.gtest"]