summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-05-25 07:52:38 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-05-25 07:52:38 +0200
commitc7ac70cc9ecd16fc393dda80e34e4382bd52ef30 (patch)
treefa17976ea141946c31ed7ff76db21fc4b17cad12 /platform/android
parent12a6153ab407e36091a0fbd37be0ea92cdac961c (diff)
parent5eb14d3af08a97e71222a8972996d86e3ceed54b (diff)
Merge pull request #4788 from volzhs/dir-error-windows
fix unexpected char: '\' error on windows for android module
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/SCsub6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/SCsub b/platform/android/SCsub
index fab8458b26..c8feac8690 100644
--- a/platform/android/SCsub
+++ b/platform/android/SCsub
@@ -65,17 +65,17 @@ for x in env.android_java_dirs:
gradle_res_dirs_text=""
for x in env.android_res_dirs:
- gradle_res_dirs_text+=",'"+x+"'"
+ gradle_res_dirs_text+=",'"+x.replace("\\","/")+"'"
gradle_aidl_dirs_text=""
for x in env.android_aidl_dirs:
- gradle_aidl_dirs_text+=",'"+x+"'"
+ gradle_aidl_dirs_text+=",'"+x.replace("\\","/")+"'"
gradle_jni_dirs_text=""
for x in env.android_jni_dirs:
- gradle_jni_dirs_text+=",'"+x+"'"
+ gradle_jni_dirs_text+=",'"+x.replace("\\","/")+"'"
gradle_asset_dirs_text=""