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