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#"
|
const TEST_SOURCE_FILE_EXPECTED: &str = r#"
|
||||||
#include "com_android_aconfig_test.h"
|
#include "com_android_aconfig_test.h"
|
||||||
#include <server_configurable_flags/get_flags.h>
|
#include <server_configurable_flags/get_flags.h>
|
||||||
|
#include <unordered_map>
|
||||||
|
|
||||||
namespace com::android::aconfig::test {
|
namespace com::android::aconfig::test {
|
||||||
|
|
||||||
|
@@ -2,6 +2,9 @@
|
|||||||
{{ if readwrite }}
|
{{ if readwrite }}
|
||||||
#include <server_configurable_flags/get_flags.h>
|
#include <server_configurable_flags/get_flags.h>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
{{ if for_test }}
|
||||||
|
#include <unordered_map>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
namespace {cpp_namespace} \{
|
namespace {cpp_namespace} \{
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user