1/* 2 * Copyright (C) 2019 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17// Import this namespace in order to use AOSP No output configuration example 18 19soong_namespace { 20 imports: [ 21 "frameworks/av/services/audiopolicy/engineconfigurable/config/example/phone", 22 "frameworks/av/services/audiopolicy/config", 23 ], 24} 25 26package { 27 // See: http://go/android-license-faq 28 // A large-scale-change added 'default_applicable_licenses' to import 29 // all of the 'license_kinds' from "frameworks_av_license" 30 // to get the below license kinds: 31 // SPDX-license-identifier-Apache-2.0 32 default_applicable_licenses: ["frameworks_av_license"], 33} 34 35prebuilt_etc { 36 name: "parameter-framework.policy", 37 filename_from_src: true, 38 vendor: true, 39 src: ":domaingeneratorpolicyrule_gen", 40 sub_dir: "parameter-framework/Settings/Policy", 41 required: [ 42 "PolicyClass.xml", 43 "PolicySubsystem.xml", 44 "PolicySubsystem-CommonTypes.xml", 45 ], 46} 47genrule { 48 name: "domaingeneratorpolicyrule_gen", 49 defaults: ["domaingeneratorpolicyrule"], 50 srcs: [ 51 ":audio_policy_pfw_toplevel", 52 ":audio_policy_pfw_structure_files", 53 ":audio_policy_engine_criterion_types", 54 ":edd_files", 55 ], 56} 57filegroup { 58 name: "audio_policy_pfw_toplevel", 59 srcs: [":ParameterFrameworkConfigurationPolicy.userdebug.xml"], 60} 61filegroup { 62 name: "audio_policy_pfw_structure_files", 63 srcs: [ 64 ":PolicyClass", 65 ":PolicySubsystem", 66 ":buildcommontypesstructure_gen", 67 ], 68} 69filegroup { 70 name: "edd_files", 71 srcs: [ 72 "device_for_strategies.pfw", 73 ":volumes.pfw", 74 ":device_for_input_source.pfw", 75 ], 76} 77prebuilt_etc { 78 name: "PolicySubsystem.xml", 79 vendor: true, 80 src: ":PolicySubsystem-no-strategy", 81 sub_dir: "parameter-framework/Structure/Policy", 82} 83