Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Gregory Szorc c2d58c7edd Bug 1412932 - Set MOZ_PGO for configure; r=ted
The mechanism by which PGO builds are kicked off is kinda wonky.

The MOZ_PGO environment variable is recognized by configure and setting
it will result in MOZ_PGO being defined in substs. In addition, the
build backend (previously client.mk, now Makefile.in) also recognizes
MOZ_PGO (from mozconfig or environment) and takes appropriate action.

In-tree mozconfigs set MOZ_PGO via mk_add_options. mk_add_options
is intended as a mechanism to inject state into client.mk and the
make-based build system.

In addition, there is code in mozharness (unchanged by this commit)
that sets MOZ_PGO if appropriate.

A PGO build configuration is different from a non-PGO build
configuration. Therefore a make-centric environment variable to
control PGO is not ideal. Instead, this should be defined as a
configure-time flag and the build invocation should key off that.

This commit normalizes in-tree mozconfigs to set MOZ_PGO via
ac_add_options and updates the PGO documentation to recommend
this method.

MozReview-Commit-ID: k6AZyJuXjs

--HG--
extra : rebase_source : b1a6348611eba08dd67ec938cca5586fbe8e6910
extra : source : 25c7ebc7c44dd253f421b6de3d0337635d0c99d0
2017-11-07 15:13:02 -08:00
.cargo
.vscode
accessible Bug 1413599 - Backed out changeset 5b1cc7fdfa40 2017-11-03 12:16:20 -05:00
browser Bug 1412932 - Set MOZ_PGO for configure; r=ted 2017-11-07 15:13:02 -08:00
build Bug 1412932 - Set MOZ_PGO for configure; r=ted 2017-11-07 15:13:02 -08:00
caps Bug 1412345: Downgrade expanded principals before inheriting. r=bz,krizsa 2017-11-02 19:56:27 -07:00
chrome Bug 1410736 - Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame 2017-11-03 17:08:34 -07:00
config Bug 1414064 - Remove LD_VERSION_SCRIPT from the build system. r=mshal 2017-11-07 14:35:05 -08:00
db Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium 2017-10-25 15:12:09 -07:00
devtools Bug 1291399 remove references to getExtensionUUID, r=aswan 2017-10-17 17:02:06 -07:00
docshell Bug 1412824: Refactor MaybeCloseWindow and allow to reuse the window close code from within nsExternalHelperAppService as well as nsDSURIContentListener. r=smaug 2017-11-03 13:23:25 +01:00
dom Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-08 00:08:26 +02:00
editor Bug 1414713 - EditorUtils::IsDescendantOf() should take EditorDOMPoint and EditorRawDOMPoint as out param r=catalinb,m_kato 2017-11-06 17:01:33 +09:00
embedding
extensions Bug 1407720 - Merge nsICookieManager and nsICookieManager2 r=nwgh 2017-10-31 13:02:28 +01:00
gfx Backed out 3 changesets (bug 1413362) for causing merge conflicts. r=merge a=merge 2017-11-07 12:41:11 +02:00
gradle/wrapper Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu 2017-10-16 15:09:15 -07:00
hal Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj 2017-10-24 23:30:31 -07:00
image Bug 1415085 - Make CachedSurface::GetSurfaceKey return a reference instead of a copy. r=decoder 2017-11-07 08:10:01 -05:00
intl Bug 1414872 - Fix always adding source locale to requested locales fallback chain. r=jfkthame 2017-11-06 09:01:35 -08:00
ipc Bug 1414767 - Moving SlicedInputStream under mozilla namespace, r=froydnj 2017-11-07 01:04:06 +01:00
js Bug 1414064 - Move BIN_FLAGS to MOZ_PROGRAM_LDFLAGS, get rid of BIN_FLAGS. r=mshal 2017-11-07 14:34:44 -08:00
layout merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-07 12:43:06 +02:00
media Bug 1412558 - P2. Disable ffvp8 and ffvp9 decoders on Unixes 32 bits. r=mshal 2017-11-06 17:57:48 +01:00
memory Bug 1414155 - Define AddressRadixTree node size as a size rather than a power of 2. r=njn 2017-11-03 13:50:44 +09:00
mfbt Bug 1412825 - fix lz4 deprecated attribute with clang and c++14; r=RyanVM 2017-10-30 10:12:38 -04:00
mobile merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-07 12:43:06 +02:00
modules Bug 1414977 - Allow webgl.force-index-validation:-1 to disable index validation for testing. - r=daoshengmu 2017-11-06 19:46:37 -08:00
mozglue Bug 1411712 - Move symbol version script flags for arm in mozglue to moz.build. r=mshal 2017-11-02 11:47:48 -07:00
netwerk Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-08 00:08:26 +02:00
nsprpub Bug 1393854, land NSPR_4_18_RTM, no code change, only version numbers, r=me 2017-09-19 18:43:02 +02:00
other-licenses Bug 1413568 - Update installer icons. r=mconley 2017-11-02 08:34:22 -07:00
parser Bug 1385288 - Disable parser/htmlparser/tests/reftest/bug582940-1.html on osx for frequent failures. r=me, a=testonly 2017-11-02 13:15:06 -04:00
python Bug 1412932 - Switch to PGO build in Makefile.in; r=ted 2017-11-07 16:38:39 -08:00
rdf Bug 1409329 - NS_NewBufferedOutputStream should take the ownership of the outputStream, r=smaug 2017-10-24 14:38:23 +02:00
security Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-08 00:08:26 +02:00
services merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-07 02:47:30 +02:00
servo servo: Merge #19133 - Import sequence inner types if it appears in dictionary members (from KiChjang:import-sequence-inner-types); r=jdm 2017-11-07 17:07:03 -06:00
startupcache Bug 1408017 - Clear gStartupCacheWrapper in the dtor. r=froydnj 2017-10-26 16:47:27 -04:00
storage Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop 2017-10-26 11:47:01 +01:00
taskcluster Bug 1376546 - Set up browser instrumentation as a new taskcluster job;r=jmaher 2017-11-07 15:19:20 -08:00
testing Bug 1412932 - Inline pgo-profile-run target; r=ted 2017-11-07 15:06:45 -08:00
third_party Bug 1411250 - Revendor deps; r=xidorn 2017-11-06 15:04:28 -08:00
toolkit Bug 1291399 remove references to getExtensionUUID, r=aswan 2017-10-17 17:02:06 -07:00
tools Bug 1414394 Mark write()'s in libfuzzer as Unused to silence a warning r=njn 2017-11-03 23:17:27 -05:00
uriloader merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-04 10:58:24 +01:00
view Bug 1397644 part 2 - Remove test annotations for this bug. r=emilio 2017-10-20 21:31:13 +11:00
widget Backed out 3 changesets (bug 1413362) for causing merge conflicts. r=merge a=merge 2017-11-07 12:41:11 +02:00
xpcom merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-07 12:43:06 +02:00
xpfe Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj 2017-10-21 23:53:02 +09:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Backed out changeset 31f259ee387b (bug 1411004) for failing flake8 at tools/mach_commands.py:307:14 | indentation is not a multiple of four. r=backout 2017-10-31 16:20:11 +01:00
.clang-tidy
.cron.yml No Bug - Move periodic file update start time earlier, to reflect when buildbot used to run. r=me 2017-10-20 11:17:50 -04:00
.eslintignore Bug 1403956 - Enable ESLint from chrome/ directory. r=standard8 2017-10-26 16:56:18 -04:00
.eslintrc.js
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python
.gitignore Bug 1412930 - Package localized prerendered files. r=k88hudson 2017-10-30 13:13:35 -07:00
.hgignore Bug 1410341 - add toolchains.json to .hgignore;r=jmaher 2017-10-20 10:53:20 +02:00
.hgtags No bug - Tagging mozilla-central 40a14ca1cf04499f398e4cb8ba359b39eae4e216 with FIREFOX_BETA_58_BASE a=release DONTBUILD CLOSED TREE 2017-11-02 16:47:50 +00:00
.inferconfig
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.taskcluster.yml Bug 1409577 - Add static indexes to decision task r=dustin 2017-10-18 11:55:01 -04:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -04:00
.ycm_extra_conf.py
AUTHORS
CLOBBER Bug 1413550 - Add per-platform styles, per-locale html and bug fixes to Activity Stream. r=k88hudson 2017-11-03 12:08:30 -07:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1412932 - Inline pgo-profile-run target; r=ted 2017-11-07 15:06:45 -08:00
README.txt
aclocal.m4
build.gradle (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland 2017-11-06 15:23:47 +02:00
client.mk Bug 1412932 - Switch to PGO build in Makefile.in; r=ted 2017-11-07 16:38:39 -08:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
gradle.properties Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu 2017-07-18 17:59:57 -07:00
gradlew
mach
moz.build Bug 1413538 - remove unused FILES_PER_UNIFIED_FILE from root moz.build; r=chmanchester 2017-11-01 13:50:00 -04:00
moz.configure Bug 1403346 - Define flags loading the clang plugin in configure rather than the make backend. r=glandium 2017-10-25 15:12:10 -07:00
mozilla-config.h.in
npm-shrinkwrap.json Bug 1405237 - Revert unexpected npm-shrinkwrap.json changes in bug 1349689 r=Gijs 2017-10-03 17:04:14 +08:00
old-configure.in Bug 1412558 - P2. Disable ffvp8 and ffvp9 decoders on Unixes 32 bits. r=mshal 2017-11-06 17:57:48 +01:00
package.json Bug 1410782 - Fix props.connector is undefined when running launchpad r=Honza 2017-10-23 15:39:47 +08:00
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/