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

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

aconfig: Fix missing header in the generated c/cpp code

Test: atest aconfig.test
Change-Id: I0c23299ad366cb5c61b84b738dd9e6bf3428435c
parent 91646be0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -364,6 +364,7 @@ bool com_android_aconfig_test_enabled_rw() {
    const TEST_SOURCE_FILE_EXPECTED: &str = r#"
#include "com_android_aconfig_test.h"
#include <server_configurable_flags/get_flags.h>
#include <unordered_map>

namespace com::android::aconfig::test {

+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
{{ if readwrite }}
#include <server_configurable_flags/get_flags.h>
{{ endif }}
{{ if for_test }}
#include <unordered_map>
{{ endif }}

namespace {cpp_namespace} \{