Reviewers: benm, Torne,

Description:
Enable FDO for v8 in android build.

[email protected],[email protected]

TEST=manual
BUG=

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

SVN Base: https://chromium.googlesource.com/v8/v8@master

Affected files (+12, -0 lines):
  M build/toolchain.gypi


Index: build/toolchain.gypi
diff --git a/build/toolchain.gypi b/build/toolchain.gypi
index eddc32979fb4524ac6810afa04d071c6813d90ed..7f3b9e52d91dfab36ad3297e147d94f039664d0b 100644
--- a/build/toolchain.gypi
+++ b/build/toolchain.gypi
@@ -621,6 +621,12 @@
                 'cflags': [ '-m32' ],
                 'ldflags': [ '-m32' ],
               }],
+ # Enable feedback-directed optimisation when building in android.
+              [ 'android_webview_build == 1', {
+                'aosp_build_settings': {
+                  'LOCAL_FDO_SUPPORT': 'true',
+                },
+              }],
             ],
             'xcode_settings': {
               'ARCHS': [ 'i386' ],
@@ -645,6 +651,12 @@
                  'cflags': [ '-m64' ],
                  'ldflags': [ '-m64' ],
                }],
+ # Enable feedback-directed optimisation when building in android.
+               [ 'android_webview_build == 1', {
+                 'aosp_build_settings': {
+                   'LOCAL_FDO_SUPPORT': 'true',
+                 },
+               }],
              ]
            }],
          ],


--
--
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/d/optout.

Reply via email to