Clang: Android: fix clang code model errors

Add missing gcc include directories in Android toolchain.
This introduces the similar "magic" that we have in qmake
(*qtsource*/qtbase/mkspecs/common/android-base-head.conf)
but allows us to have those paths wherever we use android
toolchain.

Change-Id: I5740f1f2339fd30670567f24db2be2454f665f41
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Ivan Donchevskii
2017-11-06 16:00:25 +01:00
parent 1601f53542
commit 08e3d8f011
5 changed files with 119 additions and 40 deletions

View File

@@ -45,7 +45,7 @@ public:
bool operator ==(const ProjectExplorer::ToolChain &) const override;
ProjectExplorer::ToolChainConfigWidget *configurationWidget() override;
virtual Utils::FileName suggestedDebugger() const override;
Utils::FileName suggestedDebugger() const override;
Utils::FileName suggestedGdbServer() const;
QVariantMap toMap() const override;
@@ -58,6 +58,8 @@ public:
bool isSecondaryToolChain() const;
void setSecondaryToolChain(bool b);
SystemHeaderPathsRunner createSystemHeaderPathsRunner() const override;
protected:
DetectedAbisResult detectSupportedAbis() const override;