summaryrefslogtreecommitdiffstats
path: root/python/mozbuild/mozbuild/backend/cargo_build_defs.py
blob: c60fd2abf69f952d19757c4e674ce5e9cb38bf4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
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"],
}