1// 2// Copyright (C) 2021 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 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20apex { 21 name: "com.android.sepolicy", 22 // TODO(jeffv): make it updatable 23 updatable: false, 24 manifest: "manifest.json", 25 file_contexts: ":com.android.sepolicy-file_contexts", 26 key: "com.android.sepolicy.key", 27 prebuilts: [ 28 "SEPolicy-33.zip.sig", 29 "SEPolicy-33.zip.fsv_sig", 30 "SEPolicy-33.zip", 31 "SEPolicy-33.pb" 32 ], 33 required: [ 34 "SEPolicy.zip.sig", 35 "SEPolicy.zip.fsv_sig", 36 "SEPolicy.zip", 37 "SEPolicy-33.pb", 38 ], 39} 40 41apex_key { 42 name: "com.android.sepolicy.key", 43 public_key: "com.android.sepolicy.avbpubkey", 44 private_key: "com.android.sepolicy.pem", 45} 46 47filegroup { 48 name: "SEPolicyKeyPem", 49 srcs: ["com.android.sepolicy.pem"], 50} 51 52filegroup { 53 name: "SEPolicyCertPem", 54 srcs: ["com.android.sepolicy.cert.pem"], 55} 56 57prebuilt_etc { 58 name: "com.android.sepolicy.cert-debug.der", 59 src: "com.android.sepolicy.cert.der", 60 sub_dir: "selinux", 61} 62