# Copyright (c) 2023 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") import("//foundation/multimedia/av_codec/config.gni") ohos_executable("hcodec_demo") { install_enable = false subsystem_name = "multimedia" part_name = "av_codec" sources = [ "hcodec_demo.cpp" ] include_dirs = [ "$av_codec_root_dir/services/engine/codec/video/hcodec/", "$av_codec_root_dir/interfaces/inner_api/native/", "$av_codec_root_dir/interfaces/kits/c/", "$av_codec_root_dir/test/unittest/hcodec_test/helper/", "//foundation/window/window_manager/interfaces/innerkits/", ] deps = [ "$av_codec_root_dir/test/unittest/hcodec_test/helper:hcodec_test_helper", ] external_deps = [ "c_utils:utils", "drivers_interface_codec:libcodec_proxy_3.0", "graphic_2d:librender_service_client", "graphic_surface:surface", "graphic_surface:sync_fence", "hilog:libhilog", "media_foundation:media_foundation", "media_foundation:native_media_core", "window_manager:libwm", ] }