Bug 1690340 - Part 2: Use the new naming for the developer tools menu items. r=jdescottes
[gecko.git] / toolkit / library / build / moz.build
blob24c7822b5a9688b0c63a431fe4237520bc41da6d
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/.
7 USE_LIBS += [
8     "static:xul",
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"]
15 Libxul("xul-real")
17 if CONFIG["COMPILE_ENVIRONMENT"]:
18     if CONFIG["MOZ_WIDGET_TOOLKIT"] in ("cocoa", "uikit"):
19         full_libname = SHARED_LIBRARY_NAME
20     else:
21         full_libname = "%s%s%s" % (
22             CONFIG["DLL_PREFIX"],
23             SHARED_LIBRARY_NAME,
24             CONFIG["DLL_SUFFIX"],
25         )
26     GeneratedFile(
27         "dependentlibs.list",
28         "dependentlibs.list.gtest",
29         script="dependentlibs.py",
30         entry_point="gen_list",
31         inputs=["!%s" % full_libname],
32     )
33     FINAL_TARGET_FILES += ["!dependentlibs.list", "!dependentlibs.list.gtest"]