[PATCH] libdrm: Convert to Android.mk to Android.bp

John Stultz john.stultz at linaro.org
Tue Sep 24 23:30:18 UTC 2019

On Tue, Sep 24, 2019 at 3:24 PM Rob Herring <robh at kernel.org> wrote:
> On Tue, Sep 24, 2019 at 4:29 PM John Stultz <john.stultz at linaro.org> wrote:
> >
> > This patch removes the deprecated Android.mk files and replaces
> > them with Android.bp files, used in Android N and newer
> > releases.
> >
> > This is needed in order to build libdrm/master against recent
> > Android releases and AOSP/master, as some of the Treble build
> > options required since Android O cannot be expressed in
> > Andorid.mk files.
> >
> > Patch originally by Dan Willemsen with fixes folded in by:
> >  Jerry Zhang, Eliott Hughes and myself.
> >
> > While this does cost comptability with older pre Android N
> > releases, I'd contend that being able to build/test
> > libdrm/master against AOSP/master and recent releases is more
> > valuable then soley maintaining support for old and unsupported
> > Android releases.
> Trying to maintain something that works across more than 3 releases or
> so is painful. I don't think android-x86 folks have the bandwidth to
> maintain things older than that *and* update to newer versions. So I
> think only supporting the n latest releases is good.
> Are .bp files for master/Q compatible back to N (or O)? IIRC, at least
> for the first couple of releases with .bp files, they seemed to have
> incompatible changes.

I think there have possibly been some incompatible changes, as I know
early w/ bp files things were more in flux. That said, there haven't
been many changes to the libdrm bp files since the conversion was
first done in 2017 (so Android O). I'll checkout N and validate so I
can provide a more concrete assurance.


More information about the dri-devel mailing list