diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-30 12:28:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 12:28:50 +0200 |
commit | f47979f0874b2ca6134e71575fbb359c6cc5ced0 (patch) | |
tree | c5c2159d3317f1da839e390281d6f32eb82e1158 /platform/android/SCsub | |
parent | 67961d875d518b565bc1fa923772af56fb227063 (diff) | |
parent | 39facb35a021f9301f742732fbbd3c6a5a548893 (diff) |
Merge pull request #66242 from akien-mga/scons-unify-tools-target
Diffstat (limited to 'platform/android/SCsub')
-rw-r--r-- | platform/android/SCsub | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/android/SCsub b/platform/android/SCsub index 344ca036de..9f5b8d8387 100644 --- a/platform/android/SCsub +++ b/platform/android/SCsub @@ -53,14 +53,14 @@ else: print("WARN: Architecture not suitable for embedding into APK; keeping .so at \\bin") if lib_arch_dir != "": - if env["target"] == "release": - lib_type_dir = "release" - elif env["target"] == "release_debug": + if env.debug_features: lib_type_dir = "debug" - else: # debug + elif env.dev_build: lib_type_dir = "dev" + else: # Release + lib_type_dir = "release" - if env["tools"]: + if env.editor_build: lib_tools_dir = "tools/" else: lib_tools_dir = "" |