Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7edc2b19 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "releasetools: Build build_super_image as a lib."

parents 28dd0c83 005305ad
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -24,6 +24,14 @@ python_defaults {
    },
}

python_library_host {
    name: "releasetools_build_super_image",
    defaults: ["releasetools_library_defaults"],
    srcs: [
        "build_super_image.py",
    ],
}

python_library_host {
    name: "releasetools_common",
    defaults: ["releasetools_library_defaults"],
@@ -110,11 +118,11 @@ python_binary_host {
    name: "merge_builds",
    defaults: ["releasetools_binary_defaults"],
    srcs: [
        "build_super_image.py",
        "merge_builds.py",
    ],
    main: "merge_builds.py",
    libs: [
        "releasetools_build_super_image",
        "releasetools_common",
    ],
}
@@ -141,7 +149,6 @@ python_defaults {
        "add_img_to_target_files.py",
        "apex_utils.py",
        "build_image.py",
        "build_super_image.py",
        "check_ota_package_signature.py",
        "check_target_files_signatures.py",
        "edify_generator.py",
@@ -158,6 +165,7 @@ python_defaults {
        "test_*.py",
    ],
    libs: [
        "releasetools_build_super_image",
        "releasetools_common",
        "releasetools_verity_utils",
    ],