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

Commit 2d0dc996 authored by Steven Moreland's avatar Steven Moreland Committed by Jaesoo Lee
Browse files

libutils: export system_headers

vendor + vendor_available modules built with BOARD_VNDK_VERSION :=
current aren't allowed to use global headers. Since libutils uses
system headers itself, it should export them as well.

Bug: 33241851
Test: building with BOARD_VNDK_VERSION := current produces many fewer
errors.

Change-Id: Icc7d2beb2a17da291434c6282eb1b9eb458f114c
Merged-In: I950821f1dae3ddc110db50869247913d5b1aa638
parent a079e453
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
cc_library_headers {
    name: "libsystem_headers",
    vendor_available: true,
    host_supported: true,
    export_include_dirs: ["include"],

    target: {
        linux_bionic: {
            enabled: true,
        },
        windows: {
            enabled: true,
        },
    }
}
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,9 @@ cc_library_headers {
    name: "libutils_headers",
    vendor_available: true,
    host_supported: true,

    header_libs: ["libsystem_headers",],
    export_header_lib_headers: ["libsystem_headers",],
    export_include_dirs: ["include"],
    target: {
        linux_bionic: {