Commit cce0d144 authored by José Henrique's avatar José Henrique
Browse files

Add support for eleven_plus

parent 6b33c1f4
......@@ -45,6 +45,10 @@ elif build_env_vars["version"] == "eleven":
build_env_vars["manifest_url"] = manifest_url_main
build_env_vars["manifest_branch"] = "eleven"
build_env_vars["fallback_branch"] = "eleven"
elif build_env_vars["version"] == "eleven_plus":
build_env_vars["manifest_url"] = manifest_url_main
build_env_vars["manifest_branch"] = "eleven-plus"
build_env_vars["fallback_branch"] = "eleven"
else:
sys.exit("Invalid version")
......
......@@ -35,7 +35,8 @@ def create_release_zip(post_build_env_vars):
if post_build_env_vars["production"]:
print("Signing apks...")
needs_apex_signing = post_build_env_vars["version"] == "eleven"
needs_apex_signing = (post_build_env_vars["version"] == "eleven" or
post_build_env_vars["version"] == "eleven_plus")
sign_target_files_apks(
post_build_env_vars["unsigned_target_files_path"],
target_files_path,
......
......@@ -115,7 +115,7 @@ def init_post_build_env_vars(build_env_vars):
"path": "device/qcom/sepolicy-legacy-um"
}
]
if result["version"] == "eleven":
if result["version"] == "eleven" or result["version"] == "eleven_plus":
result["tools"].append({
"url": "https://github.com/PixelExperience/device_qcom_sepolicy_vndr",
"branch": "eleven",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment