1bc03f14fSopenharmony_ci# Copyright (c) 2022-2023 Huawei Device Co., Ltd. 2bc03f14fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3bc03f14fSopenharmony_ci# you may not use this file except in compliance with the License. 4bc03f14fSopenharmony_ci# You may obtain a copy of the License at 5bc03f14fSopenharmony_ci# 6bc03f14fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7bc03f14fSopenharmony_ci# 8bc03f14fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9bc03f14fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10bc03f14fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11bc03f14fSopenharmony_ci# See the License for the specific language governing permissions and 12bc03f14fSopenharmony_ci# limitations under the License. 13bc03f14fSopenharmony_ci 14bc03f14fSopenharmony_ciimport("//build/ohos.gni") 15bc03f14fSopenharmony_ci 16bc03f14fSopenharmony_cigroup("pasteboard_dialog") { 17bc03f14fSopenharmony_ci deps = [ ":pasteboard_dialog_hap" ] 18bc03f14fSopenharmony_ci} 19bc03f14fSopenharmony_ci 20bc03f14fSopenharmony_ciohos_hap("pasteboard_dialog_hap") { 21bc03f14fSopenharmony_ci hap_profile = "PasteboardDialog/entry/src/main/module.json" 22bc03f14fSopenharmony_ci 23bc03f14fSopenharmony_ci deps = [ 24bc03f14fSopenharmony_ci ":pasteboard_dialog_js_assets", 25bc03f14fSopenharmony_ci ":pasteboard_dialog_resources", 26bc03f14fSopenharmony_ci ] 27bc03f14fSopenharmony_ci 28bc03f14fSopenharmony_ci certificate_profile = 29bc03f14fSopenharmony_ci "PasteboardDialog/signature/com.ohos.pasteboarddialog.p7b" 30bc03f14fSopenharmony_ci hap_name = "pasteboard_dialog" 31bc03f14fSopenharmony_ci subsystem_name = "applications" 32bc03f14fSopenharmony_ci part_name = "prebuilt_hap" 33bc03f14fSopenharmony_ci module_install_dir = "app/com.ohos.pasteboarddialog" 34bc03f14fSopenharmony_ci} 35bc03f14fSopenharmony_ci 36bc03f14fSopenharmony_ciohos_js_assets("pasteboard_dialog_js_assets") { 37bc03f14fSopenharmony_ci hap_profile = "PasteboardDialog/entry/src/main/module.json" 38bc03f14fSopenharmony_ci ets2abc = true 39bc03f14fSopenharmony_ci source_dir = "PasteboardDialog/entry/src/main/ets" 40bc03f14fSopenharmony_ci} 41bc03f14fSopenharmony_ci 42bc03f14fSopenharmony_ciohos_app_scope("pasteboard_dialog_app_profile") { 43bc03f14fSopenharmony_ci app_profile = "PasteboardDialog/AppScope/app.json" 44bc03f14fSopenharmony_ci sources = [ "PasteboardDialog/AppScope/resources" ] 45bc03f14fSopenharmony_ci} 46bc03f14fSopenharmony_ci 47bc03f14fSopenharmony_ciohos_resources("pasteboard_dialog_resources") { 48bc03f14fSopenharmony_ci sources = [ "PasteboardDialog/entry/src/main/resources" ] 49bc03f14fSopenharmony_ci deps = [ ":pasteboard_dialog_app_profile" ] 50bc03f14fSopenharmony_ci hap_profile = "PasteboardDialog/entry/src/main/module.json" 51bc03f14fSopenharmony_ci} 52