summaryrefslogtreecommitdiff
path: root/tools/cargo_embargo/testdata/rustc-demangle-capi/expected_Android.bp
blob: b2f3169cc435a44fe373e3e58b44dc2afccd2dcd (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
rust_ffi_static {
name: "librustc_demangle_static",
host_supported: true,
crate_name: "rustc_demangle",
cargo_env_compat: true,
cargo_pkg_version: "0.1.0",
srcs: ["src/lib.rs"],
edition: "2015",
rustlibs: ["librustc_demangle"],
include_dirs: ["include"],
apex_available: ["//apex_available:platform", "com.android.runtime", "com.android.art.debug", "com.android.art"],
native_bridge_supported: true,
product_available: true,
recovery_available: true,
vendor_available: true,
vendor_ramdisk_available: true,
ramdisk_available: true,
min_sdk_version: "S",
}

rust_test {
name: "rustc-demangle-capi_test_src_lib",
host_supported: true,
crate_name: "rustc_demangle",
cargo_env_compat: true,
cargo_pkg_version: "0.1.0",
srcs: ["src/lib.rs"],
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
unit_test: true,
},
edition: "2015",
rustlibs: ["librustc_demangle"],
}