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// Root soong_namespace for common components 18 19package { 20 default_team: "trendy_team_android_media_audio_framework", 21 // See: http://go/android-license-faq 22 // A large-scale-change added 'default_applicable_licenses' to import 23 // all of the 'license_kinds' from "frameworks_av_license" 24 // to get the below license kinds: 25 // SPDX-license-identifier-Apache-2.0 26 default_applicable_licenses: ["frameworks_av_license"], 27} 28 29prebuilt_etc { 30 name: "PolicyClass.xml", 31 vendor: true, 32 src: ":PolicyClass", 33 sub_dir: "parameter-framework/Structure/Policy", 34} 35 36prebuilt_etc { 37 name: "PolicySubsystem.xml", 38 vendor: true, 39 src: ":PolicySubsystem", 40 sub_dir: "parameter-framework/Structure/Policy", 41} 42 43prebuilt_etc { 44 name: "PolicySubsystem-CommonTypes.xml", 45 vendor: true, 46 src: ":buildcommontypesstructure_gen", 47 sub_dir: "parameter-framework/Structure/Policy", 48} 49 50genrule { 51 name: "buildcommontypesstructure_gen", 52 defaults: ["buildcommontypesstructurerule"], 53 out: ["PolicySubsystem-CommonTypes.xml"], 54} 55 56filegroup { 57 name: "product_strategies_structure_template", 58 srcs: ["examples/common/Structure/ProductStrategies.xml.in"], 59} 60 61filegroup { 62 name: "PolicySubsystem", 63 srcs: ["examples/common/Structure/PolicySubsystem.xml"], 64} 65 66filegroup { 67 name: "PolicySubsystem-no-strategy", 68 srcs: ["examples/common/Structure/PolicySubsystem-no-strategy.xml"], 69} 70 71filegroup { 72 name: "common_types_structure_template", 73 srcs: ["examples/common/Structure/PolicySubsystem-CommonTypes.xml.in"], 74} 75 76filegroup { 77 name: "PolicyClass", 78 srcs: ["examples/common/Structure/PolicyClass.xml"], 79} 80 81filegroup { 82 name: "volumes.pfw", 83 srcs: ["examples/Settings/volumes.pfw"], 84} 85 86filegroup { 87 name: "device_for_input_source.pfw", 88 srcs: ["examples/Settings/device_for_input_source.pfw"], 89} 90 91filegroup { 92 name: "ParameterFrameworkConfigurationPolicy.userdebug.xml", 93 srcs: ["examples/ParameterFrameworkConfigurationPolicy.userdebug.xml"], 94} 95 96filegroup { 97 name: "ParameterFrameworkConfigurationPolicy.user.xml", 98 srcs: ["examples/ParameterFrameworkConfigurationPolicy.user.xml"], 99} 100