This is no longer necessary as static linkage in Rust has been fixed. Bug: 254469782 Test: m aconfig_storage_write_api.test.cpp Change-Id: I6b8b36882aa521eb0412fb7da03a5eec94df81d4
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
rust_test {
|
|
name: "aconfig_storage_write_api.test.rust",
|
|
srcs: [
|
|
"storage_write_api_test.rs",
|
|
],
|
|
rustlibs: [
|
|
"libanyhow",
|
|
"libaconfig_storage_file",
|
|
"libaconfig_storage_read_api",
|
|
"libaconfig_storage_write_api",
|
|
"libprotobuf",
|
|
"libtempfile",
|
|
],
|
|
data: [
|
|
"flag.val",
|
|
"flag.info",
|
|
],
|
|
test_suites: ["general-tests"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "aconfig_storage_write_api.test.cpp",
|
|
srcs: [
|
|
"storage_write_api_test.cpp",
|
|
],
|
|
static_libs: [
|
|
"libgmock",
|
|
"libaconfig_storage_read_api_cc",
|
|
"libaconfig_storage_write_api_cc",
|
|
"libbase",
|
|
"liblog",
|
|
],
|
|
data: [
|
|
"flag.val",
|
|
"flag.info",
|
|
],
|
|
test_suites: [
|
|
"device-tests",
|
|
"general-tests",
|
|
],
|
|
generated_headers: [
|
|
"cxx-bridge-header",
|
|
"libcxx_aconfig_storage_read_api_bridge_header",
|
|
],
|
|
generated_sources: ["libcxx_aconfig_storage_read_api_bridge_code"],
|
|
whole_static_libs: ["libaconfig_storage_read_api_cxx_bridge"],
|
|
}
|