aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2020-06-11 14:05:17 +0900
committerInseob Kim <inseob@google.com>2020-06-17 13:42:24 +0900
commit7f68efe4ae72cef73062dce9f12cc02474bf1966 (patch)
treef1060cd958824e32e2cb6fb312aa1329ef504840
parent271ab5427c3df914e15f5f653f8cd1bb95a6624d (diff)
downloadlibdrm-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.bp2
1 files changed, 1 insertions, 1 deletions
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