Enable FDO for v8 in android build.
authorulan@chromium.org <ulan@chromium.org>
Thu, 25 Sep 2014 10:19:09 +0000 (10:19 +0000)
committerulan@chromium.org <ulan@chromium.org>
Thu, 25 Sep 2014 10:19:09 +0000 (10:19 +0000)
R=benm@chromium.org, ulan@chromium.org, torne@chromium.org

TEST=manual
BUG=

Review URL: https://codereview.chromium.org/598723002

Patch from Dehao Chen <dehao@google.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24219 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

build/toolchain.gypi

index eddc329..7f3b9e5 100644 (file)
                 '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' ],
                  'cflags': [ '-m64' ],
                  'ldflags': [ '-m64' ],
                }],
+               # Enable feedback-directed optimisation when building in android.
+               [ 'android_webview_build == 1', {
+                 'aosp_build_settings': {
+                   'LOCAL_FDO_SUPPORT': 'true',
+                 },
+               }],
              ]
            }],
          ],