diff --git a/browser/config/mozconfigs/linux64/profile-generate b/browser/config/mozconfigs/linux64/profile-generate new file mode 100644 index 000000000000..b1f292902830 --- /dev/null +++ b/browser/config/mozconfigs/linux64/profile-generate @@ -0,0 +1,8 @@ +. $topsrcdir/browser/config/mozconfigs/linux64/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" +mk_add_options "export MOZ_AUTOMATION_L10N_CHECK=0" + +ac_add_options --enable-profile-generate diff --git a/browser/config/mozconfigs/linux64/profile-use b/browser/config/mozconfigs/linux64/profile-use new file mode 100644 index 000000000000..272851913d58 --- /dev/null +++ b/browser/config/mozconfigs/linux64/profile-use @@ -0,0 +1,6 @@ +. $topsrcdir/browser/config/mozconfigs/linux64/nightly + +ac_add_options --enable-profile-use +ac_add_options --enable-lto +ac_add_options --with-pgo-jarlog=/builds/worker/fetches/en-US.log +ac_add_options --with-pgo-profile-path=/builds/worker/fetches/default.profraw diff --git a/moz.build b/moz.build index 9060a1f51d93..23bca4911e5f 100644 --- a/moz.build +++ b/moz.build @@ -124,7 +124,7 @@ if CONFIG['PGO_PROFILE_PATH']: ] GENERATED_FILES[profdata_gen].script = 'build/merge_profdata.py' GENERATED_FILES[profdata_gen].inputs = [ - CONFIG['PGO_PROFILE_PATH'], + '/' + CONFIG['PGO_PROFILE_PATH'], ] DIRS += [