!136 feat: decouple audio and vendor

Merge pull request !136 from JanierVan/master
This commit is contained in:
openharmony_ci 2023-04-21 09:38:44 +00:00 committed by Gitee
commit fe13f02885
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 36 additions and 0 deletions

View File

@ -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" ]
}

9
unionpi_tiger/ohos.build Normal file
View File

@ -0,0 +1,9 @@
{
"parts": {
"product_unionpi_tiger": {
"module_list": [
"//vendor/unionman/unionpi_tiger/hals/audio:hdf_audio_config"
]
}
}
}