summaryrefslogtreecommitdiff
path: root/methods.py
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2016-07-07 04:03:50 +0900
committervolzhs <volzhs@gmail.com>2016-07-07 04:03:50 +0900
commit40d3234304535a3993b44c0a7cd55e18b14ced95 (patch)
tree8e1ed71bc42ab8624678ebb2e78ca9435c1718df /methods.py
parent9238de4ea9fe444d2dcef8802f1a990b3c6a04b5 (diff)
Add android_add_default_config for config.py
usage : env.android_add_default_config("applicationId 'com.godot.game'")
Diffstat (limited to 'methods.py')
-rwxr-xr-xmethods.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/methods.py b/methods.py
index 7128b334ec..74c282b8cf 100755
--- a/methods.py
+++ b/methods.py
@@ -1326,7 +1326,9 @@ def android_add_aidl_dir(self,subpath):
def android_add_jni_dir(self,subpath):
base_path = self.Dir(".").abspath+"/modules/"+self.current_module+"/"+subpath
self.android_jni_dirs.append(base_path)
-
+def android_add_default_config(self,config):
+ self.android_default_config.append(config)
+
def android_add_to_manifest(self,file):
base_path = self.Dir(".").abspath+"/modules/"+self.current_module+"/"+file
f = open(base_path,"rb")