remove QCOM_REPLAY

This commit is contained in:
Adeeb Shihadeh
2021-05-28 19:43:58 -07:00
parent 7609d22fb2
commit 3ef74b4d99
2 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
Import('env', 'envCython', 'arch', 'QCOM_REPLAY')
Import('env', 'envCython', 'arch')
import shutil
@@ -54,7 +54,7 @@ vipc_sources = [
'visionipc/visionbuf.cc',
]
if arch in ["aarch64", "larch64"] and (not QCOM_REPLAY):
if arch in ["aarch64", "larch64"]:
vipc_sources += ['visionipc/visionbuf_ion.cc']
else:
vipc_sources += ['visionipc/visionbuf_cl.cc']

View File

@@ -55,8 +55,7 @@ env = Environment(
tools=["default", "cython"]
)
QCOM_REPLAY = False
Export('env', 'arch', 'QCOM_REPLAY')
Export('env', 'arch')
envCython = env.Clone(LIBS=[])
envCython["CCFLAGS"] += ["-Wno-#warnings", "-Wno-deprecated-declarations"]