mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +00:00
Added support for Android
Added the Android.mk file as per Android make system. Also had to modify the headers with the proper location for fcntl.h as per the Android bionic headers location Signed-off-by: Sateesh Kavuri <sateesh.kavuri@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
committed by
Daniel Vetter
parent
2065ca15fb
commit
b39a74ba4e
@@ -36,7 +36,11 @@
|
||||
#include <err.h>
|
||||
#include <assert.h>
|
||||
#include <sys/ioctl.h>
|
||||
#ifdef ANDROID
|
||||
#include <fcntl.h>
|
||||
#else
|
||||
#include <sys/fcntl.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
#ifdef HAVE_STRUCT_SYSINFO_TOTALRAM
|
||||
|
||||
@@ -38,7 +38,11 @@
|
||||
#include <err.h>
|
||||
#include <assert.h>
|
||||
#include <sys/ioctl.h>
|
||||
#ifdef ANDROID
|
||||
#include <fcntl.h>
|
||||
#else
|
||||
#include <sys/fcntl.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
|
||||
@@ -33,7 +33,11 @@
|
||||
#include <err.h>
|
||||
#include <assert.h>
|
||||
#include <sys/ioctl.h>
|
||||
#ifdef ANDROID
|
||||
#include <fcntl.h>
|
||||
#else
|
||||
#include <sys/fcntl.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user