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

Commit 8082ba2f authored by Daniel Norman's avatar Daniel Norman
Browse files

Adds a visibility rule for init defaults.

Also ran bpfmt on the file.

Test: n/a
Change-Id: I33f6233a031462debe295ab5576dd75c948ae081
parent 3d85fc69
Loading
Loading
Loading
Loading
+18 −5
Original line number Diff line number Diff line
@@ -93,12 +93,16 @@ cc_defaults {
        "libutils",
    ],
    bootstrap: true,
    visibility: [":__subpackages__"],
}

cc_library_static {
    name: "libinit",
    recovery_available: true,
    defaults: ["init_defaults", "selinux_policy_version"],
    defaults: [
        "init_defaults",
        "selinux_policy_version",
    ],
    srcs: [
        "action.cpp",
        "action_manager.cpp",
@@ -143,7 +147,10 @@ cc_library_static {
        "ueventd_parser.cpp",
        "util.cpp",
    ],
    whole_static_libs: ["libcap", "com.android.sysprop.apex"],
    whole_static_libs: [
        "libcap",
        "com.android.sysprop.apex",
    ],
    header_libs: ["bootimg_headers"],
    proto: {
        type: "lite",
@@ -153,7 +160,10 @@ cc_library_static {
    target: {
        recovery: {
            cflags: ["-DRECOVERY"],
            exclude_shared_libs: ["libbinder", "libutils"],
            exclude_shared_libs: [
                "libbinder",
                "libutils",
            ],
        },
    },
}
@@ -182,7 +192,10 @@ cc_binary {
    target: {
        recovery: {
            cflags: ["-DRECOVERY"],
            exclude_shared_libs: ["libbinder", "libutils"],
            exclude_shared_libs: [
                "libbinder",
                "libutils",
            ],
        },
    },
}
@@ -281,7 +294,7 @@ cc_binary {
    },
    generated_headers: [
        "generated_stub_builtin_function_map",
        "generated_android_ids"
        "generated_android_ids",
    ],
    target: {
        android: {