summaryrefslogtreecommitdiff
path: root/methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/methods.py b/methods.py
index 227a17d312..33d503a41a 100644
--- a/methods.py
+++ b/methods.py
@@ -937,6 +937,11 @@ def android_add_res_dir(self, subpath):
if (base_path not in self.android_res_dirs):
self.android_res_dirs.append(base_path)
+def android_add_asset_dir(self, subpath):
+ base_path = self.Dir(".").abspath + "/modules/" + self.current_module + "/" + subpath
+ if (base_path not in self.android_asset_dirs):
+ self.android_asset_dirs.append(base_path)
+
def android_add_aidl_dir(self, subpath):
base_path = self.Dir(".").abspath + "/modules/" + self.current_module + "/" + subpath
if (base_path not in self.android_aidl_dirs):