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_team: "trendy_team_android_developer_tools", 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22python_binary_host { 23 name: "process-compat-config", 24 main: "process_compat_config.py", 25 srcs: ["process_compat_config.py"], 26 version: { 27 py3: { 28 embedded_launcher: true, 29 }, 30 }, 31} 32 33python_test_host { 34 name: "process-compat-config-test", 35 main: "process-compat-config-test.py", 36 srcs: [ 37 "process_compat_config.py", 38 "process-compat-config-test.py", 39 ], 40 version: { 41 py3: { 42 embedded_launcher: true, 43 }, 44 }, 45 test_options: { 46 unit_test: true, 47 }, 48} 49 50global_compat_config { 51 name: "global-compat-config", 52 filename: "all_compat_config.xml", 53} 54