1# Copyright (c) 2021-2025 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("../toolchain.gni") 15 16ohos_shared_library("libark_ecma_debugger") { 17 stack_protector_ret = true 18 deps = [ "./dynamic/:libark_ecma_debugger_static" ] 19 install_enable = true 20 21 if (is_mingw || is_win) { 22 output_extension = "dll" 23 } else if (is_mac) { 24 output_extension = "dylib" 25 } else { 26 output_extension = "so" 27 } 28 29 part_name = "toolchain" 30 subsystem_name = "arkcompiler" 31 output_name = "libark_tooling" 32} 33 34ohos_shared_library("libarkinspector_plus") { 35 deps = [ 36 "./static/:libarkinspector_plus_static", 37 ] 38 39 install_enable = true 40 external_deps = [ 41 "runtime_core:arktsdisassembler", 42 "runtime_core:libarktsbase", 43 "runtime_core:libarkruntime", 44 ] 45 46 external_deps += hiviewdfx_ext_deps 47 48 if (is_mingw || is_win) { 49 output_extension = "dll" 50 } else if (is_mac) { 51 output_extension = "dylib" 52 } else { 53 output_extension = "so" 54 } 55 56 output_name = "arkinspector" 57 part_name = "toolchain" 58 subsystem_name = "arkcompiler" 59} 60 61