• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/ohos.gni")
15import("//foundation/multimedia/image_standard/ide/image_decode_config.gni")
16
17group("multimediaplugin") {
18  if (use_mingw_win || use_clang_mac) {
19    deps = [
20      "image/formatagentplugin:formatagentmetadata",
21      "image/formatagentplugin:imageformatagent",
22      "image/libgifplugin:gifplugin",
23      "image/libgifplugin:gifpluginmetadata",
24      "image/libjpegplugin:jpegplugin",
25      "image/libjpegplugin:jpegpluginmetadata",
26      "image/libpngplugin:pngplugin",
27      "image/libpngplugin:pngpluginmetadata",
28      "//foundation/multimedia/image_standard/adapter/frameworks/libbmpplugin:bmpplugin",
29      "//foundation/multimedia/image_standard/adapter/frameworks/libbmpplugin:bmppluginmetadata",
30      "//foundation/multimedia/image_standard/adapter/frameworks/libwbmpplugin:wbmpplugin",
31      "//foundation/multimedia/image_standard/adapter/frameworks/libwbmpplugin:wbmppluginmetadata",
32    ]
33  } else {
34    DUAL_ADAPTER = true
35    deps = [
36      "image/formatagentplugin:formatagentmetadata",
37      "image/formatagentplugin:imageformatagent",
38      "image/libgifplugin:gifplugin",
39      "image/libgifplugin:gifpluginmetadata",
40
41      #      "image/libheifplugin:heifplugin",
42      #      "image/libheifplugin:heifpluginmetadata",
43      "image/libbmpplugin:bmpplugin",
44      "image/libbmpplugin:bmppluginmetadata",
45      "image/libjpegplugin:jpegplugin",
46      "image/libjpegplugin:jpegpluginmetadata",
47      "image/libpngplugin:pngplugin",
48      "image/libpngplugin:pngpluginmetadata",
49      "image/libwebpplugin:webpplugin",
50      "image/libwebpplugin:webppluginmetadata",
51
52      #      "//foundation/multimedia/image_standard/adapter/frameworks/libhwjpegplugin:hwjpegplugin",
53      #      "//foundation/multimedia/image_standard/adapter/frameworks/libhwjpegplugin:hwjpegpluginmetadata",
54    ]
55    if (DUAL_ADAPTER) {
56      deps += [
57        #        "//foundation/multimedia/image_standard/adapter/frameworks/libbmpplugin:bmpplugin",
58        #        "//foundation/multimedia/image_standard/adapter/frameworks/libbmpplugin:bmppluginmetadata",
59        #        "//foundation/multimedia/image_standard/adapter/frameworks/librawplugin:rawplugin",
60        #        "//foundation/multimedia/image_standard/adapter/frameworks/librawplugin:rawpluginmetadata",
61        #        "//foundation/multimedia/image_standard/adapter/frameworks/libwbmpplugin:wbmpplugin",
62        #        "//foundation/multimedia/image_standard/adapter/frameworks/libwbmpplugin:wbmppluginmetadata",
63      ]
64    }
65  }
66}
67