Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e472adf4 authored by Dennis Shen's avatar Dennis Shen
Browse files

add the test config lib to a target that is used in platform build

There are tests that uses aconfig flag libs that are not used by actual
platform build. So querying these flags will fail in new storage as they
are not present in storage files. Short term fix is to add them to
platform build depdenency.

Change-Id: I8b485ad65e2fa91258165c3a15c5d509b30d4018
parent d2918787
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -234,6 +234,7 @@ rust_aconfig_library {
    name: "libaconfig_test_rust_library",
    crate_name: "aconfig_test_rust_library",
    aconfig_declarations: "aconfig.test.flags",
    host_supported: true,
}

rust_test {
+4 −0
Original line number Diff line number Diff line
@@ -20,6 +20,10 @@ rust_defaults {
        "libnix",
        "libprotobuf",
        "libregex",
        // TODO: b/371021174 remove this fake dependency once we find a proper strategy to
        // deal with test aconfig libs are not present in storage because they are never used
        // by the actual build
        "libaconfig_test_rust_library",
    ],
}