On 9 November 2016 at 22:20, Gurchetan Singh <gurchetansi...@chromium.org> wrote: > It's possible to build Mesa for Android using the traditional > autotools workflow. To enable this, let's add the required > pkg-config checks and link against them. > > v2: Bundle pkg-config checks together (Emil) > --- > configure.ac | 1 + > src/egl/Makefile.am | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/configure.ac b/configure.ac > index 9b6976f..66ef4ed 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -2052,6 +2052,7 @@ for plat in $egl_platforms; do > ;; > > android) > + PKG_CHECK_MODULES([ANDROID], [cutils hardware sync]) > ;; > > *) > diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am > index 83fad15..31d8a6e 100644 > --- a/src/egl/Makefile.am > +++ b/src/egl/Makefile.am > @@ -87,6 +87,8 @@ endif > > if HAVE_EGL_PLATFORM_ANDROID > AM_CFLAGS += -DHAVE_ANDROID_PLATFORM > +AM_CFLAGS += $(ANDROID_CFLAGS) > +libEGL_la_LIBADD += $(ANDROID_LIBS) Smashing thanks !
Looking at android.googlesource.com I cannot find the .pc files ? So my earlier question still stands ;-) " Does the upstream repositories have the files or one requires extra patches ? Please add a reference or two to bugzilla/gerrit or upstream where these are available. " Thanks Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev