From 460f7907de443131cfaad670ce2fb199da1ebf95 Mon Sep 17 00:00:00 2001 From: Inseob Kim Date: Thu, 11 Jun 2020 14:05:17 +0900 Subject: [PATCH] Export include dirs with -isystem 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. --- Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 8b264cd3..158f2660 100644 --- a/Android.bp +++ b/Android.bp @@ -44,7 +44,7 @@ cc_defaults { "-Wno-unused-parameter", "-Wno-unused-variable", ], - export_include_dirs: ["."], + export_system_include_dirs: ["."], } // Library for the device