diff options
author | Jason Macnak <natsu@google.com> | 2019-12-02 22:56:55 -0800 |
---|---|---|
committer | Su Hong Koo <sukoo@google.com> | 2024-07-30 10:54:34 -0400 |
commit | dcb14fe0c6d6cc955d543ba18150bfeef78b00ad (patch) | |
tree | fcf9ef15dc1929afb6b0533993c6d0762bb8059f | |
parent | 6aa6411c5a336d0aed785a49d3df92702cbc6abd (diff) |
Makes libdrm available on host
... to make drm format header visible for host wayland server.
Adds -Wno-implicit-function-declaration for vasprintf() on
xf86drm.c:2965.
Adds -Wno-int-conversion for drm_mmap() on libdrm_macros.h:60.
Also, drive-by alphabetize cflags.
-rw-r--r-- | Android.bp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -37,10 +37,12 @@ cc_defaults { "-Wno-deprecated-declarations", "-Wno-format", "-Wno-gnu-variable-sized-type-not-at-end", + "-Wno-implicit-function-declaration", + "-Wno-int-conversion", + "-Wno-missing-field-initializers", "-Wno-pointer-arith", "-Wno-unused-parameter", "-Wno-unused-variable", - "-Wno-missing-field-initializers", ], export_include_dirs: ["."], } @@ -50,6 +52,7 @@ cc_library { name: "libdrm", recovery_available: true, vendor_available: true, + host_supported: true, defaults: [ "libdrm_defaults", "libdrm_sources", |