• 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("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
16import("$hdf_framework_path/tools/hc-gen/hc_gen.gni")
17
18hc_gen("build_codec_adapter_capabilities") {
19  sources = [ rebase_path(
20          "../../hdf_config/uhdf/media_codec/codec_adapter_capabilities.hcs") ]
21}
22
23ohos_prebuilt_etc("codec_adapter_capabilities.hcb") {
24  deps = [ ":build_codec_adapter_capabilities" ]
25  hcs_outputs = get_target_outputs(":build_codec_adapter_capabilities")
26  source = hcs_outputs[0]
27  relative_install_dir = "hdfconfig"
28  install_images = [ chipset_base_dir ]
29  subsystem_name = "product_hihope"
30  part_name = "product_rk3568"
31}
32
33group("hdf_codec_config") {
34  deps = [ ":codec_adapter_capabilities.hcb" ]
35}
36