Bug 632954 - Add Android PGO mozconfigs; r=nalexander
☠☠ backed out by d7e6fff52db3 ☠ ☠
authorMike Shal <mshal@mozilla.com>
Mon, 18 Mar 2019 23:52:43 +0000
changeset 465137 503bcac735831eea887393d4759358220bcb6d99
parent 465136 142ae187478da8a6c3899ef6409cafc6e60a9115
child 465138 53d3443e55d95af494d6c8bdc3d2d7a52c5eff1e
push id35732
push useropoprus@mozilla.com
push dateWed, 20 Mar 2019 10:52:37 +0000
treeherdermozilla-central@708979f9c3f3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs632954
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 632954 - Add Android PGO mozconfigs; r=nalexander Differential Revision: https://phabricator.services.mozilla.com/D22819
mobile/android/config/mozconfigs/android-api-16/profile-generate
mobile/android/config/mozconfigs/android-api-16/profile-use
new file mode 100644
--- /dev/null
+++ b/mobile/android/config/mozconfigs/android-api-16/profile-generate
@@ -0,0 +1,8 @@
+. "$topsrcdir/mobile/android/config/mozconfigs/android-api-16/nightly"
+
+mk_add_options "export MOZ_AUTOMATION_BUILD_SYMBOLS=0"
+mk_add_options "export MOZ_AUTOMATION_PACKAGE_TESTS=0"
+mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
+
+ac_add_options --enable-profile-generate
+unset MOZ_LTO
new file mode 100644
--- /dev/null
+++ b/mobile/android/config/mozconfigs/android-api-16/profile-use
@@ -0,0 +1,7 @@
+. "$topsrcdir/mobile/android/config/mozconfigs/android-api-16/nightly"
+
+export LLVM_PROFDATA="$topsrcdir/clang/bin/llvm-profdata"
+
+ac_add_options --enable-profile-use
+ac_add_options --with-pgo-jarlog=/builds/worker/fetches/en-US.log
+ac_add_options --with-pgo-profile-path=/builds/worker/fetches/default.profraw