V8: enable no-pic compiling option

This patch is to enable no-pic compiling option

PIC enables efficient code sharing between processes but increases overhead due
to
indirectly access global variables and functions. By enabling no-pic here,
we can get rid of indirect access calling __x86.get_pc_thunk.bx, while still
share
the library between processes, since zygote loads libwebcore, and all android
applications are forked from zygote and inherits its address space.

The patch takes effect together with the one enabling no-pic compiling option
in v8.
With them, we can see obvious performance improvement for browser workloads,
5%+ for HTML5-zoom and HTML5-animation, 6.6% for sunspider, and 9.1% for
pageloading

Note: This patch is related to a change in external/webkit

Change-Id: Ib055e70c2e0587ac66dcc29ccef8e455aa0b832e
Author: Bin Xu <bxu10X@intel.com>
Signed-off-by: Bin Xu <bxu10X@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 26358
1 file changed