1b8a72a62Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
2b8a72a62Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3b8a72a62Sopenharmony_ci# you may not use this file except in compliance with the License.
4b8a72a62Sopenharmony_ci# You may obtain a copy of the License at
5b8a72a62Sopenharmony_ci#
6b8a72a62Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7b8a72a62Sopenharmony_ci#
8b8a72a62Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9b8a72a62Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10b8a72a62Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11b8a72a62Sopenharmony_ci# See the License for the specific language governing permissions and
12b8a72a62Sopenharmony_ci# limitations under the License.
13b8a72a62Sopenharmony_ci
14b8a72a62Sopenharmony_ciimport("//build/ohos.gni")
15b8a72a62Sopenharmony_ci
16b8a72a62Sopenharmony_ciohos_executable("ohos_packing_tool") {
17b8a72a62Sopenharmony_ci  include_dirs = [ "include" ]
18b8a72a62Sopenharmony_ci  sources = [
19b8a72a62Sopenharmony_ci    "src/hap_packager.cpp",
20b8a72a62Sopenharmony_ci    "src/hsp_packager.cpp",
21b8a72a62Sopenharmony_ci    "src/main.cpp",
22b8a72a62Sopenharmony_ci    "src/packager.cpp",
23b8a72a62Sopenharmony_ci    "src/shell_command.cpp",
24b8a72a62Sopenharmony_ci  ]
25b8a72a62Sopenharmony_ci  configs = []
26b8a72a62Sopenharmony_ci  cflags = []
27b8a72a62Sopenharmony_ci  external_deps = [
28b8a72a62Sopenharmony_ci    "json:nlohmann_json_static",
29b8a72a62Sopenharmony_ci    "zlib:libz",
30b8a72a62Sopenharmony_ci  ]
31b8a72a62Sopenharmony_ci  install_enable = false
32b8a72a62Sopenharmony_ci  subsystem_name = "developtools"
33b8a72a62Sopenharmony_ci  part_name = "packing_tool"
34b8a72a62Sopenharmony_ci}
35