100600bfbSopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd.
200600bfbSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
300600bfbSopenharmony_ci# you may not use this file except in compliance with the License.
400600bfbSopenharmony_ci# You may obtain a copy of the License at
500600bfbSopenharmony_ci#
600600bfbSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
700600bfbSopenharmony_ci#
800600bfbSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
900600bfbSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1000600bfbSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1100600bfbSopenharmony_ci# See the License for the specific language governing permissions and
1200600bfbSopenharmony_ci# limitations under the License.
1300600bfbSopenharmony_ci
1400600bfbSopenharmony_ciimport("../../hidumper.gni")
1500600bfbSopenharmony_ci
1600600bfbSopenharmony_ciconfig("innerkits_test_config") {
1700600bfbSopenharmony_ci  visibility = [ ":*" ]
1800600bfbSopenharmony_ci
1900600bfbSopenharmony_ci  include_dirs = [ "../../interfaces/innerkits/include" ]
2000600bfbSopenharmony_ci}
2100600bfbSopenharmony_ci
2200600bfbSopenharmony_ciohos_executable("innerkits_test") {
2300600bfbSopenharmony_ci  install_enable = true
2400600bfbSopenharmony_ci
2500600bfbSopenharmony_ci  configs = [ ":innerkits_test_config" ]
2600600bfbSopenharmony_ci  sources = [ "main.cpp" ]
2700600bfbSopenharmony_ci  deps = [ "../../interfaces/innerkits:lib_dump_usage" ]
2800600bfbSopenharmony_ci  external_deps = [ "hilog:libhilog" ]
2900600bfbSopenharmony_ci
3000600bfbSopenharmony_ci  defines = []
3100600bfbSopenharmony_ci  if (hidumper_hiviewdfx_hiview_enable) {
3200600bfbSopenharmony_ci    defines += [ "HIDUMPER_HIVIEWDFX_HIVIEW_ENABLE" ]
3300600bfbSopenharmony_ci  }
3400600bfbSopenharmony_ci
3500600bfbSopenharmony_ci  subsystem_name = "hiviewdfx"
3600600bfbSopenharmony_ci  part_name = "hidumper"
3700600bfbSopenharmony_ci}
38