Fix Android script log routing build guard

This commit is contained in:
西风逍遥游 committed 2026-10-11 08:08:32 +08:00
1 parent 0589a5ae80
commit 137bae71ea
2 files changed
+2

No files matched your search

@@ -109,6 +109,7 @@ class MobileSdkReleaseGateTests(unittest.TestCase):
)
def test_android_script_output_is_observable_in_logcat(self) -> None:
self.assertIn('#include "common/config.h"', self.script_runtime)
self.assertIn('__android_log_vprint(ANDROID_LOG_INFO, "EVEngine"', self.script_runtime)
self.assertIn(
"vm->setPrintFunc(&androidScriptPrint, &androidScriptError)",
+1
View File
@@ -1,6 +1,7 @@
#include "common/Runtime.h"
#include "common/Assert.h"
#include "common/config.h"
#include "common/Module.h"
#include "common/ReflectScript.h"
#include "common/ScriptCompiler.h"