Convert generate-self-extracting-archive.py to python 3

Test: Add a VENDOR_BLOBS_LICENSE entry to an existing product, then `m with-license`
Bug: 203436762
Change-Id: I4bbe77bda7789b6c44bea141518b1cd2e699d326
This commit is contained in:
Cole Faust
2021-12-29 13:54:10 -08:00
parent 6363a04e79
commit 547ca205ae
2 changed files with 4 additions and 36 deletions

View File

@@ -28,27 +28,11 @@ package {
python_binary_host {
name: "generate-self-extracting-archive",
srcs: ["generate-self-extracting-archive.py"],
version: {
py2: {
enabled: true,
},
py3: {
enabled: false,
},
},
}
python_binary_host {
name: "post_process_props",
srcs: ["post_process_props.py"],
version: {
py2: {
enabled: false,
},
py3: {
enabled: true,
},
},
}
python_test_host {
@@ -58,14 +42,6 @@ python_test_host {
"post_process_props.py",
"test_post_process_props.py",
],
version: {
py2: {
enabled: false,
},
py3: {
enabled: true,
},
},
test_config: "post_process_props_unittest.xml",
test_suites: ["general-tests"],
}
@@ -73,14 +49,6 @@ python_test_host {
python_binary_host {
name: "extract_kernel",
srcs: ["extract_kernel.py"],
version: {
py2: {
enabled: false,
},
py3: {
enabled: true,
},
},
}
genrule_defaults {