aboutsummaryrefslogtreecommitdiff
path: root/modules/gdnative/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde2018-06-19 14:44:41 +0200
committerGitHub2018-06-19 14:44:41 +0200
commitff01fd57bc19d9f4cb3929dbee87cdd9eda578e1 (patch)
treeb24c2e3de16fd2ed1552c7e2e2d7c399de4718be /modules/gdnative/SCsub
parent0a1c1c660fc6aa0689816e85f2b6791c225c6d63 (diff)
parent1697cbb4bb0a06ff5865f1c4c91084831d4ea5f2 (diff)
downloadgodot-ff01fd57bc19d9f4cb3929dbee87cdd9eda578e1.tar.gz
godot-ff01fd57bc19d9f4cb3929dbee87cdd9eda578e1.tar.zst
godot-ff01fd57bc19d9f4cb3929dbee87cdd9eda578e1.zip
Diffstat (limited to 'modules/gdnative/SCsub')
-rw-r--r--modules/gdnative/SCsub2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdnative/SCsub b/modules/gdnative/SCsub
index 6d2f8ce8a..92fb41adf 100644
--- a/modules/gdnative/SCsub
+++ b/modules/gdnative/SCsub
@@ -5,6 +5,7 @@ Import('env')
gdn_env = env.Clone()
gdn_env.add_source_files(env.modules_sources, "gdnative.cpp")
gdn_env.add_source_files(env.modules_sources, "register_types.cpp")
+gdn_env.add_source_files(env.modules_sources, "android/*.cpp")
gdn_env.add_source_files(env.modules_sources, "gdnative/*.cpp")
gdn_env.add_source_files(env.modules_sources, "nativescript/*.cpp")
gdn_env.add_source_files(env.modules_sources, "gdnative_library_singleton_editor.cpp")
@@ -49,6 +50,7 @@ def _build_gdnative_api_struct_header(api):
'#define GODOT_GDNATIVE_API_STRUCT_H',
'',
'#include <gdnative/gdnative.h>',
+ '#include <android/godot_android.h>',
'#include <arvr/godot_arvr.h>',
'#include <nativescript/godot_nativescript.h>',
'#include <pluginscript/godot_pluginscript.h>',