/*
 * Copyright (C) 2023 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package {
    // See: http://go/android-license-faq
    default_applicable_licenses: ["hardware_google_gfxstream_license"],
}

cc_defaults {
    name: "libgfxstream_guest_egl_defaults",
    host_supported: true,
    vendor: true,
    defaults: [
        "libgfxstream_guest_cc_defaults",
    ],
    header_libs: [
        "libgfxstream_guest_graphics_headers",
        "libnativebase_headers",
    ],
    export_header_lib_headers: [
        "libgfxstream_guest_graphics_headers",
    ],
    shared_libs: [
        "libandroidemu",
        "libcutils",
        "libdrm",
        "liblog",
        "libOpenglCodecCommon",
    ],
    static_libs: [
        "libarect",
        "libqemupipe.ranchu",
    ],
    cflags: [
        "-DGL_GLEXT_PROTOTYPES",
        "-DEGL_EGLEXT_PROTOTYPES",
        "-DLOG_TAG=\"EGL_emulation\"",
        "-DWITH_GLES2",
        "-Wno-gnu-designator",
    ],
    srcs: [
        "eglDisplay.cpp",
        "egl.cpp",
        "ClientAPIExts.cpp",
    ],
    target: {
        android: {
            relative_install_path: "egl",
            header_libs: [
                "libui_headers",
            ],
            shared_libs: [
                "libdl",
            ],
        },
    },
}

cc_library_shared {
    name: "libEGL_emulation",
    defaults: [
        "libgfxstream_guest_egl_defaults",
    ],
    shared_libs: [
        "libOpenglSystemCommon",
    ],
    static_libs: [
        "libplatform",
    ],
}

cc_library_shared {
    name: "libEGL_emulation_with_host",
    defaults: [
        "libgfxstream_guest_egl_defaults",
    ],
    shared_libs: [
        "libOpenglSystemCommonWithHost",
    ],
    target: {
        host: {
            compile_multilib: "64",
        },
        android: {
            compile_multilib: "64",
        },
    },
}
