Ian Kasprzak | 9601e6e | 2019-11-08 18:40:39 -0800 | [diff] [blame] | 1 | // Copyright (C) 2019 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 | |
Bob Badour | 0390580 | 2021-02-12 21:42:54 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
Bob Badour | d2c7c08 | 2022-01-24 15:21:32 -0800 | [diff] [blame] | 17 | default_applicable_licenses: ["Android-Apache-2.0"], |
Bob Badour | 0390580 | 2021-02-12 21:42:54 -0800 | [diff] [blame] | 18 | } |
| 19 | |
Ian Kasprzak | 9601e6e | 2019-11-08 18:40:39 -0800 | [diff] [blame] | 20 | python_binary_host { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 21 | name: "generate-self-extracting-archive", |
| 22 | srcs: ["generate-self-extracting-archive.py"], |
Ian Kasprzak | 9601e6e | 2019-11-08 18:40:39 -0800 | [diff] [blame] | 23 | } |
Jiyong Park | ae55638 | 2020-05-20 18:33:43 +0900 | [diff] [blame] | 24 | |
| 25 | python_binary_host { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 26 | name: "post_process_props", |
| 27 | srcs: ["post_process_props.py"], |
| 28 | libs: [ |
| 29 | "uffd_gc_utils", |
| 30 | ], |
Jiyong Park | ae55638 | 2020-05-20 18:33:43 +0900 | [diff] [blame] | 31 | } |
Jiyong Park | d721e87 | 2020-06-22 17:30:57 +0900 | [diff] [blame] | 32 | |
| 33 | python_test_host { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 34 | name: "post_process_props_unittest", |
| 35 | main: "test_post_process_props.py", |
| 36 | srcs: [ |
| 37 | "post_process_props.py", |
| 38 | "test_post_process_props.py", |
| 39 | ], |
| 40 | libs: [ |
| 41 | "uffd_gc_utils", |
| 42 | ], |
| 43 | test_config: "post_process_props_unittest.xml", |
| 44 | test_suites: ["general-tests"], |
Jiyong Park | d721e87 | 2020-06-22 17:30:57 +0900 | [diff] [blame] | 45 | } |
Yifan Hong | 351b6b8 | 2020-07-27 18:49:41 -0700 | [diff] [blame] | 46 | |
| 47 | python_binary_host { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 48 | name: "extract_kernel", |
| 49 | srcs: ["extract_kernel.py"], |
Yifan Hong | 351b6b8 | 2020-07-27 18:49:41 -0700 | [diff] [blame] | 50 | } |
| 51 | |
| 52 | genrule_defaults { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 53 | name: "extract_kernel_release_defaults", |
| 54 | tools: [ |
| 55 | "extract_kernel", |
| 56 | "lz4", |
| 57 | ], |
| 58 | out: ["kernel_release.txt"], |
| 59 | cmd: "$(location) --tools lz4:$(location lz4) --input $(in) --output-release > $(out)", |
Yifan Hong | 351b6b8 | 2020-07-27 18:49:41 -0700 | [diff] [blame] | 60 | } |
Sasha Smundak | 2bfc570 | 2022-06-22 16:24:47 -0700 | [diff] [blame] | 61 | |
| 62 | cc_binary_host { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 63 | name: "build-runfiles", |
| 64 | srcs: ["build-runfiles.cc"], |
Sasha Smundak | 2bfc570 | 2022-06-22 16:24:47 -0700 | [diff] [blame] | 65 | } |
Spandan Das | ce69e9c | 2022-10-23 01:13:50 +0000 | [diff] [blame] | 66 | |
| 67 | python_binary_host { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 68 | name: "check_radio_versions", |
| 69 | srcs: ["check_radio_versions.py"], |
Spandan Das | ce69e9c | 2022-10-23 01:13:50 +0000 | [diff] [blame] | 70 | } |
Spandan Das | 60b8195 | 2022-10-27 00:44:24 +0000 | [diff] [blame] | 71 | |
| 72 | python_binary_host { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 73 | name: "check_elf_file", |
| 74 | srcs: ["check_elf_file.py"], |
Spandan Das | 60b8195 | 2022-10-27 00:44:24 +0000 | [diff] [blame] | 75 | } |
Yihan Dong | 881461f | 2022-11-30 18:06:20 +0800 | [diff] [blame] | 76 | |
| 77 | python_binary_host { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 78 | name: "generate_gts_shared_report", |
| 79 | srcs: ["generate_gts_shared_report.py"], |
Yihan Dong | 881461f | 2022-11-30 18:06:20 +0800 | [diff] [blame] | 80 | } |
Wei Li | 4993336 | 2023-01-04 17:13:47 -0800 | [diff] [blame] | 81 | |
| 82 | python_binary_host { |
Jihoon Kang | 1083793 | 2023-03-30 21:48:05 +0000 | [diff] [blame] | 83 | name: "list_files", |
| 84 | main: "list_files.py", |
| 85 | srcs: [ |
| 86 | "list_files.py", |
| 87 | ], |
Jihoon Kang | 8f6edbb | 2023-04-05 22:30:27 +0000 | [diff] [blame] | 88 | version: { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 89 | py3: { |
| 90 | embedded_launcher: true, |
| 91 | }, |
| 92 | }, |
Jihoon Kang | 1083793 | 2023-03-30 21:48:05 +0000 | [diff] [blame] | 93 | } |
Jingwen Chen | f3406e6 | 2023-09-18 07:19:11 +0000 | [diff] [blame] | 94 | |
| 95 | python_test_host { |
| 96 | name: "auto_gen_test_config_test", |
| 97 | main: "auto_gen_test_config_test.py", |
| 98 | srcs: [ |
| 99 | "auto_gen_test_config.py", |
| 100 | "auto_gen_test_config_test.py", |
| 101 | ], |
| 102 | auto_gen_config: true, |
| 103 | test_suites: ["general-tests"], |
| 104 | test_options: { |
| 105 | unit_test: true, |
| 106 | }, |
| 107 | } |
Inseob Kim | d8cde77 | 2023-11-07 13:36:59 +0900 | [diff] [blame] | 108 | |
| 109 | python_binary_host { |
Jiakai Zhang | 53dd895 | 2024-01-18 17:22:13 +0000 | [diff] [blame] | 110 | name: "characteristics_rro_generator", |
| 111 | srcs: ["characteristics_rro_generator.py"], |
| 112 | version: { |
| 113 | py3: { |
| 114 | embedded_launcher: true, |
| 115 | }, |
Inseob Kim | d8cde77 | 2023-11-07 13:36:59 +0900 | [diff] [blame] | 116 | }, |
Inseob Kim | d8cde77 | 2023-11-07 13:36:59 +0900 | [diff] [blame] | 117 | } |
Inseob Kim | f441f7d | 2024-04-29 17:41:07 +0900 | [diff] [blame] | 118 | |
| 119 | python_binary_host { |
| 120 | name: "merge-event-log-tags", |
| 121 | srcs: [ |
| 122 | "event_log_tags.py", |
| 123 | "merge-event-log-tags.py", |
| 124 | ], |
| 125 | } |