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_event_loop_build] 19// [Start napi_ark_runtime_build] 20 "buildOption": { 21 "arkOptions" : { 22 "runtimeOnly" : { 23 "sources": [ 24 "./src/main/ets/pages/ObjectUtils.ets" 25 ] 26 } 27 }, 28// [End napi_event_loop_build] 29// [Start napi_ark_runtime_build] 30 "externalNativeOptions": { 31 "path": "./src/main/cpp/CMakeLists.txt", 32 "arguments": "", 33 "cppFlags": "", 34 "abiFilters": [ 35 "arm64-v8a", 36 "x86_64", 37 "armeabi-v7a" 38 ] 39 } 40 }, 41 "buildOptionSet": [ 42 { 43 "name": "release", 44 "arkOptions": { 45 "obfuscation": { 46 "ruleOptions": { 47 "enable": false, 48 "files": [ 49 "./obfuscation-rules.txt" 50 ] 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}