6c6aa01ae4
There is no one actively using mixed sepolicy build, and it made sepolicy codes too complicated. As we are deprecating mixed build, removing such code for cleanup. Bug: 298305798 Test: boot cuttlefish Change-Id: I8beedd5a281fa957532deecb857da4e1bb66992a
98 lines
2.6 KiB
Text
98 lines
2.6 KiB
Text
// Copyright (C) 2022 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// This file contains module definitions for mac_permissions.xml files.
|
|
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "system_sepolicy_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["system_sepolicy_license"],
|
|
}
|
|
|
|
se_build_files {
|
|
name: "keys.conf",
|
|
srcs: ["keys.conf"],
|
|
}
|
|
|
|
se_build_files {
|
|
name: "mac_permissions.xml",
|
|
srcs: ["mac_permissions.xml"],
|
|
}
|
|
|
|
mac_permissions {
|
|
name: "plat_mac_permissions.xml",
|
|
keys: [
|
|
":keys.conf{.plat_private}",
|
|
":keys.conf{.system_ext_private}",
|
|
":keys.conf{.product_private}",
|
|
],
|
|
srcs: [":mac_permissions.xml{.plat_private}"],
|
|
}
|
|
|
|
mac_permissions {
|
|
name: "system_ext_mac_permissions.xml",
|
|
keys: [
|
|
":keys.conf{.system_ext_private}",
|
|
":keys.conf{.reqd_mask}",
|
|
],
|
|
srcs: [
|
|
":mac_permissions.xml{.system_ext_private}",
|
|
":mac_permissions.xml{.reqd_mask}",
|
|
],
|
|
system_ext_specific: true,
|
|
}
|
|
|
|
mac_permissions {
|
|
name: "product_mac_permissions.xml",
|
|
keys: [
|
|
":keys.conf{.product_private}",
|
|
":keys.conf{.reqd_mask}",
|
|
],
|
|
srcs: [
|
|
":mac_permissions.xml{.product_private}",
|
|
":mac_permissions.xml{.reqd_mask}",
|
|
],
|
|
product_specific: true,
|
|
}
|
|
|
|
mac_permissions {
|
|
name: "vendor_mac_permissions.xml",
|
|
keys: [
|
|
":keys.conf{.plat_vendor}",
|
|
":keys.conf{.vendor}",
|
|
":keys.conf{.reqd_mask}",
|
|
],
|
|
srcs: [
|
|
":mac_permissions.xml{.plat_vendor}",
|
|
":mac_permissions.xml{.vendor}",
|
|
":mac_permissions.xml{.reqd_mask}",
|
|
],
|
|
vendor: true,
|
|
}
|
|
|
|
mac_permissions {
|
|
name: "odm_mac_permissions.xml",
|
|
keys: [
|
|
":keys.conf{.odm}",
|
|
":keys.conf{.reqd_mask}",
|
|
],
|
|
srcs: [
|
|
":mac_permissions.xml{.odm}",
|
|
":mac_permissions.xml{.reqd_mask}",
|
|
],
|
|
device_specific: true,
|
|
}
|