From b61c4f996d697fc72102e7f053370fa6ece47161 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Wed, 16 Oct 2024 15:59:50 +0100 Subject: [PATCH] JS: Silence plugin functions warning --- scripts/fbt_tools/fbt_extapps.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/fbt_tools/fbt_extapps.py b/scripts/fbt_tools/fbt_extapps.py index 086caf4cf..9c3c28124 100644 --- a/scripts/fbt_tools/fbt_extapps.py +++ b/scripts/fbt_tools/fbt_extapps.py @@ -302,8 +302,14 @@ def _validate_app_imports(target, source, env): "gallagher_deobfuscate_and_parse_credential", # js_ "js_delay_with_flags", - "js_flags_wait", + "js_event_loop_get_loop", "js_flags_set", + "js_flags_wait", + "js_gui_make_view_factory", + "js_module_get", + # test_js + "js_thread_run", + "js_thread_stop", # totp_ "totp_", "token_info_", @@ -317,7 +323,8 @@ def _validate_app_imports(target, source, env): for prefix in [ "advanced_plugin", "gallagher", - "js_", + "js_", # js_app and all js_ modules + "test_js", "totp_", "troika", ]