• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2025 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{
17  "apiType": "stageMode",
18  "buildOption": {
19    "arkOptions": {
20      "runtimeOnly": {
21        "packages": [
22          "har2",
23          "libhar1.so"
24        ]
25      }
26    },
27    "externalNativeOptions": {
28      "path": "./src/main/cpp/CMakeLists.txt",
29      "arguments": "",
30      "cppFlags": "",
31      "abiFilters": [
32        "arm64-v8a",
33        "x86_64",
34        "armeabi-v7a"
35      ]
36    }
37  },
38  "buildOptionSet": [
39    {
40      "name": "release",
41      "arkOptions": {
42        "obfuscation": {
43          "ruleOptions": {
44            "enable": false,
45            "files": [
46              "./obfuscation-rules.txt"
47            ]
48          },
49          "consumerFiles": [
50            "./consumer-rules.txt"
51          ]
52        }
53      },
54      "nativeLib": {
55        "debugSymbol": {
56          "strip": true,
57          "exclude": []
58        }
59      },
60    },
61  ],
62  "targets": [
63    {
64      "name": "default"
65    },
66    {
67      "name": "ohosTest"
68    }
69  ]
70}