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

Commit 3614f184 authored by Jerome Gaillard's avatar Jerome Gaillard
Browse files

Allow using libandroid_headers_private on host builds

This is needed to create a host implementation of RenderThread.

Bug: 322360037
Test: build libandroid_runtime on host
Change-Id: I23f78155e0d2c511451e3e249537b83ca06f411a
parent 74962b78
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -105,7 +105,13 @@ aidl_library {

cc_library_headers {
    name: "libandroid_headers_private",
    host_supported: true,
    export_include_dirs: ["include/private"],
    target: {
        windows: {
            enabled: true,
        },
    },
}

filegroup {
+10 −0
Original line number Diff line number Diff line
@@ -48,9 +48,19 @@
#ifndef ANDROID_CHOREOGRAPHER_H
#define ANDROID_CHOREOGRAPHER_H

#include <stddef.h>
#include <stdint.h>
#include <sys/cdefs.h>

// This file may also be built on glibc or on Windows/MacOS libc's, so no-op
// and deprecated definitions are provided.
#if !defined(__INTRODUCED_IN)
#define __INTRODUCED_IN(__api_level) /* nothing */
#endif
#if !defined(__DEPRECATED_IN)
#define __DEPRECATED_IN(__api_level) __attribute__((__deprecated__))
#endif

__BEGIN_DECLS

struct AChoreographer;