From 2227430b170c2d4afdd0bec18475f1852da49ca0 Mon Sep 17 00:00:00 2001 From: hu-kai45 Date: Tue, 4 Jul 2023 09:44:44 +0800 Subject: [PATCH] =?UTF-8?q?ylong=5Fruntime=20=E6=B7=BB=E5=8A=A0=20patches?= =?UTF-8?q?=20=E4=BB=A5=E4=BE=BF=E9=97=A8=E7=A6=81=E5=85=A8=E9=87=8F?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hu-kai45 --- README.md | 1 + README_zh.md | 1 + patches/patches.json | 9 +++++++++ patches/productdefine.patch | 22 ++++++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 patches/patches.json create mode 100644 patches/productdefine.patch diff --git a/README.md b/README.md index 29d5997..ba93196 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 50cb893..bab787e 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 0000000..33f4302 --- /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 0000000..b564ea2 --- /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 ++} -- Gitee