xref: /aosp_15_r20/tools/platform-compat/build/Android.bp (revision b7bfe76a3376ed14ad4000514e7f5aa4f0ee949d)
1*b7bfe76aSAndroid Build Coastguard Worker/*
2*b7bfe76aSAndroid Build Coastguard Worker * Copyright (C) 2020 The Android Open Source Project
3*b7bfe76aSAndroid Build Coastguard Worker *
4*b7bfe76aSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License");
5*b7bfe76aSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License.
6*b7bfe76aSAndroid Build Coastguard Worker * You may obtain a copy of the License at
7*b7bfe76aSAndroid Build Coastguard Worker *
8*b7bfe76aSAndroid Build Coastguard Worker *      http://www.apache.org/licenses/LICENSE-2.0
9*b7bfe76aSAndroid Build Coastguard Worker *
10*b7bfe76aSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software
11*b7bfe76aSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS,
12*b7bfe76aSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*b7bfe76aSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and
14*b7bfe76aSAndroid Build Coastguard Worker * limitations under the License.
15*b7bfe76aSAndroid Build Coastguard Worker */
16*b7bfe76aSAndroid Build Coastguard Worker
17*b7bfe76aSAndroid Build Coastguard Workerpackage {
18*b7bfe76aSAndroid Build Coastguard Worker    default_team: "trendy_team_android_developer_tools",
19*b7bfe76aSAndroid Build Coastguard Worker    default_applicable_licenses: ["Android-Apache-2.0"],
20*b7bfe76aSAndroid Build Coastguard Worker}
21*b7bfe76aSAndroid Build Coastguard Worker
22*b7bfe76aSAndroid Build Coastguard Workerpython_binary_host {
23*b7bfe76aSAndroid Build Coastguard Worker    name: "process-compat-config",
24*b7bfe76aSAndroid Build Coastguard Worker    main: "process_compat_config.py",
25*b7bfe76aSAndroid Build Coastguard Worker    srcs: ["process_compat_config.py"],
26*b7bfe76aSAndroid Build Coastguard Worker    version: {
27*b7bfe76aSAndroid Build Coastguard Worker        py3: {
28*b7bfe76aSAndroid Build Coastguard Worker            embedded_launcher: true,
29*b7bfe76aSAndroid Build Coastguard Worker        },
30*b7bfe76aSAndroid Build Coastguard Worker    },
31*b7bfe76aSAndroid Build Coastguard Worker}
32*b7bfe76aSAndroid Build Coastguard Worker
33*b7bfe76aSAndroid Build Coastguard Workerpython_test_host {
34*b7bfe76aSAndroid Build Coastguard Worker    name: "process-compat-config-test",
35*b7bfe76aSAndroid Build Coastguard Worker    main: "process-compat-config-test.py",
36*b7bfe76aSAndroid Build Coastguard Worker    srcs: [
37*b7bfe76aSAndroid Build Coastguard Worker        "process_compat_config.py",
38*b7bfe76aSAndroid Build Coastguard Worker        "process-compat-config-test.py",
39*b7bfe76aSAndroid Build Coastguard Worker    ],
40*b7bfe76aSAndroid Build Coastguard Worker    version: {
41*b7bfe76aSAndroid Build Coastguard Worker        py3: {
42*b7bfe76aSAndroid Build Coastguard Worker            embedded_launcher: true,
43*b7bfe76aSAndroid Build Coastguard Worker        },
44*b7bfe76aSAndroid Build Coastguard Worker    },
45*b7bfe76aSAndroid Build Coastguard Worker    test_options: {
46*b7bfe76aSAndroid Build Coastguard Worker        unit_test: true,
47*b7bfe76aSAndroid Build Coastguard Worker    },
48*b7bfe76aSAndroid Build Coastguard Worker}
49*b7bfe76aSAndroid Build Coastguard Worker
50*b7bfe76aSAndroid Build Coastguard Workerglobal_compat_config {
51*b7bfe76aSAndroid Build Coastguard Worker    name: "global-compat-config",
52*b7bfe76aSAndroid Build Coastguard Worker    filename: "all_compat_config.xml",
53*b7bfe76aSAndroid Build Coastguard Worker}
54