OSDN Git Service

Fix double-definition of jsc_pcre_default_tables.
authorJack Palevich <jackpal@google.com>
Tue, 5 May 2009 01:13:16 +0000 (18:13 -0700)
committerJack Palevich <jackpal@google.com>
Tue, 5 May 2009 01:13:16 +0000 (18:13 -0700)
commitb5b022e2729875123279ed98370b03cd28080ebd
tree3a7b260a885474abb63c6571c4fdebafdb292f57
parent80c54961fb9fac04a32a62b92d078d3013997477
Fix double-definition of jsc_pcre_default_tables.

The generated file chartables.c was being both explicitly #included inside
of pcre_tables.cpp and also added to LOCAL_GENERATED_SOURCES. This lead to
a duplicate symbol definition.

The reason this ever worked was that the Android build system
accidentally ignored ".c" files in  LOCAL_GENERATED_SOURCES. Now that the
.c files are being compiled the problem is exposed.

Fixed by simply not adding chartables.c to LOCAL_GENERATED_SOURCES.
JavaScriptCore/Android.wtf.mk