• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 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("//build/test.gni")
16import("//foundation/multimedia/video_processing_engine/config.gni")
17
18ohos_moduletest("metadata_generator_module_test") {
19  module_out_path = MODULE_TEST_OUTPUT_PATH
20
21  include_dirs = [
22    ".",
23    "$INTERFACES_INNER_API_DIR",
24  ]
25
26  defines = []
27
28  cflags = VIDEO_PROCESSING_ENGINE_CFLAGS
29
30  cflags_cc = cflags
31  cflags_cc += [ "-std=c++17" ]
32
33  sources = [
34    "mg_module_test.cpp",
35  ]
36
37  deps = [
38    "$FRAMEWORK_DIR:videoprocessingengine"
39  ]
40
41  external_deps = [
42    "c_utils:utils",
43    "graphic_surface:surface",
44    "hilog:libhilog",
45    "hitrace:hitrace_meter",
46    "drivers_interface_display:libdisplay_commontype_proxy_2.1",
47  ]
48
49  subsystem_name = "multimedia"
50  part_name = "video_processing_engine"
51}