mib created this revision. mib added a reviewer: bulbazord. mib added a project: LLDB. Herald added a subscriber: JDevlieghere. Herald added a project: All. mib requested review of this revision. Herald added a subscriber: lldb-commits.
This patch should fix the creation and addition of the `scripted_platform` python module into the `lldb.plugins` module. Previously, we were creating the `plugins` submodule, each time with a different source file (either `scripted_process` or `scripted_platform`). The removes the redundant `create_python_package` call and group both python source files toghether. Signed-off-by: Med Ismail Bennani <medismail.benn...@gmail.com> Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D143122 Files: lldb/bindings/python/CMakeLists.txt Index: lldb/bindings/python/CMakeLists.txt =================================================================== --- lldb/bindings/python/CMakeLists.txt +++ lldb/bindings/python/CMakeLists.txt @@ -103,13 +103,7 @@ ${lldb_python_target_dir} "plugins" FILES - "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_process.py") - - create_python_package( - ${swig_target} - ${lldb_python_target_dir} - "plugins" - FILES + "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_process.py" "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_platform.py") if(APPLE)
Index: lldb/bindings/python/CMakeLists.txt =================================================================== --- lldb/bindings/python/CMakeLists.txt +++ lldb/bindings/python/CMakeLists.txt @@ -103,13 +103,7 @@ ${lldb_python_target_dir} "plugins" FILES - "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_process.py") - - create_python_package( - ${swig_target} - ${lldb_python_target_dir} - "plugins" - FILES + "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_process.py" "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_platform.py") if(APPLE)
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits