1[package]
2name = "gkrust-gtest"
3version = "0.1.0"
4authors = ["nobody@mozilla.org"]
5license = "MPL-2.0"
6description = "Testing code for libgkrust"
7
8[features]
9cubeb-remoting = ["gkrust-shared/cubeb-remoting"]
10cubeb_coreaudio_rust = ["gkrust-shared/cubeb_coreaudio_rust"]
11cubeb_pulse_rust = ["gkrust-shared/cubeb_pulse_rust"]
12gecko_debug = ["gkrust-shared/gecko_debug"]
13gecko_refcount_logging = ["gkrust-shared/gecko_refcount_logging"]
14simd-accel = ["gkrust-shared/simd-accel"]
15moz_memory = ["mozglue-static/moz_memory"]
16moz_places = ["gkrust-shared/moz_places"]
17spidermonkey_rust = ["gkrust-shared/spidermonkey_rust"]
18cranelift_x86 = ["gkrust-shared/cranelift_x86"]
19cranelift_arm32 = ["gkrust-shared/cranelift_arm32"]
20cranelift_arm64 = ["gkrust-shared/cranelift_arm64"]
21cranelift_none = ["gkrust-shared/cranelift_none"]
22smoosh = ["gkrust-shared/smoosh"]
23gecko_profiler = ["gkrust-shared/gecko_profiler"]
24gecko_profiler_parse_elf = ["gkrust-shared/gecko_profiler_parse_elf"]
25bitsdownload = ["gkrust-shared/bitsdownload"]
26new_xulstore = ["gkrust-shared/new_xulstore"]
27libfuzzer = ["gkrust-shared/libfuzzer", "gecko-fuzz-targets"]
28webrtc = ["gkrust-shared/webrtc"]
29glean_disable_upload = ["gkrust-shared/glean_disable_upload"]
30glean_with_gecko = ["gkrust-shared/glean_with_gecko"]
31with_dbus = ["gkrust-shared/with_dbus"]
32thread_sanitizer = ["gkrust-shared/thread_sanitizer"]
33oxidized_breakpad = ["gkrust-shared/oxidized_breakpad"]
34webmidi_midir_impl = ["gkrust-shared/webmidi_midir_impl"]
35
36[dependencies]
37bench-collections-gtest = { path = "../../../../xpcom/rust/gtest/bench-collections" }
38l10nregistry-ffi-gtest = { path = "../../../../intl/l10n/rust/gtest" }
39moz_task-gtest = { path = "../../../../xpcom/rust/gtest/moz_task" }
40mp4parse-gtest = { path = "../../../../dom/media/gtest" }
41nsstring-gtest = { path = "../../../../xpcom/rust/gtest/nsstring" }
42xpcom-gtest = { path = "../../../../xpcom/rust/gtest/xpcom" }
43gkrust-shared = { path = "../../rust/shared" }
44gecko-fuzz-targets = { path = "../../../../tools/fuzzing/rust", optional = true }
45fog-gtest = { path = "../../../components/glean/tests/gtest" }
46
47# Workarounds for https://github.com/rust-lang/rust/issues/58393
48mozglue-static = { path = "../../../../mozglue/static/rust" }
49swgl = { path = "../../../../gfx/wr/swgl" }
50lmdb-rkv-sys = "0.11"
51
52[lib]
53path = "lib.rs"
54crate-type = ["staticlib"]
55test = false
56doctest = false
57bench = false
58doc = false
59plugin = false
60harness = false
61