1# Define project specific obfuscation rules here.
2# You can include the obfuscation configuration files in the current module's build-profile.json5.
3#
4# For more details, see
5#   https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/source-obfuscation-V5
6
7# Obfuscation options:
8# -disable-obfuscation: disable all obfuscations
9# -enable-property-obfuscation: obfuscate the property names
10# -enable-toplevel-obfuscation: obfuscate the names in the global scope
11# -compact: remove unnecessary blank spaces and all line feeds
12# -remove-log: remove all console.* statements
13# -print-namecache: print the name cache that contains the mapping from the old names to new names
14# -apply-namecache: reuse the given cache file
15
16# Keep options:
17# -keep-property-name: specifies property names that you want to keep
18# -keep-global-name: specifies names that you want to keep in the global scope
19
20-enable-property-obfuscation
21-enable-toplevel-obfuscation
22-enable-filename-obfuscation
23-enable-export-obfuscation