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
|
// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
rust_library {
name: "libshared_library",
host_supported: true,
crate_name: "shared_library",
cargo_env_compat: true,
cargo_pkg_version: "0.1.9",
srcs: ["src/lib.rs"],
edition: "2015",
rustlibs: [
"liblazy_static",
"liblibc",
],
}
rust_defaults {
name: "shared_library_test_defaults",
crate_name: "shared_library",
srcs: ["src/lib.rs"],
cargo_env_compat: true,
cargo_pkg_version: "0.1.9",
test_suites: ["general-tests"],
auto_gen_config: true,
edition: "2015",
rustlibs: [
"liblazy_static",
"liblibc",
],
}
rust_test_host {
name: "shared_library_host_test_src_lib",
defaults: ["shared_library_test_defaults"],
// Manually disabled as these tests depend on specific graphics libraries
// being available on the machine running the tests.
test_options: {
unit_test: false,
},
}
rust_test {
name: "shared_library_device_test_src_lib",
defaults: ["shared_library_test_defaults"],
}
|