Merge "aconfig: Fix missing header in the generated c/cpp code" into main

This commit is contained in:
Treehugger Robot 2023-09-14 19:13:34 +00:00 committed by Gerrit Code Review
commit 2cb7622dca
2 changed files with 4 additions and 0 deletions

View file

@ -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 {

View file

@ -2,6 +2,9 @@
{{ if readwrite }}
#include <server_configurable_flags/get_flags.h>
{{ endif }}
{{ if for_test }}
#include <unordered_map>
{{ endif }}
namespace {cpp_namespace} \{