sysconf mapping

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Merge pull request #184 from groleo/master

sysconf mapping
More concise MAJOR MINOR PATCH level detection

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Generate android-config.h in extract-headers.sh
This will be used to hold configuration options set during the android build in GLOBAL_CFLAGS etc
Use android-config.h instead of android-version.h now android-version is included in there

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Now android-config.h is used to set android GLOBAL_CFLAGS it needs to be included in code that may need it. gralloc.h is used extensively in egl and is impacted by, eg: EXYNOS4_ENHANCEMENTS define

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Camera uses gralloc which may be impacted by GLOBAL_CFLAGS

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
test_ui uses gralloc which may be impacted by GLOBAL_CFLAGS

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Tests: add android-config.h when another file in android/ dir is included

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add android-config.h as another file in android/ dir is included

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Ensure android-config.h is present

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Simplify the Android version extraction

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Whitespace cleanup

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Merge pull request #186 from lbt/master

Introduce android-config.h to ensure build-time defines can be set
Rely solely on "buffer release" to recycle buffers.

Signed-off-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Merge pull request #187 from sletta/noframe

Rely solely on "buffer release" to recycle buffers.
Set the attached size of wl_egl_windows.

Make wl_egl_window_get_attached_size() give the right values instead
of always 0,0.
Merge pull request #189 from giucam/wl_egl_fix

Set the attached size of wl_egl_windows.
make with-android-headers optional

If --with-android-headers is not specified, try to use pkg-config.

Also, extract Android versions from android-version.h using
ANDROID_HEADERS_CFLAGS and the preprocessor.

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Don't use the android/ prefix in #includes