[PATCH libdrm 0/5] Yet another round of Android build cleanups

Emil Velikov emil.l.velikov at gmail.com
Tue Mar 17 16:30:07 PDT 2015


Hi all,


As pointed out by Chih-Wei, Android's LOCAL_COPY_HEADERS{,_TO} has been 
depreciated for quite some time.

Although it was a convenient way of getting things done (no more
hard-coding the location of drm) it seems that there is another more 
appropriate (and cleaner) solution. Namely:
Annotate the includes as "exported" and as the user selects the library 
for linking, the build will automatically add the includes.

Big thanks to Chih-Wei for the patience and persistence explaining the 
whole shebang. This series is mostly based on his patch in the 
Android-x86 tree, with some extra bits from your truly :-)

Chih-Wei,

I've tested this a few times already, although having someone with 
experience in the whole thing will be appreciated.


Cheers,
Emil




More information about the dri-devel mailing list