Reviewers: Vyacheslav Egorov,

Description:
Provide no-pic compilation option on android for x86 atom to improve performance


TEST=make android_ia32.release atom=true

Please review this at https://codereview.chromium.org/17814002/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  Makefile
  build/android.gypi
  build/standalone.gypi


Index: Makefile
===================================================================
--- Makefile    (revision 14965)
+++ Makefile    (working copy)
@@ -177,6 +177,9 @@
 ifeq ($(armtest), on)
   GYPFLAGS += -Darm_test=on
 endif
+ifeq ($(atom), true)
+  GYPFLAGS += -Datom=1
+endif

 # ----------------- available targets: --------------------
 # - "dependencies": pulls in external dependencies (currently: GYP)
Index: build/android.gypi
===================================================================
--- build/android.gypi  (revision 14965)
+++ build/android.gypi  (working copy)
@@ -202,6 +202,12 @@
               '-fno-stack-protector',
             ],
           }],
+          ['target_arch=="ia32" and atom==1', {
+            # No-pic for atom
+            'cflags': [
+              '-fno-pic',
+            ],
+          }],
           ['target_arch=="mipsel"', {
# The mips toolchain currently has problems with stack-protector.
             'cflags!': [
Index: build/standalone.gypi
===================================================================
--- build/standalone.gypi       (revision 14965)
+++ build/standalone.gypi       (working copy)
@@ -81,6 +81,8 @@
     'arm_fpu%': 'vfpv3',
     'arm_float_abi%': 'default',
     'arm_thumb': 'default',
+    #Default IA32 variable settings.
+    'atom%': 'default',
   },
   'target_defaults': {
     'default_configuration': 'Debug',


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to