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.
This commit is contained in:
Inseob Kim 2020-06-11 14:05:17 +09:00 committed by Su Hong Koo
parent dcb14fe0c6
commit 460f7907de

View file

@ -44,7 +44,7 @@ cc_defaults {
"-Wno-unused-parameter",
"-Wno-unused-variable",
],
export_include_dirs: ["."],
export_system_include_dirs: ["."],
}
// Library for the device