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

Commit b2b9dd7d authored by Fan Xu's avatar Fan Xu
Browse files

Create a header library for libnativewindow

After discussion, we reached the agreement that bufferhub will use
AHardwareBuffer_Desc as the standard buffer description, therefore need
to create this header lib to expose the definition for use.

Test: build passed. Not changing behavior so no further test is needed.
Bug: 118505913
Change-Id: Id2690f96f6ee79f1312076f353c2f64934654ce4
parent a09147e1
Loading
Loading
Loading
Loading
+9 −1
Original line number Original line Diff line number Diff line
@@ -13,13 +13,20 @@
// limitations under the License.
// limitations under the License.


ndk_headers {
ndk_headers {
    name: "libnativewindow_headers",
    name: "libnativewindow_ndk_headers",
    from: "include/android",
    from: "include/android",
    to: "android",
    to: "android",
    srcs: ["include/android/*.h"],
    srcs: ["include/android/*.h"],
    license: "NOTICE",
    license: "NOTICE",
}
}


// TODO(b/118715870): cleanup header files
cc_library_headers {
    name: "libnativewindow_headers",
    export_include_dirs: ["include"],
    vendor_available: false,
}

ndk_library {
ndk_library {
    name: "libnativewindow",
    name: "libnativewindow",
    symbol_file: "libnativewindow.map.txt",
    symbol_file: "libnativewindow.map.txt",
@@ -70,6 +77,7 @@ cc_library {


    header_libs: [
    header_libs: [
        "libnativebase_headers",
        "libnativebase_headers",
        "libnativewindow_headers",
    ],
    ],


    // headers we include in our public headers
    // headers we include in our public headers