diff --git a/README.md b/README.md index 29d59973da8002ae5876a13584d292e1126a6ebf..ba93196a749785add633848b94d113e69decaeba 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ deps += ["//commonlibrary/rust/ylong_runtime/ylong_runtime:lib"] ylong_runtime |── docs # User guide |── figures # Structure figures in docspo +|── patches # Patches for ci |── ylong_ffrt | └── src # FFRT rust ffi |── ylong_io diff --git a/README_zh.md b/README_zh.md index 50cb8934bbd74a069bdb356ed3249fac4dbf2790..bab787e3db331ab20084f36a6f9f6e30119dcf29 100644 --- a/README_zh.md +++ b/README_zh.md @@ -19,6 +19,7 @@ ylong_runtime 依赖以下三个库 ylong_runtime |── docs # 使用文档 |── figures # 架构图 +|── patches # 门禁编译需要的补丁 |── ylong_ffrt | └── src # FFRT ffi封装 |── ylong_io diff --git a/patches/patches.json b/patches/patches.json new file mode 100644 index 0000000000000000000000000000000000000000..33f4302fe8fffc71e7ec30c89d95522c38a3ea61 --- /dev/null +++ b/patches/patches.json @@ -0,0 +1,9 @@ +{ + "patches": [ + { + "project":"productdefine_common", + "patch_file":"productdefine.patch", + "path":"productdefine/common" + } + ] +} \ No newline at end of file diff --git a/patches/productdefine.patch b/patches/productdefine.patch new file mode 100644 index 0000000000000000000000000000000000000000..b564ea2d73f36e483d0e2831dacded3bc01825d9 --- /dev/null +++ b/patches/productdefine.patch @@ -0,0 +1,22 @@ +diff --git a/inherit/rich.json b/inherit/rich.json +index d0e522b..76de2d6 100644 +--- a/inherit/rich.json ++++ b/inherit/rich.json +@@ -248,6 +248,10 @@ + { + "component": "memory_utils", + "features": [] ++ }, ++ { ++ "component": "ylong_runtime_mod", ++ "features": [] + } + ] + }, +@@ -1091,4 +1095,4 @@ + ] + } + ] +-} +\ No newline at end of file ++}