2021-09-14 07:07:27 +00:00
|
|
|
# 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")
|
2022-09-13 02:49:40 +00:00
|
|
|
import("//foundation/multimedia/image_framework/ide/image_decode_config.gni")
|
2021-09-14 07:07:27 +00:00
|
|
|
|
|
|
|
group("multimediaplugin") {
|
|
|
|
if (use_mingw_win || use_clang_mac) {
|
|
|
|
deps = [
|
|
|
|
"image/formatagentplugin:formatagentmetadata",
|
|
|
|
"image/formatagentplugin:imageformatagent",
|
2024-04-11 02:10:28 +00:00
|
|
|
"image/libgifplugin:gifplugin",
|
|
|
|
"image/libgifplugin:gifpluginmetadata",
|
2021-09-14 07:07:27 +00:00
|
|
|
"image/libjpegplugin:jpegplugin",
|
|
|
|
"image/libjpegplugin:jpegpluginmetadata",
|
|
|
|
"image/libpngplugin:pngplugin",
|
|
|
|
"image/libpngplugin:pngpluginmetadata",
|
2022-08-15 05:53:45 +00:00
|
|
|
"image/librawplugin:rawplugin",
|
|
|
|
"image/librawplugin:rawpluginmetadata",
|
2023-01-30 03:36:26 +00:00
|
|
|
"image/libsvgplugin:svgplugin",
|
|
|
|
"image/libsvgplugin:svgpluginmetadata",
|
2022-09-13 02:49:40 +00:00
|
|
|
"//foundation/multimedia/image_framework/adapter/frameworks/libbmpplugin:bmpplugin",
|
|
|
|
"//foundation/multimedia/image_framework/adapter/frameworks/libbmpplugin:bmppluginmetadata",
|
|
|
|
"//foundation/multimedia/image_framework/adapter/frameworks/libwbmpplugin:wbmpplugin",
|
|
|
|
"//foundation/multimedia/image_framework/adapter/frameworks/libwbmpplugin:wbmppluginmetadata",
|
2021-09-14 07:07:27 +00:00
|
|
|
]
|
|
|
|
} else {
|
|
|
|
DUAL_ADAPTER = true
|
|
|
|
deps = [
|
|
|
|
"image/formatagentplugin:formatagentmetadata",
|
|
|
|
"image/formatagentplugin:imageformatagent",
|
2024-04-11 02:10:28 +00:00
|
|
|
"image/libgifplugin:gifplugin",
|
|
|
|
"image/libgifplugin:gifpluginmetadata",
|
2021-09-14 13:45:50 +00:00
|
|
|
|
|
|
|
# "image/libheifplugin:heifplugin",
|
|
|
|
# "image/libheifplugin:heifpluginmetadata",
|
2024-10-29 16:05:43 +00:00
|
|
|
# "image/libbmpplugin:bmpplugin",
|
|
|
|
# "image/libbmpplugin:bmppluginmetadata",
|
2023-06-27 12:30:24 +00:00
|
|
|
"image/libextplugin:extplugin",
|
|
|
|
"image/libextplugin:extpluginmetadata",
|
2021-09-14 07:07:27 +00:00
|
|
|
"image/libjpegplugin:jpegplugin",
|
|
|
|
"image/libjpegplugin:jpegpluginmetadata",
|
2024-10-30 07:57:02 +00:00
|
|
|
"image/libpngplugin:pngplugin",
|
|
|
|
"image/libpngplugin:pngpluginmetadata",
|
2022-08-15 05:53:45 +00:00
|
|
|
"image/librawplugin:rawplugin",
|
|
|
|
"image/librawplugin:rawpluginmetadata",
|
2023-01-30 03:36:26 +00:00
|
|
|
"image/libsvgplugin:svgplugin",
|
|
|
|
"image/libsvgplugin:svgpluginmetadata",
|
2024-06-26 07:38:38 +00:00
|
|
|
|
|
|
|
#"image/libwebpplugin:webpplugin",
|
|
|
|
#"image/libwebpplugin:webppluginmetadata",
|
2021-09-14 13:45:50 +00:00
|
|
|
|
2022-09-13 02:49:40 +00:00
|
|
|
# "//foundation/multimedia/image_framework/adapter/frameworks/libhwjpegplugin:hwjpegplugin",
|
|
|
|
# "//foundation/multimedia/image_framework/adapter/frameworks/libhwjpegplugin:hwjpegpluginmetadata",
|
2021-09-14 07:07:27 +00:00
|
|
|
]
|
|
|
|
if (DUAL_ADAPTER) {
|
|
|
|
deps += [
|
2022-09-13 02:49:40 +00:00
|
|
|
# "//foundation/multimedia/image_framework/adapter/frameworks/libbmpplugin:bmpplugin",
|
|
|
|
# "//foundation/multimedia/image_framework/adapter/frameworks/libbmpplugin:bmppluginmetadata",
|
|
|
|
# "//foundation/multimedia/image_framework/adapter/frameworks/librawplugin:rawplugin",
|
|
|
|
# "//foundation/multimedia/image_framework/adapter/frameworks/librawplugin:rawpluginmetadata",
|
|
|
|
# "//foundation/multimedia/image_framework/adapter/frameworks/libwbmpplugin:wbmpplugin",
|
|
|
|
# "//foundation/multimedia/image_framework/adapter/frameworks/libwbmpplugin:wbmppluginmetadata",
|
2021-09-14 07:07:27 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|