Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame^] | 1 | //===-- HostInfoAndroid.h ---------------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef lldb_Host_android_HostInfoAndroid_h_ |
| 10 | #define lldb_Host_android_HostInfoAndroid_h_ |
| 11 | |
| 12 | #include "lldb/Host/linux/HostInfoLinux.h" |
| 13 | |
| 14 | namespace lldb_private { |
| 15 | |
| 16 | class HostInfoAndroid : public HostInfoLinux { |
| 17 | friend class HostInfoBase; |
| 18 | |
| 19 | public: |
| 20 | static FileSpec GetDefaultShell(); |
| 21 | static FileSpec ResolveLibraryPath(const std::string &path, |
| 22 | const ArchSpec &arch); |
| 23 | |
| 24 | protected: |
| 25 | static void ComputeHostArchitectureSupport(ArchSpec &arch_32, |
| 26 | ArchSpec &arch_64); |
| 27 | static bool ComputeTempFileBaseDirectory(FileSpec &file_spec); |
| 28 | }; |
| 29 | |
| 30 | } // end of namespace lldb_private |
| 31 | |
| 32 | #endif // #ifndef lldb_Host_android_HostInfoAndroid_h_ |