• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2020-2021 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.
13import("//build/lite/config/component/lite_component.gni")
14import("//build/lite/ndk/ndk.gni")
15
16shared_library("audio_capturer_lite") {
17  sources = [
18    "audio_capturer.cpp",
19    "binder/audio_capturer_client.cpp",
20  ]
21
22  include_dirs = [
23    "//foundation/multimedia/audio_lite/services/server/include",
24    "//foundation/multimedia/audio_lite/services/impl",
25    "//foundation/multimedia/audio_lite/frameworks/binder",
26    "//foundation/distributedschedule/samgr_lite/interfaces/kits/registry",
27    "//base/security/permission/interfaces/kits/permission_lite",
28    "//foundation/distributedschedule/samgr_lite/interfaces/kits/registry",
29    "//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr",
30  ]
31
32  deps = [
33    "//base/security/permission/services/permission_lite/pms_client:pms_client",
34    "//foundation/communication/ipc_lite:liteipc_adapter",
35    "//foundation/graphic/surface:lite_surface",
36  ]
37
38  public_configs = [ ":audio_capturer_public_config" ]
39
40  public_deps = [
41    "//foundation/multimedia/utils/lite:media_common",
42    "//third_party/bounds_checking_function:libsec_shared",
43  ]
44}
45
46config("audio_capturer_public_config") {
47  include_dirs = [
48    "//foundation/multimedia/audio_lite/interfaces/kits",
49    "//foundation/multimedia/utils/lite/interfaces/kits",
50  ]
51
52  cflags = [ "-fPIC" ]
53  cflags += [ "-Wall" ]
54  cflags_cc = cflags
55}
56