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 "sources": [ 22 "./src/main/ets/Test.ets", 23 ], 24 "packages": [ 25 "library", 26 "libentry.so", 27 "libentryone.so", 28 "libentrytwo.so", 29 "libentrythree.so", 30 "libentryfour.so", 31 "har1", 32 "@ohos/hypium" 33 ] 34 } 35 }, 36 "externalNativeOptions": { 37 "path": "./src/main/cpp/CMakeLists.txt", 38 "arguments": "", 39 "cppFlags": "", 40 "abiFilters": [ 41 "arm64-v8a", 42 "x86_64", 43 "armeabi-v7a" 44 ] 45 } 46 }, 47 "buildOptionSet": [ 48 { 49 "name": "release", 50 "arkOptions": { 51 "obfuscation": { 52 "ruleOptions": { 53 "enable": false, 54 "files": [ 55 "./obfuscation-rules.txt" 56 ] 57 } 58 } 59 }, 60 "nativeLib": { 61 "debugSymbol": { 62 "strip": true, 63 "exclude": [] 64 } 65 } 66 }, 67 ], 68 "targets": [ 69 { 70 "name": "default" 71 }, 72 { 73 "name": "ohosTest", 74 } 75 ] 76}