phonelibs -> third_party (#22477)
* git mv to third_party * find and replace * fix release tests * update pre-commit * update tici bins * update eon bins Co-authored-by: Comma Device <device@comma.ai>pull/22483/head
parent
5f2e82dc8a
commit
5b641379ae
|
@ -49,7 +49,7 @@ jobs:
|
||||||
cp Dockerfile.openpilot_base $STRIPPED_DIR
|
cp Dockerfile.openpilot_base $STRIPPED_DIR
|
||||||
|
|
||||||
# need this to build on x86
|
# need this to build on x86
|
||||||
cp -pR --parents phonelibs/libyuv phonelibs/snpe selfdrive/modeld/runners $STRIPPED_DIR
|
cp -pR --parents third_party/libyuv third_party/snpe selfdrive/modeld/runners $STRIPPED_DIR
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: eval "$BUILD"
|
run: eval "$BUILD"
|
||||||
- name: Build openpilot and run checks
|
- name: Build openpilot and run checks
|
||||||
|
|
|
@ -38,7 +38,7 @@ repos:
|
||||||
entry: cppcheck
|
entry: cppcheck
|
||||||
language: system
|
language: system
|
||||||
types: [c++]
|
types: [c++]
|
||||||
exclude: '^(phonelibs)|(pyextra)|(cereal)|(opendbc)|(panda)|(tools)|(selfdrive/modeld/thneed/debug)|(selfdrive/modeld/test)|(selfdrive/camerad/test)/|(installer)'
|
exclude: '^(third_party)|(pyextra)|(cereal)|(opendbc)|(panda)|(tools)|(selfdrive/modeld/thneed/debug)|(selfdrive/modeld/test)|(selfdrive/camerad/test)/|(installer)'
|
||||||
args:
|
args:
|
||||||
- --error-exitcode=1
|
- --error-exitcode=1
|
||||||
- --language=c++
|
- --language=c++
|
||||||
|
|
|
@ -16,7 +16,7 @@ RUN pip install --no-cache-dir pipenv==2020.8.13 && \
|
||||||
COPY SConstruct ${OPENPILOT_PATH}
|
COPY SConstruct ${OPENPILOT_PATH}
|
||||||
|
|
||||||
COPY ./pyextra ${OPENPILOT_PATH}/pyextra
|
COPY ./pyextra ${OPENPILOT_PATH}/pyextra
|
||||||
COPY ./phonelibs ${OPENPILOT_PATH}/phonelibs
|
COPY ./third_party ${OPENPILOT_PATH}/third_party
|
||||||
COPY ./site_scons ${OPENPILOT_PATH}/site_scons
|
COPY ./site_scons ${OPENPILOT_PATH}/site_scons
|
||||||
COPY ./laika ${OPENPILOT_PATH}/laika
|
COPY ./laika ${OPENPILOT_PATH}/laika
|
||||||
COPY ./laika_repo ${OPENPILOT_PATH}/laika_repo
|
COPY ./laika_repo ${OPENPILOT_PATH}/laika_repo
|
||||||
|
|
|
@ -97,8 +97,8 @@ Directory Structure
|
||||||
├── docs # Documentation
|
├── docs # Documentation
|
||||||
├── opendbc # Files showing how to interpret data from cars
|
├── opendbc # Files showing how to interpret data from cars
|
||||||
├── panda # Code used to communicate on CAN
|
├── panda # Code used to communicate on CAN
|
||||||
├── phonelibs # External libraries
|
├── third_party # External libraries
|
||||||
├── pyextra # Extra python packages not shipped in NEOS
|
├── pyextra # Extra python packages
|
||||||
└── selfdrive # Code needed to drive the car
|
└── selfdrive # Code needed to drive the car
|
||||||
├── assets # Fonts, images, and sounds for UI
|
├── assets # Fonts, images, and sounds for UI
|
||||||
├── athena # Allows communication with the app
|
├── athena # Allows communication with the app
|
||||||
|
|
74
SConstruct
74
SConstruct
|
@ -64,11 +64,11 @@ USE_FRAME_STREAM = os.getenv("USE_FRAME_STREAM") is not None
|
||||||
|
|
||||||
lenv = {
|
lenv = {
|
||||||
"PATH": os.environ['PATH'],
|
"PATH": os.environ['PATH'],
|
||||||
"LD_LIBRARY_PATH": [Dir(f"#phonelibs/acados/{arch}/lib").abspath],
|
"LD_LIBRARY_PATH": [Dir(f"#third_party/acados/{arch}/lib").abspath],
|
||||||
"PYTHONPATH": Dir("#").abspath + ":" + Dir("#pyextra/").abspath,
|
"PYTHONPATH": Dir("#").abspath + ":" + Dir("#pyextra/").abspath,
|
||||||
|
|
||||||
"ACADOS_SOURCE_DIR": Dir("#phonelibs/acados/acados").abspath,
|
"ACADOS_SOURCE_DIR": Dir("#third_party/acados/acados").abspath,
|
||||||
"TERA_PATH": Dir("#").abspath + f"/phonelibs/acados/{arch}/t_renderer",
|
"TERA_PATH": Dir("#").abspath + f"/third_party/acados/{arch}/t_renderer",
|
||||||
}
|
}
|
||||||
|
|
||||||
rpath = lenv["LD_LIBRARY_PATH"].copy()
|
rpath = lenv["LD_LIBRARY_PATH"].copy()
|
||||||
|
@ -82,7 +82,7 @@ if arch == "aarch64" or arch == "larch64":
|
||||||
lenv["ANDROID_ROOT"] = os.environ['ANDROID_ROOT']
|
lenv["ANDROID_ROOT"] = os.environ['ANDROID_ROOT']
|
||||||
|
|
||||||
cpppath = [
|
cpppath = [
|
||||||
"#phonelibs/opencl/include",
|
"#third_party/opencl/include",
|
||||||
]
|
]
|
||||||
|
|
||||||
libpath = [
|
libpath = [
|
||||||
|
@ -90,14 +90,14 @@ if arch == "aarch64" or arch == "larch64":
|
||||||
"/usr/lib",
|
"/usr/lib",
|
||||||
"/system/vendor/lib64",
|
"/system/vendor/lib64",
|
||||||
"/system/comma/usr/lib",
|
"/system/comma/usr/lib",
|
||||||
"#phonelibs/nanovg",
|
"#third_party/nanovg",
|
||||||
f"#phonelibs/acados/{arch}/lib",
|
f"#third_party/acados/{arch}/lib",
|
||||||
]
|
]
|
||||||
|
|
||||||
if arch == "larch64":
|
if arch == "larch64":
|
||||||
libpath += [
|
libpath += [
|
||||||
"#phonelibs/snpe/larch64",
|
"#third_party/snpe/larch64",
|
||||||
"#phonelibs/libyuv/larch64/lib",
|
"#third_party/libyuv/larch64/lib",
|
||||||
"/usr/lib/aarch64-linux-gnu"
|
"/usr/lib/aarch64-linux-gnu"
|
||||||
]
|
]
|
||||||
cpppath += [
|
cpppath += [
|
||||||
|
@ -109,8 +109,8 @@ if arch == "aarch64" or arch == "larch64":
|
||||||
else:
|
else:
|
||||||
rpath = []
|
rpath = []
|
||||||
libpath += [
|
libpath += [
|
||||||
"#phonelibs/snpe/aarch64",
|
"#third_party/snpe/aarch64",
|
||||||
"#phonelibs/libyuv/lib",
|
"#third_party/libyuv/lib",
|
||||||
"/system/vendor/lib64"
|
"/system/vendor/lib64"
|
||||||
]
|
]
|
||||||
cflags = ["-DQCOM", "-D_USING_LIBCXX", "-mcpu=cortex-a57"]
|
cflags = ["-DQCOM", "-D_USING_LIBCXX", "-mcpu=cortex-a57"]
|
||||||
|
@ -123,7 +123,7 @@ else:
|
||||||
if arch == "Darwin":
|
if arch == "Darwin":
|
||||||
yuv_dir = "mac" if real_arch != "arm64" else "mac_arm64"
|
yuv_dir = "mac" if real_arch != "arm64" else "mac_arm64"
|
||||||
libpath = [
|
libpath = [
|
||||||
f"#phonelibs/libyuv/{yuv_dir}/lib",
|
f"#third_party/libyuv/{yuv_dir}/lib",
|
||||||
"/usr/local/lib",
|
"/usr/local/lib",
|
||||||
"/opt/homebrew/lib",
|
"/opt/homebrew/lib",
|
||||||
"/usr/local/opt/openssl/lib",
|
"/usr/local/opt/openssl/lib",
|
||||||
|
@ -139,10 +139,10 @@ else:
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
libpath = [
|
libpath = [
|
||||||
"#phonelibs/acados/x86_64/lib",
|
"#third_party/acados/x86_64/lib",
|
||||||
"#phonelibs/snpe/x86_64-linux-clang",
|
"#third_party/snpe/x86_64-linux-clang",
|
||||||
"#phonelibs/libyuv/x64/lib",
|
"#third_party/libyuv/x64/lib",
|
||||||
"#phonelibs/mapbox-gl-native-qt/x86_64",
|
"#third_party/mapbox-gl-native-qt/x86_64",
|
||||||
"#cereal",
|
"#cereal",
|
||||||
"#selfdrive/common",
|
"#selfdrive/common",
|
||||||
"/usr/lib",
|
"/usr/lib",
|
||||||
|
@ -150,7 +150,7 @@ else:
|
||||||
]
|
]
|
||||||
|
|
||||||
rpath += [
|
rpath += [
|
||||||
Dir("#phonelibs/snpe/x86_64-linux-clang").abspath,
|
Dir("#third_party/snpe/x86_64-linux-clang").abspath,
|
||||||
Dir("#cereal").abspath,
|
Dir("#cereal").abspath,
|
||||||
Dir("#selfdrive/common").abspath
|
Dir("#selfdrive/common").abspath
|
||||||
]
|
]
|
||||||
|
@ -191,25 +191,25 @@ env = Environment(
|
||||||
|
|
||||||
CPPPATH=cpppath + [
|
CPPPATH=cpppath + [
|
||||||
"#",
|
"#",
|
||||||
"#phonelibs/acados/include",
|
"#third_party/acados/include",
|
||||||
"#phonelibs/acados/include/blasfeo/include",
|
"#third_party/acados/include/blasfeo/include",
|
||||||
"#phonelibs/acados/include/hpipm/include",
|
"#third_party/acados/include/hpipm/include",
|
||||||
"#phonelibs/catch2/include",
|
"#third_party/catch2/include",
|
||||||
"#phonelibs/bzip2",
|
"#third_party/bzip2",
|
||||||
"#phonelibs/libyuv/include",
|
"#third_party/libyuv/include",
|
||||||
"#phonelibs/openmax/include",
|
"#third_party/openmax/include",
|
||||||
"#phonelibs/json11",
|
"#third_party/json11",
|
||||||
"#phonelibs/curl/include",
|
"#third_party/curl/include",
|
||||||
"#phonelibs/libgralloc/include",
|
"#third_party/libgralloc/include",
|
||||||
"#phonelibs/android_frameworks_native/include",
|
"#third_party/android_frameworks_native/include",
|
||||||
"#phonelibs/android_hardware_libhardware/include",
|
"#third_party/android_hardware_libhardware/include",
|
||||||
"#phonelibs/android_system_core/include",
|
"#third_party/android_system_core/include",
|
||||||
"#phonelibs/linux/include",
|
"#third_party/linux/include",
|
||||||
"#phonelibs/snpe/include",
|
"#third_party/snpe/include",
|
||||||
"#phonelibs/mapbox-gl-native-qt/include",
|
"#third_party/mapbox-gl-native-qt/include",
|
||||||
"#phonelibs/nanovg",
|
"#third_party/nanovg",
|
||||||
"#phonelibs/qrcode",
|
"#third_party/qrcode",
|
||||||
"#phonelibs",
|
"#third_party",
|
||||||
"#cereal",
|
"#cereal",
|
||||||
"#opendbc/can",
|
"#opendbc/can",
|
||||||
],
|
],
|
||||||
|
@ -224,7 +224,7 @@ env = Environment(
|
||||||
CXXFLAGS=["-std=c++1z"] + cxxflags,
|
CXXFLAGS=["-std=c++1z"] + cxxflags,
|
||||||
LIBPATH=libpath + [
|
LIBPATH=libpath + [
|
||||||
"#cereal",
|
"#cereal",
|
||||||
"#phonelibs",
|
"#third_party",
|
||||||
"#opendbc/can",
|
"#opendbc/can",
|
||||||
"#selfdrive/boardd",
|
"#selfdrive/boardd",
|
||||||
"#selfdrive/common",
|
"#selfdrive/common",
|
||||||
|
@ -403,7 +403,7 @@ SConscript(['cereal/SConscript'])
|
||||||
SConscript(['panda/board/SConscript'])
|
SConscript(['panda/board/SConscript'])
|
||||||
SConscript(['opendbc/can/SConscript'])
|
SConscript(['opendbc/can/SConscript'])
|
||||||
|
|
||||||
SConscript(['phonelibs/SConscript'])
|
SConscript(['third_party/SConscript'])
|
||||||
|
|
||||||
SConscript(['common/SConscript'])
|
SConscript(['common/SConscript'])
|
||||||
SConscript(['common/kalman/SConscript'])
|
SConscript(['common/kalman/SConscript'])
|
||||||
|
|
2
lgtm.yml
2
lgtm.yml
|
@ -1,7 +1,7 @@
|
||||||
path_classifiers:
|
path_classifiers:
|
||||||
library:
|
library:
|
||||||
- external
|
- external
|
||||||
- phonelibs
|
- third_party
|
||||||
- pyextra
|
- pyextra
|
||||||
- tools/lib/mkvparse
|
- tools/lib/mkvparse
|
||||||
extraction:
|
extraction:
|
||||||
|
|
|
@ -77,8 +77,8 @@ rm models/supercombo.dlc
|
||||||
mkdir -p panda/board/obj
|
mkdir -p panda/board/obj
|
||||||
mv /tmp/panda.bin.signed panda/board/obj/panda.bin.signed
|
mv /tmp/panda.bin.signed panda/board/obj/panda.bin.signed
|
||||||
|
|
||||||
# Restore phonelibs
|
# Restore third_party
|
||||||
git checkout phonelibs/
|
git checkout third_party/
|
||||||
|
|
||||||
# Mark as prebuilt release
|
# Mark as prebuilt release
|
||||||
touch prebuilt
|
touch prebuilt
|
||||||
|
|
|
@ -68,8 +68,8 @@ rm models/supercombo.dlc
|
||||||
mkdir -p panda/board/obj
|
mkdir -p panda/board/obj
|
||||||
mv /tmp/panda.bin.signed panda/board/obj/panda.bin.signed
|
mv /tmp/panda.bin.signed panda/board/obj/panda.bin.signed
|
||||||
|
|
||||||
# Restore phonelibs
|
# Restore third_party
|
||||||
git checkout phonelibs/
|
git checkout third_party/
|
||||||
|
|
||||||
# Mark as prebuilt release
|
# Mark as prebuilt release
|
||||||
touch prebuilt
|
touch prebuilt
|
||||||
|
|
|
@ -433,44 +433,44 @@ selfdrive/assets/offroad/*
|
||||||
selfdrive/assets/sounds/*
|
selfdrive/assets/sounds/*
|
||||||
selfdrive/assets/training/*
|
selfdrive/assets/training/*
|
||||||
|
|
||||||
phonelibs/SConscript
|
third_party/SConscript
|
||||||
|
|
||||||
phonelibs/nanovg/*.c
|
third_party/nanovg/*.c
|
||||||
phonelibs/nanovg/*.h
|
third_party/nanovg/*.h
|
||||||
|
|
||||||
phonelibs/libgralloc/**
|
third_party/libgralloc/**
|
||||||
phonelibs/linux/**
|
third_party/linux/**
|
||||||
phonelibs/opencl/**
|
third_party/opencl/**
|
||||||
phonelibs/zlib/*
|
third_party/zlib/*
|
||||||
phonelibs/bzip2/*
|
third_party/bzip2/*
|
||||||
phonelibs/openmax/**
|
third_party/openmax/**
|
||||||
|
|
||||||
phonelibs/json11/json11.cpp
|
third_party/json11/json11.cpp
|
||||||
phonelibs/json11/json11.hpp
|
third_party/json11/json11.hpp
|
||||||
|
|
||||||
phonelibs/qrcode/*.cc
|
third_party/qrcode/*.cc
|
||||||
phonelibs/qrcode/*.hpp
|
third_party/qrcode/*.hpp
|
||||||
|
|
||||||
phonelibs/kaitai/*.h
|
third_party/kaitai/*.h
|
||||||
phonelibs/kaitai/*.cpp
|
third_party/kaitai/*.cpp
|
||||||
|
|
||||||
phonelibs/libyuv/include/**
|
third_party/libyuv/include/**
|
||||||
phonelibs/libyuv/lib/**
|
third_party/libyuv/lib/**
|
||||||
phonelibs/libyuv/larch64/**
|
third_party/libyuv/larch64/**
|
||||||
|
|
||||||
phonelibs/snpe/include/**
|
third_party/snpe/include/**
|
||||||
phonelibs/snpe/aarch64**
|
third_party/snpe/aarch64**
|
||||||
phonelibs/snpe/larch64**
|
third_party/snpe/larch64**
|
||||||
phonelibs/snpe/dsp**
|
third_party/snpe/dsp**
|
||||||
|
|
||||||
phonelibs/acados/x86_64/**
|
third_party/acados/x86_64/**
|
||||||
phonelibs/acados/aarch64/**
|
third_party/acados/aarch64/**
|
||||||
phonelibs/acados/larch64/**
|
third_party/acados/larch64/**
|
||||||
phonelibs/acados/include/**
|
third_party/acados/include/**
|
||||||
|
|
||||||
phonelibs/android_frameworks_native/**
|
third_party/android_frameworks_native/**
|
||||||
phonelibs/android_hardware_libhardware/**
|
third_party/android_hardware_libhardware/**
|
||||||
phonelibs/android_system_core/**
|
third_party/android_system_core/**
|
||||||
|
|
||||||
scripts/update_now.sh
|
scripts/update_now.sh
|
||||||
scripts/stop_updater.sh
|
scripts/stop_updater.sh
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
phonelibs/mapbox-gl-native-qt/x86_64/**
|
third_party/mapbox-gl-native-qt/x86_64/**
|
||||||
|
|
||||||
phonelibs/qt-plugins/x86_64/**
|
third_party/qt-plugins/x86_64/**
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
phonelibs/mapbox-gl-native-qt/include/*
|
third_party/mapbox-gl-native-qt/include/*
|
||||||
|
|
||||||
selfdrive/timezoned.py
|
selfdrive/timezoned.py
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -5,13 +5,13 @@ cd $DIR
|
||||||
|
|
||||||
if [ -d /system ]; then
|
if [ -d /system ]; then
|
||||||
if [ -f /TICI ]; then # QCOM2
|
if [ -f /TICI ]; then # QCOM2
|
||||||
export LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu:/data/pythonpath/phonelibs/snpe/larch64:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu:/data/pythonpath/third_party/snpe/larch64:$LD_LIBRARY_PATH"
|
||||||
else # QCOM
|
else # QCOM
|
||||||
export LD_LIBRARY_PATH="/data/pythonpath/phonelibs/snpe/aarch64/:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="/data/pythonpath/third_party/snpe/aarch64/:$LD_LIBRARY_PATH"
|
||||||
fi
|
fi
|
||||||
export ADSP_LIBRARY_PATH="/data/pythonpath/phonelibs/snpe/dsp/"
|
export ADSP_LIBRARY_PATH="/data/pythonpath/third_party/snpe/dsp/"
|
||||||
else
|
else
|
||||||
# PC
|
# PC
|
||||||
export LD_LIBRARY_PATH="$DIR/../../phonelibs/snpe/x86_64-linux-clang:$DIR/../../openpilot/phonelibs/snpe/x86_64:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$DIR/../../third_party/snpe/x86_64-linux-clang:$DIR/../../openpilot/third_party/snpe/x86_64:$LD_LIBRARY_PATH"
|
||||||
fi
|
fi
|
||||||
exec ./_dmonitoringmodeld
|
exec ./_dmonitoringmodeld
|
||||||
|
|
|
@ -5,12 +5,12 @@ cd $DIR
|
||||||
|
|
||||||
if [ -d /system ]; then
|
if [ -d /system ]; then
|
||||||
if [ -f /TICI ]; then # QCOM2
|
if [ -f /TICI ]; then # QCOM2
|
||||||
export LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu:/data/pythonpath/phonelibs/snpe/larch64:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu:/data/pythonpath/third_party/snpe/larch64:$LD_LIBRARY_PATH"
|
||||||
else # QCOM
|
else # QCOM
|
||||||
export LD_LIBRARY_PATH="/data/pythonpath/phonelibs/snpe/aarch64/:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="/data/pythonpath/third_party/snpe/aarch64/:$LD_LIBRARY_PATH"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# PC
|
# PC
|
||||||
export LD_LIBRARY_PATH="$DIR/../../phonelibs/snpe/x86_64-linux-clang:$DIR/../../openpilot/phonelibs/snpe/x86_64:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$DIR/../../third_party/snpe/x86_64-linux-clang:$DIR/../../openpilot/third_party/snpe/x86_64:$LD_LIBRARY_PATH"
|
||||||
fi
|
fi
|
||||||
exec ./_modeld
|
exec ./_modeld
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
clang++ -I /data/openpilot/phonelibs/snpe/include/ -L/data/pythonpath/phonelibs/snpe/aarch64 -lSNPE benchmark.cc -o benchmark
|
clang++ -I /data/openpilot/third_party/snpe/include/ -L/data/pythonpath/third_party/snpe/aarch64 -lSNPE benchmark.cc -o benchmark
|
||||||
export LD_LIBRARY_PATH="/data/pythonpath/phonelibs/snpe/aarch64/:$HOME/openpilot/phonelibs/snpe/x86_64/:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="/data/pythonpath/third_party/snpe/aarch64/:$HOME/openpilot/third_party/snpe/x86_64/:$LD_LIBRARY_PATH"
|
||||||
exec ./benchmark $1
|
exec ./benchmark $1
|
||||||
|
|
|
@ -10,7 +10,7 @@ ifeq ($(UNAME_S),Darwin)
|
||||||
SHARED_FLAGS=-Wl,-force_load $^
|
SHARED_FLAGS=-Wl,-force_load $^
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PHONELIBS := ../../phonelibs
|
PHONELIBS := ../../third_party
|
||||||
BASEDIR := ../..
|
BASEDIR := ../..
|
||||||
|
|
||||||
WARN_FLAGS = -Werror=implicit-function-declaration \
|
WARN_FLAGS = -Werror=implicit-function-declaration \
|
||||||
|
|
|
@ -11,7 +11,7 @@ if arch == 'aarch64':
|
||||||
base_libs += ['log', 'utils', 'gui', 'ui', 'CB', 'gsl', 'adreno_utils', 'cutils', 'uuid']
|
base_libs += ['log', 'utils', 'gui', 'ui', 'CB', 'gsl', 'adreno_utils', 'cutils', 'uuid']
|
||||||
|
|
||||||
if maps and arch == 'x86_64':
|
if maps and arch == 'x86_64':
|
||||||
rpath = [Dir(f"#phonelibs/mapbox-gl-native-qt/{arch}").srcnode().abspath]
|
rpath = [Dir(f"#third_party/mapbox-gl-native-qt/{arch}").srcnode().abspath]
|
||||||
qt_env["RPATH"] += rpath
|
qt_env["RPATH"] += rpath
|
||||||
|
|
||||||
if arch == "Darwin":
|
if arch == "Darwin":
|
||||||
|
@ -21,7 +21,7 @@ if arch == "Darwin":
|
||||||
widgets_src = ["qt/util.cc", "qt/widgets/input.cc", "qt/widgets/drive_stats.cc",
|
widgets_src = ["qt/util.cc", "qt/widgets/input.cc", "qt/widgets/drive_stats.cc",
|
||||||
"qt/widgets/ssh_keys.cc", "qt/widgets/toggle.cc", "qt/widgets/controls.cc",
|
"qt/widgets/ssh_keys.cc", "qt/widgets/toggle.cc", "qt/widgets/controls.cc",
|
||||||
"qt/widgets/offroad_alerts.cc", "qt/widgets/prime.cc", "qt/widgets/keyboard.cc",
|
"qt/widgets/offroad_alerts.cc", "qt/widgets/prime.cc", "qt/widgets/keyboard.cc",
|
||||||
"qt/widgets/scrollview.cc", "qt/widgets/cameraview.cc", "#phonelibs/qrcode/QrCode.cc", "qt/api.cc",
|
"qt/widgets/scrollview.cc", "qt/widgets/cameraview.cc", "#third_party/qrcode/QrCode.cc", "qt/api.cc",
|
||||||
"qt/request_repeater.cc"]
|
"qt/request_repeater.cc"]
|
||||||
|
|
||||||
if arch != 'aarch64':
|
if arch != 'aarch64':
|
||||||
|
@ -54,7 +54,7 @@ qt_env.Program("qt/spinner", ["qt/spinner.cc"], LIBS=qt_libs)
|
||||||
qt_src = ["main.cc", "ui.cc", "paint.cc", "qt/sidebar.cc", "qt/onroad.cc",
|
qt_src = ["main.cc", "ui.cc", "paint.cc", "qt/sidebar.cc", "qt/onroad.cc",
|
||||||
"qt/window.cc", "qt/home.cc", "qt/offroad/settings.cc",
|
"qt/window.cc", "qt/home.cc", "qt/offroad/settings.cc",
|
||||||
"qt/offroad/onboarding.cc", "qt/offroad/driverview.cc",
|
"qt/offroad/onboarding.cc", "qt/offroad/driverview.cc",
|
||||||
"#phonelibs/nanovg/nanovg.c"]
|
"#third_party/nanovg/nanovg.c"]
|
||||||
qt_env.Program("_ui", qt_src + [asset_obj], LIBS=qt_libs)
|
qt_env.Program("_ui", qt_src + [asset_obj], LIBS=qt_libs)
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
|
||||||
export QT_PLUGIN_PATH="../../phonelibs/qt-plugins/$(uname -m)"
|
export QT_PLUGIN_PATH="../../third_party/qt-plugins/$(uname -m)"
|
||||||
exec ./_ui
|
exec ./_ui
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue