• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2021 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    // See: http://go/android-license-faq
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20python_library_host {
21    name: "SELinuxNeverallowTestFrame",
22    srcs: ["SELinuxNeverallowTestFrame.py"],
23}
24
25python_binary_host {
26    name: "SELinuxNeverallowTestGen",
27    srcs: ["SELinuxNeverallowTestGen.py"],
28    libs: ["SELinuxNeverallowTestFrame"],
29}
30
31sh_test_host {
32    name: "seamendc-test",
33    src: "seamendc-test.sh",
34    data_bins: [
35        "seamendc",
36        "secilc",
37        "searchpolicy",
38    ],
39    data: [
40        ":sepolicy-cil-files",
41        ":libsepolwrap",
42    ],
43}
44
45filegroup {
46    name: "sepolicy-cil-files",
47    srcs: [
48        ":plat_sepolicy.cil",
49        ":plat_pub_versioned.cil",
50        ":system_ext_sepolicy.cil",
51        ":product_sepolicy.cil",
52        ":vendor_sepolicy.cil",
53        ":odm_sepolicy.cil",
54    ],
55}
56