代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/applications_hap 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/ohos.gni")
ohos_prebuilt_etc("launcher_hap") {
source = "Launcher.hap"
module_install_dir = "app/com.ohos.launcher"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("launcher_settings_hap") {
source = "Launcher_Settings.hap"
module_install_dir = "app/com.ohos.launcher"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("settings_hap") {
source = "Settings.hap"
module_install_dir = "app/com.ohos.settings"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("note_hap") {
source = "Note.hap"
module_install_dir = "app/com.ohos.note"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("settingsData_hap") {
source = "SettingsData.hap"
module_install_dir = "app/com.ohos.settingsdata"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("navigationBar_hap") {
source = "SystemUI-NavigationBar.hap"
module_install_dir = "app/com.ohos.systemui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("statusBar_hap") {
source = "SystemUI-StatusBar.hap"
module_install_dir = "app/com.ohos.systemui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("screenLock_hap") {
source = "SystemUI-ScreenLock.hap"
module_install_dir = "app/com.ohos.systemui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("notificationManagement_hap") {
source = "SystemUI-NotificationManagement.hap"
module_install_dir = "app/com.ohos.systemui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("volumePanel_hap") {
source = "SystemUI-VolumePanel.hap"
module_install_dir = "app/com.ohos.systemui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("dropdownPanel_hap") {
source = "SystemUI-DropdownPanel.hap"
module_install_dir = "app/com.ohos.systemui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("systemui_hap") {
source = "SystemUI.hap"
module_install_dir = "app/com.ohos.systemui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("systemDialog_hap") {
source = "SystemUI-SystemDialog.hap"
module_install_dir = "app/com.ohos.systemui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("screen_shot_hap") {
source = "ScreenShot.hap"
module_install_dir = "app/com.ohos.screenshot"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("clock_demo_hap") {
source = "Clock_Demo.hap"
module_install_dir = "app/ohos.samples.clock"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("calc_demo_hap") {
source = "Calc_Demo.hap"
module_install_dir = "app/com.example.distributedcalc"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("photos_hap") {
source = "Photos.hap"
module_install_dir = "app/com.ohos.photos"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("music_demo_hap") {
source = "Music_Demo.hap"
module_install_dir = "app/com.ohos.distributedmusicplayer"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("demo.wav") {
source = "resources/demo.wav"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("dynamic.wav") {
source = "resources/dynamic.wav"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("camera_hap") {
source = "Camera.hap"
module_install_dir = "app/com.ohos.camera"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("capture.ogg") {
source = "resources/capture.ogg"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("kika_input_hap") {
source = "kikaInput.hap"
module_install_dir = "app/com.example.kikakeyboard"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("media_library_hap") {
source = "Media_Library.hap"
module_install_dir = "app/com.ohos.medialibrary.MediaLibraryDataA"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("media_scanner_hap") {
source = "Media_Scanner.hap"
module_install_dir = "app/com.ohos.medialibrary.MediaScannerAbilityA"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("callUI_hap") {
source = "CallUI.hap"
module_install_dir = "app/com.ohos.callui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("mobileDataSettings_hap") {
source = "MobileDataSettings.hap"
module_install_dir = "app/com.ohos.callui"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("mms_hap") {
source = "Mms.hap"
module_install_dir = "app/com.ohos.mms"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("contacts_hap") {
source = "Contacts.hap"
module_install_dir = "app/com.ohos.contacts"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("settings_faceauth_hap") {
source = "Settings_FaceAuth.hap"
module_install_dir = "app/com.ohos.settings.faceauth"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("filepicker_hap") {
source = "FilePicker.hap"
module_install_dir = "app/com.ohos.filepicker"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("external.json") {
source = "resources/external.json"
relative_install_dir = "notification_template"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("downloadTemplate.abc") {
source = "resources/downloadTemplate.abc"
relative_install_dir = "notification_template/assets/js"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("downloadTemplate.js") {
source = "resources/downloadTemplate.js"
relative_install_dir = "notification_template/assets/js"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("certificate_manager_hap") {
source = "CertificateManager.hap"
module_install_dir = "app/com.ohos.certificatemanager"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_prebuilt_etc("updateapp_hap") {
source = "UpdateApp.hap"
module_install_dir = "app/com.ohos.updateapp"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
group("hap") {
deps = [
":systemDialog_hap",
":updateapp_hap",
"//applications/standard/hap:calc_demo_hap",
"//applications/standard/hap:callUI_hap",
"//applications/standard/hap:camera_hap",
"//applications/standard/hap:capture.ogg",
"//applications/standard/hap:certificate_manager_hap",
"//applications/standard/hap:clock_demo_hap",
"//applications/standard/hap:contacts_hap",
"//applications/standard/hap:demo.wav",
"//applications/standard/hap:downloadTemplate.abc",
"//applications/standard/hap:downloadTemplate.js",
"//applications/standard/hap:dropdownPanel_hap",
"//applications/standard/hap:dynamic.wav",
"//applications/standard/hap:external.json",
"//applications/standard/hap:filepicker_hap",
"//applications/standard/hap:kika_input_hap",
"//applications/standard/hap:launcher_hap",
"//applications/standard/hap:launcher_settings_hap",
"//applications/standard/hap:mms_hap",
"//applications/standard/hap:mobileDataSettings_hap",
"//applications/standard/hap:music_demo_hap",
"//applications/standard/hap:navigationBar_hap",
"//applications/standard/hap:note_hap",
"//applications/standard/hap:notificationManagement_hap",
"//applications/standard/hap:photos_hap",
"//applications/standard/hap:screenLock_hap",
"//applications/standard/hap:screen_shot_hap",
"//applications/standard/hap:settingsData_hap",
"//applications/standard/hap:settings_faceauth_hap",
"//applications/standard/hap:settings_hap",
"//applications/standard/hap:statusBar_hap",
"//applications/standard/hap:systemui_hap",
"//applications/standard/hap:volumePanel_hap",
]
if (defined(product_name) && product_name == "watchos") {
deps -= [
":systemDialog_hap",
":updateapp_hap",
"//applications/standard/hap:calc_demo_hap",
"//applications/standard/hap:callUI_hap",
"//applications/standard/hap:camera_hap",
"//applications/standard/hap:capture.ogg",
"//applications/standard/hap:certificate_manager_hap",
"//applications/standard/hap:contacts_hap",
"//applications/standard/hap:demo.wav",
"//applications/standard/hap:downloadTemplate.abc",
"//applications/standard/hap:downloadTemplate.js",
"//applications/standard/hap:dropdownPanel_hap",
"//applications/standard/hap:dynamic.wav",
"//applications/standard/hap:external.json",
"//applications/standard/hap:kika_input_hap",
"//applications/standard/hap:mms_hap",
"//applications/standard/hap:mobileDataSettings_hap",
"//applications/standard/hap:music_demo_hap",
"//applications/standard/hap:navigationBar_hap",
"//applications/standard/hap:notificationManagement_hap",
"//applications/standard/hap:photos_hap",
"//applications/standard/hap:screenLock_hap",
"//applications/standard/hap:screen_shot_hap",
"//applications/standard/hap:settingsData_hap",
"//applications/standard/hap:settings_faceauth_hap",
"//applications/standard/hap:settings_hap",
"//applications/standard/hap:statusBar_hap",
"//applications/standard/hap:systemui_hap",
"//applications/standard/hap:volumePanel_hap",
]
} else if (defined(product_name) && product_name == "rk3568") {
deps +=
[ "//applications/standard/admin_provisioning:adminprovisioning_hap" ]
} else if (defined(product_name) && product_name == "ohos-arm64") {
deps +=
[ "//applications/standard/admin_provisioning:adminprovisioning_hap" ]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。