Revision: 15072
Author:   [email protected]
Date:     Wed Jun 12 01:25:42 2013
Log:      Merged r15071 into trunk branch.

Use -O2 instead -O3 for Android build.

[email protected]

Review URL: https://chromiumcodereview.appspot.com/15821014
http://code.google.com/p/v8/source/detail?r=15072

Modified:
 /trunk/build/android.gypi
 /trunk/build/common.gypi
 /trunk/src/version.cc

=======================================
--- /trunk/build/android.gypi   Wed Mar 13 02:38:22 2013
+++ /trunk/build/android.gypi   Wed Jun 12 01:25:42 2013
@@ -75,15 +75,8 @@
     ],
     'configurations': {
       'Release': {
-        'cflags!': [
-          '-O2',
-          '-Os',
-        ],
         'cflags': [
-          '-fdata-sections',
-          '-ffunction-sections',
           '-fomit-frame-pointer',
-          '-O3',
         ],
       },  # Release
     },  # configurations
=======================================
--- /trunk/build/common.gypi    Fri Jun  7 09:01:45 2013
+++ /trunk/build/common.gypi    Wed Jun 12 01:25:42 2013
@@ -528,8 +528,7 @@
           ['v8_enable_extra_checks==1', {
             'defines': ['ENABLE_EXTRA_CHECKS',],
           }],
-          ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \
-            or OS=="android"', {
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
             'cflags!': [
               '-O2',
               '-Os',
@@ -548,6 +547,25 @@
               }],
             ],
           }],
+          ['OS=="android"', {
+            'cflags!': [
+              '-O3',
+              '-Os',
+            ],
+            'cflags': [
+              '-fdata-sections',
+              '-ffunction-sections',
+              '-O2',
+            ],
+            'conditions': [
+              [ 'gcc_version==44 and clang==0', {
+                'cflags': [
+                  # Avoid crashes with gcc 4.4 in the v8 test suite.
+                  '-fno-tree-vrp',
+                ],
+              }],
+            ],
+          }],
           ['OS=="mac"', {
             'xcode_settings': {
               'GCC_OPTIMIZATION_LEVEL': '3',  # -O3
=======================================
--- /trunk/src/version.cc       Tue Jun 11 08:39:48 2013
+++ /trunk/src/version.cc       Wed Jun 12 01:25:42 2013
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     19
 #define BUILD_NUMBER      13
-#define PATCH_LEVEL       0
+#define PATCH_LEVEL       1
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
 #define IS_CANDIDATE_VERSION 0

--
--
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