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

Commit 22d44afc authored by Anton Hansson's avatar Anton Hansson
Browse files

Use a filegroup for the AndroidManifest.xml input

To allow the droidstubs module to be moved to a directory other than
the root, where it would otherwise not be able to access the manifest.

Bug: 271563074
Test: m
Change-Id: Ic437a4157a390d11397de1fe6744ae46a72d2508
parent c1992841
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -506,7 +506,7 @@ metalava_framework_docs_args = "" +
    "--hide Todo " +
    "--hide Typo " +
    "--hide UnavailableSymbol " +
    "--manifest $(location core/res/AndroidManifest.xml) "
    "--manifest $(location :frameworks-base-core-AndroidManifest.xml) "

packages_to_document = [
    "android",
@@ -543,7 +543,7 @@ stubs_defaults {
    sdk_version: "none",
    system_modules: "none",
    java_version: "1.8",
    arg_files: ["core/res/AndroidManifest.xml"],
    arg_files: [":frameworks-base-core-AndroidManifest.xml"],
    aidl: {
        local_include_dirs: [
            "media/aidl",
+9 −0
Original line number Diff line number Diff line
@@ -172,3 +172,12 @@ genrule {
        " > $(out)",
    tools: ["xmllint"],
}

filegroup {
    name: "frameworks-base-core-AndroidManifest.xml",
    srcs: ["AndroidManifest.xml"],
    visibility: [
        "//frameworks/base",
        "//frameworks/base/api",
    ],
}