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

Commit 5d708e52 authored by Anton Hansson's avatar Anton Hansson
Browse files

Add individual API tracking files for modules

This adds metalava api tracking generation to the module
stub rules, to make sure we know exactly what API a
particular module stub exports.

Bug: 147768409
Test: m update-api check-api
Exempt-From-Owner-Approval: approved internally
Change-Id: Iaf2ef5b5751eb208d119ddbc74481239366fe581
Merged-In: Iaf2ef5b5751eb208d119ddbc74481239366fe581
(cherry picked from commit bb61f963)
parent 397eb471
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -44,6 +44,12 @@ stubs_defaults {
    args: mainline_stubs_args,
    installable: false,
    sdk_version: "current",
    check_api: {
        current: {
            api_file: "api/current.txt",
            removed_api_file: "api/removed.txt",
        },
    },
}

stubs_defaults {
@@ -52,6 +58,12 @@ stubs_defaults {
    libs: ["framework-annotations-lib"],
    installable: false,
    sdk_version: "system_current",
    check_api: {
        current: {
            api_file: "api/system-current.txt",
            removed_api_file: "api/system-removed.txt",
        },
    },
}

// The defaults for module_libs comes in two parts - defaults for API checks
@@ -65,6 +77,12 @@ stubs_defaults {
    libs: ["framework-annotations-lib"],
    installable: false,
    sdk_version: "module_current",
    check_api: {
        current: {
            api_file: "api/module-lib-current.txt",
            removed_api_file: "api/module-lib-removed.txt",
        },
    },
}

stubs_defaults {
+1 −0
Original line number Diff line number Diff line
// Signature format: 2.0
+1 −0
Original line number Diff line number Diff line
// Signature format: 2.0
+1 −0
Original line number Diff line number Diff line
// Signature format: 2.0
+1 −0
Original line number Diff line number Diff line
// Signature format: 2.0
Loading