1cc290419Sopenharmony_ci# Copyright (C) 2021 Huawei Device Co., Ltd. 2cc290419Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3cc290419Sopenharmony_ci# you may not use this file except in compliance with the License. 4cc290419Sopenharmony_ci# You may obtain a copy of the License at 5cc290419Sopenharmony_ci# 6cc290419Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7cc290419Sopenharmony_ci# 8cc290419Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9cc290419Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10cc290419Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11cc290419Sopenharmony_ci# See the License for the specific language governing permissions and 12cc290419Sopenharmony_ci# limitations under the License. 13cc290419Sopenharmony_ciimport("//build/ohos.gni") 14cc290419Sopenharmony_ci 15cc290419Sopenharmony_ci#Purpose: For jdwp test 16cc290419Sopenharmony_ciohos_executable("jdwp_test") { 17cc290419Sopenharmony_ci cflags_cc = [ "-std=c++17" ] 18cc290419Sopenharmony_ci defines = [ "JS_JDWP_CONNECT" ] 19cc290419Sopenharmony_ci sources = [ 20cc290419Sopenharmony_ci "HdcJdwpSimulator.cpp", 21cc290419Sopenharmony_ci "main.cpp", 22cc290419Sopenharmony_ci ] 23cc290419Sopenharmony_ci deps = [ "//third_party/libuv:uv" ] 24cc290419Sopenharmony_ci external_deps = [ 25cc290419Sopenharmony_ci "c_utils:utils", 26cc290419Sopenharmony_ci "hilog:libhilog", 27cc290419Sopenharmony_ci ] 28cc290419Sopenharmony_ci include_dirs = [ 29cc290419Sopenharmony_ci "//third_party/bounds_checking_function/include", 30cc290419Sopenharmony_ci "//third_party/libuv", 31cc290419Sopenharmony_ci ] 32cc290419Sopenharmony_ci install_enable = true 33cc290419Sopenharmony_ci subsystem_name = "developtools" 34cc290419Sopenharmony_ci part_name = "hdc" 35cc290419Sopenharmony_ci} 36