Bowgo Tsai | 73fec93 | 2017-12-14 00:11:09 +0800 | [diff] [blame] | 1 | // Copyright (C) 2017 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 | |
| 15 | python_binary_host { |
| 16 | name: "gsi_util", |
| 17 | srcs: [ |
| 18 | "gsi_util.py", |
| 19 | "gsi_util/*.py", |
SzuWei Lin | a30d9ef | 2017-12-27 18:03:20 +0800 | [diff] [blame^] | 20 | "gsi_util/checkers/*.py", |
Bowgo Tsai | 73fec93 | 2017-12-14 00:11:09 +0800 | [diff] [blame] | 21 | "gsi_util/commands/*.py", |
SzuWei Lin | 18d5e91 | 2017-12-26 17:49:20 +0800 | [diff] [blame] | 22 | "gsi_util/dumpers/*.py", |
SzuWei Lin | e3658bd | 2017-12-25 17:59:18 +0800 | [diff] [blame] | 23 | "gsi_util/mounters/*.py", |
Bowgo Tsai | a1f4058 | 2017-12-11 11:11:08 +0800 | [diff] [blame] | 24 | "gsi_util/utils/*.py", |
Bowgo Tsai | 73fec93 | 2017-12-14 00:11:09 +0800 | [diff] [blame] | 25 | ], |
Bowgo Tsai | b510ae3 | 2017-12-18 14:59:59 +0800 | [diff] [blame] | 26 | required: [ |
SzuWei Lin | e3658bd | 2017-12-25 17:59:18 +0800 | [diff] [blame] | 27 | "adb", |
Bowgo Tsai | b510ae3 | 2017-12-18 14:59:59 +0800 | [diff] [blame] | 28 | "avbtool", |
SzuWei Lin | a30d9ef | 2017-12-27 18:03:20 +0800 | [diff] [blame^] | 29 | "checkvintf", |
SzuWei Lin | e3658bd | 2017-12-25 17:59:18 +0800 | [diff] [blame] | 30 | "simg2img", |
Bowgo Tsai | b510ae3 | 2017-12-18 14:59:59 +0800 | [diff] [blame] | 31 | ], |
Bowgo Tsai | 73fec93 | 2017-12-14 00:11:09 +0800 | [diff] [blame] | 32 | version: { |
| 33 | py2: { |
| 34 | enabled: true, |
| 35 | }, |
| 36 | py3: { |
| 37 | enabled: false, |
| 38 | }, |
| 39 | }, |
| 40 | } |