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