# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Qt-Security score:significant reason:build-tool
from __future__ import annotations
from pathlib import Path

# maps instruction set to Android platform names
platform_map = {"aarch64": "arm64-v8a",
                "x86_64": "x86_64",
                "arm64-v8a": "arm64-v8a"}

ANDROID_DEPLOY_CACHE = Path.home() / ".pyside6_android_deploy"

# PySide6 modules that are built from PySide sources alone and have no Qt
# library behind them. There is no libQt6<name> to read Qt dependencies
# from, so they are skipped when the dependent modules are collected.
PYSIDE_ONLY_MODULES = {"Asyncio", "QmlFeatures"}

from .android_helper import (create_recipe, extract_and_copy_jar, get_wheel_android_arch,
                             AndroidData, get_llvm_readobj, find_lib_dependencies,
                             find_qtlibs_in_wheel)
from .android_config import AndroidConfig
