• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2020 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
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21python_binary_host {
22    name: "process-compat-config",
23    main: "process_compat_config.py",
24    srcs: ["process_compat_config.py"],
25    version: {
26        py2: {
27            enabled: true,
28        },
29        py3: {
30            enabled: false,
31        },
32    },
33}
34
35python_test_host {
36    name: "process-compat-config-test",
37    main: "process-compat-config-test.py",
38    srcs: [
39        "process_compat_config.py",
40        "process-compat-config-test.py",
41    ],
42    version: {
43        py2: {
44            enabled: true,
45        },
46        py3: {
47            enabled: false,
48        },
49    },
50    test_options: {
51        unit_test: true,
52    },
53}
54
55global_compat_config {
56    name: "global-compat-config",
57    filename: "all_compat_config.xml",
58}
59