diff options
author | Jing Yu <jingyu@google.com> | 2010-12-15 14:28:35 -0800 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2010-12-21 10:19:43 -0800 |
commit | b7963ae8925d12e0054f68433e1dab3c32882850 (patch) | |
tree | 91a069549cea6afcaa0d6bd43b13ce0465c2d4d5 /Android.mk | |
parent | add0332f6041d028cd7cdf46ad1b0226547e68fe (diff) | |
download | external_webkit-b7963ae8925d12e0054f68433e1dab3c32882850.zip external_webkit-b7963ae8925d12e0054f68433e1dab3c32882850.tar.gz external_webkit-b7963ae8925d12e0054f68433e1dab3c32882850.tar.bz2 |
Override ALWAYS_INLINE attribute with inline.
ALWAYS_INLINE attribute was abused in libwebcore.so. By overriding
it with normal inline attribute, the size of libwebcore.so is
reduced by 3.71%, wihtout noticable performance regression on
webcore_test benchmark.
Change-Id: Icc1710726f28a93c3be660ba7c22c8c356748460
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -290,6 +290,7 @@ LOCAL_CFLAGS += -Wno-endif-labels -Wno-import -Wno-format LOCAL_CFLAGS += -fno-strict-aliasing LOCAL_CFLAGS += -include "WebCorePrefix.h" LOCAL_CFLAGS += -fvisibility=hidden +LOCAL_CFLAGS += -DALWAYS_INLINE=inline # Make sure assert.h is included before assert is defined LOCAL_CFLAGS += -include "assert.h" ifeq ($(HTTP_STACK),chrome) |