summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authortorne <torne@chromium.org>2014-09-26 12:05:08 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-26 19:05:22 +0000
commitc7f9a36cbad5fa14875e26d704ba89208f7cb40f (patch)
tree8db8fd5c6b6c74e126bd10280987cfba7bd462ef /third_party
parenta0f4c7f7b13d30582b3bb2806af7e36f57643514 (diff)
downloadchromium_src-c7f9a36cbad5fa14875e26d704ba89208f7cb40f.zip
chromium_src-c7f9a36cbad5fa14875e26d704ba89208f7cb40f.tar.gz
chromium_src-c7f9a36cbad5fa14875e26d704ba89208f7cb40f.tar.bz2
android_webview: Enable FDO support for some targets.
Enable feedback-directed optimisation for the main library (required to make the FDO symbols present at link time), skia, and sqlite. Update the android_exports whitelist to allow the gcov symbols to remain public as otherwise profiling will fail. BUG= TBR=michaeln@chromium.org Review URL: https://codereview.chromium.org/591153002 Cr-Commit-Position: refs/heads/master@{#296997}
Diffstat (limited to 'third_party')
-rw-r--r--third_party/sqlite/sqlite.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp
index c1ec3bc..6be9f53 100644
--- a/third_party/sqlite/sqlite.gyp
+++ b/third_party/sqlite/sqlite.gyp
@@ -161,6 +161,12 @@
'-Wno-pointer-to-int-cast',
],
}],
+ # Enable feedback-directed optimisation for sqlite when building in android.
+ ['android_webview_build == 1', {
+ 'aosp_build_settings': {
+ 'LOCAL_FDO_SUPPORT': 'true',
+ },
+ }],
],
}],
],