1# Copyright (c) 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_source_set("libarkhybridstep_set") { 17 stack_protector_ret = true 18 defines = [] 19 deps = [] 20 21 include_dirs = [ 22 "./", 23 ] 24 25 sources = [ "debug_step_flags.cpp" ] 26 27 external_deps = [] 28 29 cflags_cc = [ "-Wno-vla-extension" ] 30 31 subsystem_name = "arkcompiler" 32 part_name = "toolchain" 33} 34 35ohos_shared_library("arkhybridstep") 36{ 37 stack_protector_ret = true 38 deps = [ ":libarkhybridstep_set" ] 39 40 install_enable = true 41 external_deps = [] 42 # hiviewdfx libraries 43 external_deps += hiviewdfx_ext_deps 44 if (enable_hilog) { 45 external_deps += [ "hilog:libhilog" ] 46 } 47 48 deps += hiviewdfx_deps 49 50 if (!is_mingw && !is_mac) { 51 output_extension = "so" 52 } 53 54 if (!is_standard_system) { 55 relative_install_dir = "ark" 56 } 57 subsystem_name = "arkcompiler" 58 part_name = "toolchain" 59 output_name = "libarkhybridstep" 60}