• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: [
17        "frameworks_av_services_audioparameterparser_license",
18    ],
19}
20
21// Added automatically by a large-scale-change
22// See: http://go/android-license-faq
23license {
24    name: "frameworks_av_services_audioparameterparser_license",
25    visibility: [":__subpackages__"],
26    license_kinds: [
27        "SPDX-license-identifier-Apache-2.0",
28    ],
29    license_text: [
30        "NOTICE",
31    ],
32}
33
34cc_defaults {
35    name: "android.hardware.audio.parameter_parser.example_defaults",
36    defaults: [
37        "latest_android_hardware_audio_core_ndk_shared",
38    ],
39
40    shared_libs: [
41        "av-audio-types-aidl-ndk",
42        "libbase",
43        "libbinder_ndk",
44        "libmedia_helper",
45        "libmediautils",
46        "libutils",
47    ],
48
49    cflags: [
50        "-Wall",
51        "-Werror",
52        "-Wextra",
53        "-Wthread-safety",
54    ],
55}
56
57cc_binary {
58    name: "android.hardware.audio.parameter_parser.example_service",
59    system_ext_specific: true,
60    relative_install_path: "hw",
61
62    init_rc: ["android.hardware.audio.parameter_parser.example_service.rc"],
63
64    defaults: [
65        "android.hardware.audio.parameter_parser.example_defaults",
66    ],
67
68    srcs: [
69        "ParameterParser.cpp",
70        "main.cpp",
71    ],
72}
73