diff options
| author | Doug Kwan <dougkwan@google.com> | 2010-06-29 00:01:07 -0700 |
|---|---|---|
| committer | Doug Kwan <dougkwan@google.com> | 2010-06-29 00:01:07 -0700 |
| commit | a94adf74b8a91ff002b9cade1736e5c4a50d52fb (patch) | |
| tree | 4396eac3f7453a030e5f21e3b7a93b70e2a85051 /Android.libv8.mk | |
| parent | 7f4d5bd8c03935e2c0cd412e561b8fc5a6a880ae (diff) | |
| download | android_external_v8-a94adf74b8a91ff002b9cade1736e5c4a50d52fb.tar.gz android_external_v8-a94adf74b8a91ff002b9cade1736e5c4a50d52fb.tar.bz2 android_external_v8-a94adf74b8a91ff002b9cade1736e5c4a50d52fb.zip | |
Set default symbol visibility of libv8.a to hidden.
Change-Id: I3862f4ebccfcb3e66f4f6187ae95f05679161c8c
Diffstat (limited to 'Android.libv8.mk')
| -rw-r--r-- | Android.libv8.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Android.libv8.mk b/Android.libv8.mk index 01560ca7..192a4775 100644 --- a/Android.libv8.mk +++ b/Android.libv8.mk @@ -58,13 +58,16 @@ LOCAL_SRC_FILES += \ src/snapshot-empty.cc endif +# The -fvisibility=hidden option below prevents exporting of symbols from +# libv8.a in libwebcore.so. That reduces size of libwebcore.so by 500k. LOCAL_CFLAGS += \ -Wno-endif-labels \ -Wno-import \ -Wno-format \ -fno-exceptions \ -DENABLE_DEBUGGER_SUPPORT \ - -DV8_NATIVE_REGEXP + -DV8_NATIVE_REGEXP \ + -fvisibility=hidden ifeq ($(TARGET_ARCH),arm) LOCAL_CFLAGS += -DARM -DV8_TARGET_ARCH_ARM |
