Files
clang-p2996/lldb/source/Plugins/Platform/Android/CMakeLists.txt
Kazuki Sakamoto fabd16c746 [lldb][Android] Add platform.plugin.remote-android.package-name
When LLDB fails to pull file from a package directory due to security
constraint, user needs to set the package name to
'platform.plugin.remote-android.package-name' property to run shell commands
as the package user. (e.g. to get file with 'cat' and 'dd').

https://cs.android.com/android/platform/superproject/+/master:
system/core/run-as/run-as.cpp;l=39-61;
drc=4a77a84a55522a3b122f9c63ef0d0b8a6a131627

Differential Revision: https://reviews.llvm.org/D152933
2023-06-20 16:17:21 -07:00

26 lines
708 B
CMake

lldb_tablegen(PlatformAndroidProperties.inc -gen-lldb-property-defs
SOURCE PlatformAndroidProperties.td
TARGET LLDBPluginPlatformAndroidPropertiesGen)
lldb_tablegen(PlatformAndroidPropertiesEnum.inc -gen-lldb-property-enum-defs
SOURCE PlatformAndroidProperties.td
TARGET LLDBPluginPlatformAndroidPropertiesEnumGen)
add_lldb_library(lldbPluginPlatformAndroid PLUGIN
AdbClient.cpp
PlatformAndroid.cpp
PlatformAndroidRemoteGDBServer.cpp
LINK_LIBS
lldbCore
lldbHost
lldbPluginPlatformLinux
lldbPluginPlatformGDB
LINK_COMPONENTS
Support
)
add_dependencies(lldbPluginPlatformAndroid
LLDBPluginPlatformAndroidPropertiesGen
LLDBPluginPlatformAndroidPropertiesEnumGen)