added 'android_add_asset_dir('...') method to Android module gradle build config
(cherry picked from commit 9190ae2be7068c8a84f60766a2f7c1da3e0bcd4b)
This commit is contained in:
parent
d4f860c768
commit
8bb90fd5f3
3 changed files with 11 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue