diff --git a/unionpi_tiger/hals/audio/BUILD.gn b/unionpi_tiger/hals/audio/BUILD.gn new file mode 100644 index 00000000..41d9f0b9 --- /dev/null +++ b/unionpi_tiger/hals/audio/BUILD.gn @@ -0,0 +1,27 @@ +#Copyright (c) 2023 Unionman Technology 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") + +ohos_prebuilt_etc("hdf_audio_path_json") { + source = "audio_paths.json" + + relative_install_dir = "hdfconfig" + install_images = [ chipset_base_dir ] + subsystem_name = "hdf" + part_name = "product_unionpi_tiger" +} + +group("hdf_audio_config") { + deps = [ ":hdf_audio_path_json" ] +} diff --git a/unionpi_tiger/ohos.build b/unionpi_tiger/ohos.build new file mode 100644 index 00000000..433e4aa9 --- /dev/null +++ b/unionpi_tiger/ohos.build @@ -0,0 +1,9 @@ +{ + "parts": { + "product_unionpi_tiger": { + "module_list": [ + "//vendor/unionman/unionpi_tiger/hals/audio:hdf_audio_config" + ] + } + } +} \ No newline at end of file