xref: /aosp_15_r20/development/tools/cargo_embargo/testdata/rustc-demangle-capi/expected_Android.bp (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5default_applicable_licenses: ["external_rust_crates_rustc-demangle-capi_license"],
6default_team: "trendy_team_android_rust",
7}
8
9license {
10name: "external_rust_crates_rustc-demangle-capi_license",
11visibility: [":__subpackages__"],
12license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13license_text: ["LICENSE"],
14}
15
16rust_ffi_static {
17name: "librustc_demangle_static",
18host_supported: true,
19crate_name: "rustc_demangle",
20cargo_env_compat: true,
21cargo_pkg_version: "0.1.0",
22crate_root: "src/lib.rs",
23edition: "2015",
24rustlibs: ["librustc_demangle"],
25include_dirs: ["include"],
26apex_available: ["//apex_available:platform", "com.android.runtime", "com.android.art.debug", "com.android.art"],
27native_bridge_supported: true,
28product_available: true,
29recovery_available: true,
30vendor_available: true,
31vendor_ramdisk_available: true,
32ramdisk_available: true,
33min_sdk_version: "S",
34}
35
36rust_test {
37name: "rustc-demangle-capi_test_src_lib",
38host_supported: true,
39crate_name: "rustc_demangle",
40cargo_env_compat: true,
41cargo_pkg_version: "0.1.0",
42crate_root: "src/lib.rs",
43test_suites: ["general-tests"],
44auto_gen_config: true,
45test_options: {
46unit_test: true,
47},
48edition: "2015",
49rustlibs: ["librustc_demangle"],
50}
51
52