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

Commit 3628bb3a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Cover framework code in hiddenapi-mappings."

parents 90ad227c 3cc3fa41
Loading
Loading
Loading
Loading
+28 −21
Original line number Diff line number Diff line
@@ -25,9 +25,9 @@
//
// READ ME: ########################################################

// TODO(b/70046217): make these as filegroups where the base directory for aidl files
// is given as 'path'. Eliminate the need for aidl_local_include_dirs.
framework_srcs = [
filegroup {
    name: "framework-defaults-java-srcs",
    srcs: [
        // java sources under this directory
        "core/java/**/*.java",
        "drm/java/**/*.java",
@@ -45,7 +45,12 @@ framework_srcs = [
        "telecomm/java/**/*.java",
        "telephony/java/**/*.java",
        "wifi/java/**/*.java",
    ],
}

// TODO(b/70046217): make these as filegroups where the base directory for aidl files
// is given as 'path'. Eliminate the need for aidl_local_include_dirs.
framework_srcs = [
    // aidl under this directory
    // b/70046217#comment15 These MUST come after all java srcs.
    // TODO(b/70046217) remove the above requirement
@@ -132,7 +137,9 @@ java_defaults {
    defaults: ["framework-aidl-export-defaults"],
    installable: true,

    srcs: framework_srcs,
    srcs: [
        ":framework-defaults-java-srcs",
    ] + framework_srcs,

    aidl: {
        local_include_dirs: framework_aidl_local_include_dirs,
@@ -1165,10 +1172,10 @@ droidstubs {
    name: "hiddenapi-mappings",
    defaults: ["metalava-api-stubs-default"],
    srcs: [
        ":openjdk_java_files",
        ":framework-defaults-java-srcs",
        ":non_openjdk_java_files",
        ":openjdk_java_files",
        ":opt-telephony-common-srcs",
        "core/java/**/*.java",
    ],
    arg_files: [
        "core/res/AndroidManifest.xml",