61d8c5a799
Current aconfig_storage_file crate contains two things: 1, aconfig storage file definition (which is used by aconfig crate for storage file creation) and 2, flag storage file read api. With this change, we are splitting 2 into its own crate aconfig_storage_read_api In the long run, there will be 3 crates for aconfig_storage 1, aconfig_storage_file It contains aconfig storage file definition, as well as a binary to help print/dump aconfig storage binary files into some readable format. 2, aconfig_storage_read_api This crate contains flag read apis. This crate depends on aconfig_storge_file crate. This crate will be used by codegen. 3, aconfig_storage_write_api This crate contains flag write apis. This crate depends on aconfig_storage_file crate. This crate will only be used by aconfig daemon to update flag values. Bug: b/321077378 Test: atest aconfig_storage_read_api.test; atest aconfig_storage_file.test; atest aconfig_storage_read_api.test.rust; atest aconfig_storage_read_api.test.cpp Change-Id: Ia6afdc40a45c7c59652fbfd123c2b77bf6666dd9
90 lines
2.6 KiB
Text
90 lines
2.6 KiB
Text
{
|
|
"presubmit": [
|
|
{
|
|
// aconfig unit tests
|
|
"name": "aconfig.test"
|
|
},
|
|
{
|
|
// aconfig Java integration tests (host)
|
|
"name": "AconfigJavaHostTest"
|
|
},
|
|
{
|
|
// aconfig Java integration tests
|
|
"name": "aconfig.test.java"
|
|
},
|
|
{
|
|
// aconfig C++ integration tests (production mode auto-generated code)
|
|
"name": "aconfig.test.cpp"
|
|
},
|
|
{
|
|
// aconfig C++ integration tests (test mode auto-generated code)
|
|
"name": "aconfig.test.cpp.test_mode"
|
|
},
|
|
// TODO(327420679): Enable export mode for native flag library
|
|
// {
|
|
// // aconfig C++ integration tests (exported mode auto-generated code)
|
|
// "name": "aconfig.test.cpp.exported_mode"
|
|
// },
|
|
{
|
|
// aconfig Rust integration tests (production mode auto-generated code)
|
|
"name": "aconfig.prod_mode.test.rust"
|
|
},
|
|
{
|
|
// aconfig Rust integration tests (test mode auto-generated code)
|
|
"name": "aconfig.test_mode.test.rust"
|
|
},
|
|
// TODO(327420679): Enable export mode for native flag library
|
|
// {
|
|
// // aconfig Rust integration tests (exported mode auto-generated code)
|
|
// "name": "aconfig.exported_mode.test.rust"
|
|
// },
|
|
{
|
|
// printflags unit tests
|
|
"name": "printflags.test"
|
|
},
|
|
{
|
|
// aconfig_protos unit tests
|
|
"name": "aconfig_protos.test"
|
|
},
|
|
{
|
|
// aconfig_storage_file unit tests
|
|
"name": "aconfig_storage_file.test"
|
|
},
|
|
{
|
|
// Ensure changes on aconfig auto generated library is compatible with
|
|
// test testing filtering logic. Breakage on this test means all tests
|
|
// that using the flag annotations to do filtering will get affected.
|
|
"name": "FlagAnnotationTests",
|
|
"options": [
|
|
{
|
|
"include-filter": "android.cts.flags.tests.FlagAnnotationTest"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
// Ensure changes on aconfig auto generated library is compatible with
|
|
// test testing filtering logic. Breakage on this test means all tests
|
|
// that using the flag macros to do filtering will get affected.
|
|
"name": "FlagMacrosTests"
|
|
}
|
|
],
|
|
"postsubmit": [
|
|
{
|
|
// aconfig_storage_read_api unit tests
|
|
"name": "aconfig_storage_read_api.test"
|
|
},
|
|
{
|
|
// aconfig_storage read api rust integration tests
|
|
"name": "aconfig_storage_read_api.test.rust"
|
|
},
|
|
{
|
|
// aconfig_storage read api cpp integration tests
|
|
"name": "aconfig_storage_read_api.test.cpp"
|
|
},
|
|
{
|
|
// aflags CLI unit tests
|
|
// TODO(b/326062088): add to presubmit once proven in postsubmit.
|
|
"name": "aflags.test"
|
|
}
|
|
]
|
|
}
|