1 Star 0 Fork 89

yorere/applications_camera

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BUILD.gn 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
hufeng 提交于 2021-09-15 10:26 . set package ark haps false
# 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_hap("ark_camera") {
hap_profile = "entry/src/main/config.json"
deps = [
":camera_js_assets",
":camera_resources",
]
js2abc = false
shared_libraries = [ "//third_party/libpng:libpng" ]
certificate_profile = "signature/camera.p7b"
hap_name = "ark_camera"
part_name = "prebuilt_hap"
subsystem_name = "applications"
}
ohos_js_assets("camera_js_assets") {
source_dir = "entry/src/main/js/default"
}
ohos_resources("camera_resources") {
sources = [ "entry/src/main/resources" ]
hap_profile = "entry/src/main/config.json"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yorere/applications_camera.git
git@gitee.com:yorere/applications_camera.git
yorere
applications_camera
applications_camera
master

搜索帮助