1523f5352Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 2523f5352Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3523f5352Sopenharmony_ci# you may not use this file except in compliance with the License. 4523f5352Sopenharmony_ci# You may obtain a copy of the License at 5523f5352Sopenharmony_ci# 6523f5352Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7523f5352Sopenharmony_ci# 8523f5352Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9523f5352Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10523f5352Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11523f5352Sopenharmony_ci# See the License for the specific language governing permissions and 12523f5352Sopenharmony_ci# limitations under the License. 13523f5352Sopenharmony_ciimport("//build/ohos.gni") 14523f5352Sopenharmony_ciimport("//build/ohos/ndk/ndk.gni") 15523f5352Sopenharmony_ci 16523f5352Sopenharmony_ciconfig("libSLES_public_config") { 17523f5352Sopenharmony_ci include_dirs = [ "api/1.0.1" ] 18523f5352Sopenharmony_ci} 19523f5352Sopenharmony_ci 20523f5352Sopenharmony_ciohos_static_library("libSLES") { 21523f5352Sopenharmony_ci public_configs = [ ":libSLES_public_config" ] 22523f5352Sopenharmony_ci sources = [ 23523f5352Sopenharmony_ci "api/1.0.1/OpenSLES_IID.c", 24523f5352Sopenharmony_ci "api/1.0.1/OpenSLES_OpenHarmony_IID.c", 25523f5352Sopenharmony_ci ] 26523f5352Sopenharmony_ci} 27