• 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
14#import("//build/config/ohos/rules.gni")
15import("//build/ohos.gni")
16import("//foundation/multimedia/image_framework/ide/image_decode_config.gni")
17group("image_framework") {
18  if (use_clang_ios) {
19    deps = [
20      "frameworks/innerkitsimpl/utils:image_utils",
21      "interfaces/innerkits:image_native",
22      "interfaces/kits/js/common:image",
23    ]
24  } else if (use_clang_android) {
25    deps = [
26      "frameworks/innerkitsimpl/utils:image_utils",
27      "interfaces/innerkits:image_native",
28      "interfaces/kits/js/common:multimedia_image",
29    ]
30  } else {
31    deps = [
32      "frameworks/innerkitsimpl/utils:image_utils",
33      "frameworks/kits/js/common/pixelmap_ndk:pixelmap_ndk",
34      "interfaces/innerkits:image_native",
35      "interfaces/kits/js/common:image",
36    ]
37  }
38}
39
40group("plugins") {
41  deps = [
42    "plugins/common/libs:multimediaplugin",
43    "plugins/manager:pluginmanager",
44  ]
45}
46
47group("image_test_list") {
48  testonly = true
49
50  # image
51  deps = [ "frameworks/innerkitsimpl/test:unittest" ]
52}
53
54config("media_config") {
55  defines = []
56
57  if (current_cpu == "arm64" || current_cpu == "arm") {
58    defines += [ "USE_NEON" ]
59  }
60}
61