Merge "aconfig: Fix missing header in the generated c/cpp code" into main
This commit is contained in:
commit
2cb7622dca
2 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
{{ if readwrite }}
|
||||
#include <server_configurable_flags/get_flags.h>
|
||||
{{ endif }}
|
||||
{{ if for_test }}
|
||||
#include <unordered_map>
|
||||
{{ endif }}
|
||||
|
||||
namespace {cpp_namespace} \{
|
||||
|
||||
|
|
Loading…
Reference in a new issue