blob: ce311f6da45dac6115d9e11615dfc94b05775208 [file] [log] [blame]
// This file is generated by cargo2android.py --device --run --tests.
// Do not modify this file as changes will be overridden on upgrade.
package {
default_applicable_licenses: ["external_rust_crates_gdbstub_arch_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "external_rust_crates_gdbstub_arch_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-MIT",
],
license_text: [
"LICENSE",
],
}
rust_defaults {
name: "gdbstub_arch_defaults",
crate_name: "gdbstub_arch",
srcs: ["src/lib.rs"],
test_suites: ["general-tests"],
auto_gen_config: true,
edition: "2018",
rustlibs: [
"libgdbstub",
"libnum_traits",
],
}
rust_test_host {
name: "gdbstub_arch_host_test_src_lib",
defaults: ["gdbstub_arch_defaults"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "gdbstub_arch_device_test_src_lib",
defaults: ["gdbstub_arch_defaults"],
}
rust_library {
name: "libgdbstub_arch",
host_supported: true,
crate_name: "gdbstub_arch",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
"libgdbstub",
"libnum_traits",
],
}