提交 c56d0375 编写于 作者: O openharmony_ci 提交者: Gitee

!4 modify build.gn to install lib/bin to system and updater images

Merge pull request !4 from 熊磊/libpng123
......@@ -34,7 +34,9 @@ if (defined(ohos_lite)) {
public_configs = [ ":libpng_config" ]
deps = [ "//build/lite/config/component/zlib:zlib_shared" ]
deps = [
"//build/lite/config/component/zlib:zlib_shared",
]
}
} else {
import("//build/ohos.gni")
......@@ -71,9 +73,16 @@ if (defined(ohos_lite)) {
}
ohos_shared_library("libpng") {
deps = [ ":libpng_static" ]
deps = [
":libpng_static",
]
public_configs = [ ":libpng_config" ]
subsystem_name = "common"
install_images = [
"system",
"updater",
]
part_name = "graphic_standard"
}
ohos_static_library("libpng_static") {
......@@ -102,7 +111,9 @@ if (defined(ohos_lite)) {
"//third_party/libpng",
"//third_party/zlib",
]
deps = [ "//third_party/zlib:libz" ]
deps = [
"//third_party/zlib:libz",
]
public_configs = [ ":libpng_config" ]
subsystem_name = "common"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册