diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-03-02 10:30:10 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-03-02 10:30:25 +0100 |
commit | 1807e0f1355efc92503aeb4c0a2496617d3f0872 (patch) | |
tree | 739c806b0f30f19350531ecf22cabf2c2360e437 /platform/android | |
parent | e930fb9a6e4277ad3c4dc60a775785b294840512 (diff) |
SCons: Move platform-specific Opus config to its module
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/detect.py | 6 |
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: |