119e95205Sopenharmony_ci/*
219e95205Sopenharmony_ci * Copyright (c) 2024 Huawei Device Co., Ltd.
319e95205Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
419e95205Sopenharmony_ci * you may not use this file except in compliance with the License.
519e95205Sopenharmony_ci * You may obtain a copy of the License at
619e95205Sopenharmony_ci *
719e95205Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
819e95205Sopenharmony_ci *
919e95205Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1019e95205Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1119e95205Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1219e95205Sopenharmony_ci * See the License for the specific language governing permissions and
1319e95205Sopenharmony_ci * limitations under the License.
1419e95205Sopenharmony_ci */
1519e95205Sopenharmony_ci
1619e95205Sopenharmony_ci{
1719e95205Sopenharmony_ci  "apiType": "stageMode",
1819e95205Sopenharmony_ci  "buildOption": {
1919e95205Sopenharmony_ci    "arkOptions": {
2019e95205Sopenharmony_ci      // "apPath": "./modules.ap"  /* Profile used for profile-guided optimization (PGO), a compiler optimization technique to improve app runtime performance. */
2119e95205Sopenharmony_ci    },
2219e95205Sopenharmony_ci    "sourceOption": {
2319e95205Sopenharmony_ci      "workers":[
2419e95205Sopenharmony_ci        './src/main/ets/workers/Worker.ets'
2519e95205Sopenharmony_ci      ]
2619e95205Sopenharmony_ci    }
2719e95205Sopenharmony_ci  },
2819e95205Sopenharmony_ci  "buildOptionSet": [
2919e95205Sopenharmony_ci    {
3019e95205Sopenharmony_ci      "name": "release",
3119e95205Sopenharmony_ci      "arkOptions": {
3219e95205Sopenharmony_ci        "obfuscation": {
3319e95205Sopenharmony_ci          "ruleOptions": {
3419e95205Sopenharmony_ci            "enable": true,
3519e95205Sopenharmony_ci            "files": [
3619e95205Sopenharmony_ci              "./obfuscation-rules.txt"
3719e95205Sopenharmony_ci            ]
3819e95205Sopenharmony_ci          }
3919e95205Sopenharmony_ci        }
4019e95205Sopenharmony_ci      }
4119e95205Sopenharmony_ci    },
4219e95205Sopenharmony_ci  ],
4319e95205Sopenharmony_ci  "targets": [
4419e95205Sopenharmony_ci    {
4519e95205Sopenharmony_ci      "name": "default"
4619e95205Sopenharmony_ci    },
4719e95205Sopenharmony_ci    {
4819e95205Sopenharmony_ci      "name": "ohosTest",
4919e95205Sopenharmony_ci    }
5019e95205Sopenharmony_ci  ]
5119e95205Sopenharmony_ci}