How-to build eglretrace for Android

Juha-Pekka Heikkilä juha-pekka.heikkila at linux.intel.com
Sat Oct 18 14:32:45 PDT 2014


Hi Chris,

In this old post you see instructions for building eglretracer:
http://lists.freedesktop.org/archives/apitrace/2013-July/000773.html

I don't have access now to Android source tree where I could successfully
build something but I remember above mentioned instructions should be ok.
Latest Android I ever did something with is JellyBean.

/Juha-Pekka

On Fri, October 17, 2014 5:18 pm, Chris Holmes wrote:
> Ok.  I am not super fluent in cmake, but if i use cmake-gui and check use
> waffle, it still doesn't produce a makefile for eglretrace.  I am happy to
> update the instructions, but I feel like I am stuck on step 1.
>
> Can someone who has built egltrace for Android help?
>
>   Chris
> On Oct 17, 2014 7:11 AM, "José Fonseca" <jose.r.fonseca at gmail.com> wrote:
>
>> I know Waffle is needed to have eglretrace on Android.  But indeed the
>> documentation wasn't updated to mention it.
>>
>> Please see the mailing list archives:
>>
>>
>> http://www.mail-archive.com/search?l=apitrace%40lists.freedesktop.org&q=eglretracer+for+android&x=0&y=0
>>
>> Once you manage to get it working, if you could provide a patch updating
>> Dalvik.markdown with instructions it would be great.  (I don't actually
>> use
>> apitrace on Android myself.)
>>
>> Jose
>>
>> On Thu, Oct 16, 2014 at 4:41 PM, Chris Holmes <j.chris.holmes at gmail.com>
>> wrote:
>>
>>> I'm not having any luck with the existing instructions in the
>>> INSTALL.markdown.
>>>
>>> The instructions for Android are:
>>>
>>> export ANDROID_NDK=/path/to/your/ndk
>>> cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/android.toolchain.cmake
>>> -DANDROID_API_LEVEL=9 -H. -Bbuild
>>> make -C build
>>>
>>> But the resultant makefile doesn't even include eglretrace project
>>>
>>> When I try using the cmake-gui to generate the makefiles (specify
>>> unix-makefiles and use the /cmake/toolchain/android.toolchain.cmake,
>>> it also produces makefiles that do not include the eglretrace project.
>>>
>>> I'm sure I'm missing something basic - but can someone help?
>>>
>>>   Thanks,
>>>     Chris
>>>
>>> --
>>> Like the famous mad philosopher said, when you stare into the void,
>>> the void stares also; but if you cast into the void, you get a type
>>> conversion error.  -- Charles Stross
>>> _______________________________________________
>>> apitrace mailing list
>>> apitrace at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/apitrace
>>>
>>
>>
> _______________________________________________
> apitrace mailing list
> apitrace at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/apitrace
>



More information about the apitrace mailing list