forked from qt-creator/qt-creator
Android multi arch support
[ChangeLog][Android] Android multi arch support for qmake Change-Id: Ib8b1874604a3392130c96fbc00b26713b3d788ae Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
BogDan Vatra
parent
567a20843f
commit
6b31f9cf23
@@ -443,8 +443,8 @@ static Abis abiOf(const QByteArray &data)
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
Abi::Abi(const Architecture &a, const OS &o,
|
||||
const OSFlavor &of, const BinaryFormat &f, unsigned char w) :
|
||||
m_architecture(a), m_os(o), m_osFlavor(of), m_binaryFormat(f), m_wordWidth(w)
|
||||
const OSFlavor &of, const BinaryFormat &f, unsigned char w, const QString &p) :
|
||||
m_architecture(a), m_os(o), m_osFlavor(of), m_binaryFormat(f), m_wordWidth(w), m_param(p)
|
||||
{
|
||||
QTC_ASSERT(osSupportsFlavor(o, of), m_osFlavor = UnknownFlavor);
|
||||
}
|
||||
@@ -601,6 +601,13 @@ QString Abi::toString() const
|
||||
return dn.join('-');
|
||||
}
|
||||
|
||||
QString Abi::param() const
|
||||
{
|
||||
if (m_param.isEmpty())
|
||||
return toString();
|
||||
return m_param;
|
||||
}
|
||||
|
||||
bool Abi::operator != (const Abi &other) const
|
||||
{
|
||||
return !operator ==(other);
|
||||
|
||||
Reference in New Issue
Block a user