diff options
author | Inseob Kim <inseob@google.com> | 2020-06-11 14:05:17 +0900 |
---|---|---|
committer | Inseob Kim <inseob@google.com> | 2020-06-17 13:42:24 +0900 |
commit | 7f68efe4ae72cef73062dce9f12cc02474bf1966 (patch) | |
tree | f1060cd958824e32e2cb6fb312aa1329ef504840 | |
parent | 271ab5427c3df914e15f5f653f8cd1bb95a6624d (diff) | |
download | libdrm-android11-dev.tar.gz |
Export include dirs with -isystemandroid11-dev
drm_property_type_is function in xf86drmMode.h file can cause compiler
error because it performs unsigned to signed conversion. Some Android.mk
modules have been avoiding this by adding "-isystem external/libdrm"
flag, because warnings from system headers are suppressed.
This changes exported_include_dirs to export_system_include_dirs
to workaround the potential error with the same manner above.
Bug: 157106227
Test: include xf86drmMode.h with -Wconversion
Change-Id: I13eaccd20d9a6582c75b7f1ec2657b20205cd952
Merged-In: I13eaccd20d9a6582c75b7f1ec2657b20205cd952
(cherry picked from commit 06b698c2b81637b803c3467f57ab511d44fe8090)
-rw-r--r-- | Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ cc_defaults { "-Wno-unused-parameter", "-Wno-unused-variable", ], - export_include_dirs: ["."], + export_system_include_dirs: ["."], } // Library for the device |