summaryrefslogtreecommitdiffstats
path: root/python/mozbuild/mozbuild/backend/cargo_build_defs.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mozbuild/mozbuild/backend/cargo_build_defs.py')
-rw-r--r--python/mozbuild/mozbuild/backend/cargo_build_defs.py87
1 files changed, 87 insertions, 0 deletions
diff --git a/python/mozbuild/mozbuild/backend/cargo_build_defs.py b/python/mozbuild/mozbuild/backend/cargo_build_defs.py
new file mode 100644
index 0000000000..c60fd2abf6
--- /dev/null
+++ b/python/mozbuild/mozbuild/backend/cargo_build_defs.py
@@ -0,0 +1,87 @@
+# 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/.
+
+cargo_extra_outputs = {
+ "bindgen": ["tests.rs", "host-target.txt"],
+ "cssparser": ["tokenizer.rs"],
+ "gleam": ["gl_and_gles_bindings.rs", "gl_bindings.rs", "gles_bindings.rs"],
+ "khronos_api": ["webgl_exts.rs"],
+ "libloading": ["libglobal_static.a", "src/os/unix/global_static.o"],
+ "lmdb-sys": ["liblmdb.a", "midl.o", "mdb.o"],
+ "num-integer": ["rust_out.o"],
+ "num-traits": ["rust_out.o"],
+ "selectors": ["ascii_case_insensitive_html_attributes.rs"],
+ "style": [
+ "gecko/atom_macro.rs",
+ "gecko/bindings.rs",
+ "gecko/pseudo_element_definition.rs",
+ "gecko/structs.rs",
+ "gecko_properties.rs",
+ "longhands/background.rs",
+ "longhands/border.rs",
+ "longhands/box.rs",
+ "longhands/color.rs",
+ "longhands/column.rs",
+ "longhands/counters.rs",
+ "longhands/effects.rs",
+ "longhands/font.rs",
+ "longhands/inherited_box.rs",
+ "longhands/inherited_svg.rs",
+ "longhands/inherited_table.rs",
+ "longhands/inherited_text.rs",
+ "longhands/inherited_ui.rs",
+ "longhands/list.rs",
+ "longhands/margin.rs",
+ "longhands/outline.rs",
+ "longhands/padding.rs",
+ "longhands/position.rs",
+ "longhands/svg.rs",
+ "longhands/table.rs",
+ "longhands/text.rs",
+ "longhands/ui.rs",
+ "longhands/xul.rs",
+ "properties.rs",
+ "shorthands/background.rs",
+ "shorthands/border.rs",
+ "shorthands/box.rs",
+ "shorthands/color.rs",
+ "shorthands/column.rs",
+ "shorthands/counters.rs",
+ "shorthands/effects.rs",
+ "shorthands/font.rs",
+ "shorthands/inherited_box.rs",
+ "shorthands/inherited_svg.rs",
+ "shorthands/inherited_table.rs",
+ "shorthands/inherited_text.rs",
+ "shorthands/inherited_ui.rs",
+ "shorthands/list.rs",
+ "shorthands/margin.rs",
+ "shorthands/outline.rs",
+ "shorthands/padding.rs",
+ "shorthands/position.rs",
+ "shorthands/svg.rs",
+ "shorthands/table.rs",
+ "shorthands/text.rs",
+ "shorthands/ui.rs",
+ "shorthands/xul.rs",
+ ],
+ "webrender": ["shaders.rs"],
+ "geckodriver": ["build-info.rs"],
+ "gecko-profiler": ["gecko/bindings.rs"],
+ "crc": ["crc64_constants.rs", "crc32_constants.rs"],
+ "bzip2-sys": [
+ "bzip2-1.0.6/blocksort.o",
+ "bzip2-1.0.6/bzlib.o",
+ "bzip2-1.0.6/compress.o",
+ "bzip2-1.0.6/crctable.o",
+ "bzip2-1.0.6/decompress.o",
+ "bzip2-1.0.6/huffman.o",
+ "bzip2-1.0.6/randtable.o",
+ "libbz2.a",
+ ],
+ "clang-sys": ["common.rs", "dynamic.rs"],
+ "target-lexicon": ["host.rs"],
+ "baldrdash": ["bindings.rs"],
+ "typenum": ["op.rs", "consts.rs"],
+}