pmt: scripts: update header generator script

This commit is contained in:
2024-10-27 14:04:12 +03:00
parent 9980b79d45
commit 3d277807c6

View File

@@ -14,13 +14,17 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
[ -z ${NDK_ROOT_DIR} ] \ [ -z ${NDK_ROOT_DIR} ] && \
&& echo "Please set NDK_ROOT_DIR variable!" \ {
&& exit 1 echo "Please set NDK_ROOT_DIR variable!"
exit 1
}
[ -z ${NDK_PROJECT_PATH} ] \ [ -z ${NDK_PROJECT_PATH} ] && \
&& echo "Please set NDK_PROJECT_PATH variable!" \ {
&& exit 1 echo "Please set NDK_PROJECT_PATH variable!"
exit 1
}
CXX_IS="${NDK_ROOT_DIR}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang++" CXX_IS="${NDK_ROOT_DIR}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang++"
CXX_VERS=$(${CXX_IS} --version | head -n 1) CXX_VERS=$(${CXX_IS} --version | head -n 1)