diff --git a/tests/apis/custom_toolchain/toolchains/modules/private/tools/cl6x/parse_deps.lua b/tests/apis/custom_toolchain/toolchains/modules/core/tools/cl6x/parse_deps.lua similarity index 100% rename from tests/apis/custom_toolchain/toolchains/modules/private/tools/cl6x/parse_deps.lua rename to tests/apis/custom_toolchain/toolchains/modules/core/tools/cl6x/parse_deps.lua diff --git a/xmake/modules/core/project/depend.lua b/xmake/modules/core/project/depend.lua index 4f81481bb19..05b93acf148 100644 --- a/xmake/modules/core/project/depend.lua +++ b/xmake/modules/core/project/depend.lua @@ -44,7 +44,7 @@ function _get_depfiles_parser(depfiles_format) end local parser = depfiles_parsers[depfiles_format] if parser == nil then - parser = import("private.tools." .. depfiles_format .. ".parse_deps", {anonymous = true}) + parser = import("core.tools." .. depfiles_format .. ".parse_deps", {anonymous = true}) depfiles_parsers[depfiles_format] = parser or false end return parser or nil diff --git a/xmake/modules/private/tools/armcc/parse_deps.lua b/xmake/modules/core/tools/armcc/parse_deps.lua similarity index 100% rename from xmake/modules/private/tools/armcc/parse_deps.lua rename to xmake/modules/core/tools/armcc/parse_deps.lua diff --git a/xmake/modules/private/tools/cl/parse_deps.lua b/xmake/modules/core/tools/cl/parse_deps.lua similarity index 100% rename from xmake/modules/private/tools/cl/parse_deps.lua rename to xmake/modules/core/tools/cl/parse_deps.lua diff --git a/xmake/modules/private/tools/cl/parse_deps_json.lua b/xmake/modules/core/tools/cl/parse_deps_json.lua similarity index 100% rename from xmake/modules/private/tools/cl/parse_deps_json.lua rename to xmake/modules/core/tools/cl/parse_deps_json.lua diff --git a/xmake/modules/private/tools/cl/parse_include.lua b/xmake/modules/core/tools/cl/parse_include.lua similarity index 100% rename from xmake/modules/private/tools/cl/parse_include.lua rename to xmake/modules/core/tools/cl/parse_include.lua diff --git a/xmake/modules/private/tools/cl2000/parse_deps.lua b/xmake/modules/core/tools/cl2000/parse_deps.lua similarity index 100% rename from xmake/modules/private/tools/cl2000/parse_deps.lua rename to xmake/modules/core/tools/cl2000/parse_deps.lua diff --git a/xmake/modules/private/tools/cl6x/parse_deps.lua b/xmake/modules/core/tools/cl6x/parse_deps.lua similarity index 100% rename from xmake/modules/private/tools/cl6x/parse_deps.lua rename to xmake/modules/core/tools/cl6x/parse_deps.lua diff --git a/xmake/modules/private/tools/cl_json/parse_deps.lua b/xmake/modules/core/tools/cl_json/parse_deps.lua similarity index 100% rename from xmake/modules/private/tools/cl_json/parse_deps.lua rename to xmake/modules/core/tools/cl_json/parse_deps.lua diff --git a/xmake/modules/private/tools/gcc/parse_deps.lua b/xmake/modules/core/tools/gcc/parse_deps.lua similarity index 100% rename from xmake/modules/private/tools/gcc/parse_deps.lua rename to xmake/modules/core/tools/gcc/parse_deps.lua diff --git a/xmake/modules/private/tools/rc/parse_deps.lua b/xmake/modules/core/tools/rc/parse_deps.lua similarity index 100% rename from xmake/modules/private/tools/rc/parse_deps.lua rename to xmake/modules/core/tools/rc/parse_deps.lua