summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-03-02 10:30:10 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-03-02 10:30:25 +0100
commit1807e0f1355efc92503aeb4c0a2496617d3f0872 (patch)
tree739c806b0f30f19350531ecf22cabf2c2360e437 /platform/android
parente930fb9a6e4277ad3c4dc60a775785b294840512 (diff)
SCons: Move platform-specific Opus config to its module
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/detect.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py
index aa48252435..80cda68a9e 100644
--- a/platform/android/detect.py
+++ b/platform/android/detect.py
@@ -298,12 +298,6 @@ def configure(env):
env.Append(CPPFLAGS=['-DANDROID_ENABLED', '-DUNIX_ENABLED', '-DNO_FCNTL'])
env.Append(LIBS=['OpenSLES', 'EGL', 'GLESv3', 'android', 'log', 'z', 'dl'])
- # TODO: Move that to opus module's config
- if 'module_opus_enabled' in env and env['module_opus_enabled']:
- if (env["android_arch"] == "armv6" or env["android_arch"] == "armv7"):
- env.Append(CFLAGS=["-DOPUS_ARM_OPT"])
- env.opus_fixed_point = "yes"
-
# Return NDK version string in source.properties (adapted from the Chromium project).
def get_ndk_version(path):
if path is None: