Skip to content
Snippets Groups Projects
Commit 06b698c2 authored by Inseob Kim's avatar Inseob Kim
Browse files

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.

Bug: 157106227
Test: include xf86drmMode.h with -Wconversion
Change-Id: I13eaccd20d9a6582c75b7f1ec2657b20205cd952
parent d3505e46
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ cc_defaults {
"-Wno-unused-parameter",
"-Wno-unused-variable",
],
export_include_dirs: ["."],
export_system_include_dirs: ["."],
}
// Library for the device
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment