# Copyright (c) 2020-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("//test/xts/tools/build/suite.gni") module_output_path = "acts/ActsAvcodecNdkTest" ohos_moduletest_suite("ActsAvcodecNdkTest") { module_out_path = module_output_path sources = [ "audioDecEncNdk/src/ADecEncNdkSample.cpp", "audioDecEncNdk/src/ActsAudioDecEncNdkTest.cpp", "videoDecEncNdk/src/ActsVideoDecEncNdkTest.cpp", "videoDecEncNdk/src/VDecEncNdkSample.cpp", ] include_dirs = [ "include", "audioDecEncNdk/include", "videoDecEncNdk/include", "//foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include", "//foundation/multimedia/player_framework/interfaces/inner_api/native", "//foundation/multimedia/player_framework/interfaces/kits/c", "//foundation/multimedia/player_framework/frameworks/native/capi/common", "//utils/native/base/include", "//graphic/graphic_2d/interfaces/kits/surface", "//graphic/graphic_2d/interfaces/inner_api/surface", "//foundation/graphic/graphic_2d/frameworks/surface/include", ] cflags = [ "-Werror", "-fno-rtti", "-fno-exceptions", "-Wall", "-fno-common", "-fstack-protector-strong", "-Wshadow", "-FPIC", "-FS", "-O2", "-D_FORTIFY_SOURCE=2", "-fvisibility=hidden", "-Wformat=2", "-Wdate-time", "", ] deps = [ "//foundation/graphic/graphic_2d:libsurface", "//foundation/graphic/graphic_2d/frameworks/surface:surface", "//foundation/multimedia/player_framework/interfaces/kits/c:native_media_adec", "//foundation/multimedia/player_framework/interfaces/kits/c:native_media_aenc", "//foundation/multimedia/player_framework/interfaces/kits/c:native_media_codecbase", "//foundation/multimedia/player_framework/interfaces/kits/c:native_media_core", "//foundation/multimedia/player_framework/interfaces/kits/c:native_media_vdec", "//foundation/multimedia/player_framework/interfaces/kits/c:native_media_venc", "//utils/native/base:utils", ] external_deps = [ "hiviewdfx_hilog_native:libhilog" ] part_name = "multimedia_player_framework" subsystem_name = "multimedia" }