obfuscation-rules.txt 1008 B

1234567891011121314151617181920212223
  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. # Obfuscation options:
  7. # -disable-obfuscation: disable all obfuscations
  8. # -enable-property-obfuscation: obfuscate the property names
  9. # -enable-toplevel-obfuscation: obfuscate the names in the global scope
  10. # -compact: remove unnecessary blank spaces and all line feeds
  11. # -remove-log: remove all console.* statements
  12. # -print-namecache: print the name cache that contains the mapping from the old names to new names
  13. # -apply-namecache: reuse the given cache file
  14. # Keep options:
  15. # -keep-property-name: specifies property names that you want to keep
  16. # -keep-global-name: specifies names that you want to keep in the global scope
  17. -enable-property-obfuscation
  18. -enable-toplevel-obfuscation
  19. -enable-filename-obfuscation
  20. -enable-export-obfuscation