Merge "aconfig: Fix missing header in the generated c/cpp code" into main
This commit is contained in:
@@ -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} \{
|
||||
|
||||
|
Reference in New Issue
Block a user