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

Commit 4a5e3f2b authored by Spandan Das's avatar Spandan Das
Browse files

Declare the headers of the ndk_library

This creates a dependency edge between the ndk_library and its headers,
which should be a no-op in regular Soong builds. This dependency edge
will be used in the Multi-tree project to export the relevant .h files into a well
known location

Formatting changes are from bpfmt

Test: m nothing
Bug: 239044713
Change-Id: I432c361195c0d6adb0584b91ab006fb36d45d894
parent 0bddf15f
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -12,7 +12,10 @@ cc_library {
    name: "libETC1",
    srcs: ["ETC1/etc1.cpp"],
    host_supported: true,
    cflags: ["-Wall", "-Werror"],
    cflags: [
        "-Wall",
        "-Werror",
    ],

    target: {
        android: {
@@ -37,6 +40,9 @@ ndk_library {
    symbol_file: "libEGL.map.txt",
    first_version: "9",
    unversioned_until: "current",
    export_header_libs: [
        "libEGL_headers",
    ],
}

ndk_library {
@@ -44,6 +50,9 @@ ndk_library {
    symbol_file: "libGLESv1_CM.map.txt",
    first_version: "9",
    unversioned_until: "current",
    export_header_libs: [
        "libGLESv1_CM_headers",
    ],
}

ndk_library {
@@ -51,6 +60,9 @@ ndk_library {
    symbol_file: "libGLESv2.map.txt",
    first_version: "9",
    unversioned_until: "current",
    export_header_libs: [
        "libGLESv2_headers",
    ],
}

ndk_library {
@@ -58,6 +70,9 @@ ndk_library {
    symbol_file: "libGLESv3.map.txt",
    first_version: "18",
    unversioned_until: "current",
    export_header_libs: [
        "libGLESv3_headers",
    ],
}

cc_defaults {