1/*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16# Define project specific obfuscation rules here.
17# You can include the obfuscation configuration files in the current module's build-profile.json5.
18#
19# For more details, see
20#   https://gitee.com/openharmony/arkcompiler_ets_frontend/blob/master/arkguard/README.md
21
22# Obfuscation options:
23# -disable-obfuscation: disable all obfuscations
24# -enable-property-obfuscation: obfuscate the property names
25# -enable-toplevel-obfuscation: obfuscate the names in the global scope
26# -compact: remove unnecessary blank spaces and all line feeds
27# -remove-log: remove all console.* statements
28# -print-namecache: print the name cache that contains the mapping from the old names to new names
29# -apply-namecache: reuse the given cache file
30
31# Keep options:
32# -keep-property-name: specifies property names that you want to keep
33# -keep-global-name: specifies names that you want to keep in the global scope