From 7c5d9e6dcef983fd85c3b0158ddfcc6df0a2acf3 Mon Sep 17 00:00:00 2001 From: hzt Date: Fri, 6 Jun 2025 17:26:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=20CommentReply=20?= =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E7=BC=96=E8=AF=91=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- products/default/obfuscation-rules.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 products/default/obfuscation-rules.txt diff --git a/products/default/obfuscation-rules.txt b/products/default/obfuscation-rules.txt new file mode 100644 index 0000000..272efb6 --- /dev/null +++ b/products/default/obfuscation-rules.txt @@ -0,0 +1,23 @@ +# Define project specific obfuscation rules here. +# You can include the obfuscation configuration files in the current module's build-profile.json5. +# +# For more details, see +# https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/source-obfuscation-V5 + +# Obfuscation options: +# -disable-obfuscation: disable all obfuscations +# -enable-property-obfuscation: obfuscate the property names +# -enable-toplevel-obfuscation: obfuscate the names in the global scope +# -compact: remove unnecessary blank spaces and all line feeds +# -remove-log: remove all console.* statements +# -print-namecache: print the name cache that contains the mapping from the old names to new names +# -apply-namecache: reuse the given cache file + +# Keep options: +# -keep-property-name: specifies property names that you want to keep +# -keep-global-name: specifies names that you want to keep in the global scope + +-enable-property-obfuscation +-enable-toplevel-obfuscation +-enable-filename-obfuscation +-enable-export-obfuscation \ No newline at end of file -- Gitee