It is expected that V8 in debug mode needs OBJECT_PRINT and
objects-printer.cc. It may need more; you'll find out.

I have no experience with building Android or V8 as part of Android, so I'm
afraid I can't help any further. I would assume that Android provides an
option to build everything in debug mode, but that may not be true or not
what you want.


On Thu, Jun 28, 2012 at 9:20 AM, Cecil Wei <[email protected]> wrote:

> Hi all,
>
> I was trying to enable DEBUG_V8 to rebuild ICS libwebcore.so to check some
> issue.
>
> the makefile was written as follows in Android.v8lib.mk and
> Android.mksnapshot.mk
>
> ifeq ($(DEBUG_V8),true)
> LOCAL_CFLAGS += -DDEBUG -UNDEBUG
> endif
>
> However, I encountered some build errors due to OBJECT_PRINT is not
> defined. I tried to have it defined by adding -DOBJECT_PRINT.
>
> and object_print.cc seems required when OBJECT_PRINT is defined.
>
> Is there something I missed or the makefiles for android need to be
> corrected?
>
> thanks a lot,
>
> Cecil
>
>
>
>
>  --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to