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 { |
| 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 { |
| 26 | name: "post_process_props", |
| 27 | srcs: ["post_process_props.py"], |
Jiyong Park | ae55638 | 2020-05-20 18:33:43 +0900 | [diff] [blame] | 28 | } |
Jiyong Park | d721e87 | 2020-06-22 17:30:57 +0900 | [diff] [blame] | 29 | |
| 30 | python_test_host { |
| 31 | name: "post_process_props_unittest", |
| 32 | main: "test_post_process_props.py", |
| 33 | srcs: [ |
| 34 | "post_process_props.py", |
| 35 | "test_post_process_props.py", |
| 36 | ], |
Jiyong Park | d721e87 | 2020-06-22 17:30:57 +0900 | [diff] [blame] | 37 | test_config: "post_process_props_unittest.xml", |
| 38 | test_suites: ["general-tests"], |
| 39 | } |
Yifan Hong | 351b6b8 | 2020-07-27 18:49:41 -0700 | [diff] [blame] | 40 | |
| 41 | python_binary_host { |
| 42 | name: "extract_kernel", |
| 43 | srcs: ["extract_kernel.py"], |
Yifan Hong | 351b6b8 | 2020-07-27 18:49:41 -0700 | [diff] [blame] | 44 | } |
| 45 | |
| 46 | genrule_defaults { |
| 47 | name: "extract_kernel_release_defaults", |
| 48 | tools: ["extract_kernel", "lz4"], |
| 49 | out: ["kernel_release.txt"], |
| 50 | cmd: "$(location) --tools lz4:$(location lz4) --input $(in) --output-release > $(out)" |
| 51 | } |
Sasha Smundak | 2bfc570 | 2022-06-22 16:24:47 -0700 | [diff] [blame^] | 52 | |
| 53 | cc_binary_host { |
| 54 | name: "build-runfiles", |
| 55 | srcs: ["build-runfiles.cc"], |
| 56 | } |