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
Перейти к файлу
Ted Mielczarek bb6561df1a bug 1416891 - support LOCALIZED_GENERATED_FILES in the recursive make backend. r=nalexander
This change makes the recursive make backend emit slightly different rules
when handling LOCALIZED_GENERATED_FILES vs. GENERATED_FILES.

First, localized file generation is always done in the libs tier.

Second, inputs are allowed to be locale-dependent, which is determined by
the path starting with `en-US/`. These inputs will be run through MERGE_FILE
to determine the actual file path to pass to the script.

Third, the file_generate action now accepts a `--locale` option, and it
gets passed the value of `$(AB_CD)` when generating localized files. If this
option is passed it is also passed as a keyword argument `locale` to the
generation function.

Fourth, the make rules for localized files include an additional dependency
on FORCE when running l10n repacks, so that the targets will always be
rebuilt in that situation.

MozReview-Commit-ID: BfgR8MxxJXZ

--HG--
rename : python/mozbuild/mozbuild/test/backend/data/generated-files/foo-data => python/mozbuild/mozbuild/test/backend/data/localized-generated-files/foo-data
rename : python/mozbuild/mozbuild/test/backend/data/generated-files/generate-foo.py => python/mozbuild/mozbuild/test/backend/data/localized-generated-files/generate-foo.py
rename : python/mozbuild/mozbuild/test/backend/data/generated-files/moz.build => python/mozbuild/mozbuild/test/backend/data/localized-generated-files/moz.build
extra : rebase_source : 1d123afbad4f3d949a2f13f1685f30b1e3069e97
2017-11-16 17:07:23 -05:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible Bug 1421018 - Create accessible client blocklist and add TBNNotifier.exe. r=jimm 2017-12-04 13:20:00 -05:00
browser Backed out changeset 9fff8b2fcf78 (bug 1407285) for L10n bustage. r=backout a=backout 2017-12-05 01:28:11 +02:00
build Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
caps Bug 1222924 - stop allowing webpages to link to moz-icon: , r=mrbkap 2017-11-22 21:31:41 +00:00
chrome Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8 2017-05-28 19:57:46 +01:00
config Bug 1404069 - Revert bug 1363372. r=mayhemer 2017-11-27 21:12:31 +01:00
db Bug 1411417 - Upgrade to SQLite 3.21.0. r=mak 2017-11-15 18:40:32 -05:00
devtools Bug 1422282 - Upgrade react-redux to v5.0.6 r=nchevobbe 2017-12-01 12:49:12 +00:00
docshell Bug 1422983 Cycle collect the ClientSource object when owned by an nsGlobalWindowInner or nsDocShell object. r=mccr8 2017-12-04 22:13:33 -05:00
dom Bug 1385298 - Fix test for bug 504224 to actually do something. r=bkelly 2017-12-04 15:24:00 -05:00
editor Merge inbound to mozilla-central r=merge a=merge 2017-12-01 00:22:25 +02:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Merge inbound to mozilla-central r=merge a=merge 2017-12-01 00:22:25 +02:00
gfx Bug 1422898 - Update Harfbuzz to 1.7.2. r=jfkthame 2017-12-05 07:44:54 -05: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 1420245 - When getting the current frame of a VectorImage, eliminate any unnecessary draws. r=tnikkel 2017-12-01 18:50:07 -05:00
intl Backed out changeset a866e058c608 (bug 1415827) for build bustage at intl/icu/source/i18n/calendar.cpp:711:16 r=backout on a CLOSED TREE 2017-11-30 15:58:12 +02:00
ipc Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
js Bug 1417844 part 7 - Remove JSVersion. r=evilpie 2017-12-05 11:07:52 +01:00
layout Bug 1418177 - Add crashtest. r=mattwoodrow 2017-12-05 16:47:27 +08:00
media Bug 1422987 - Correct override warning in RtpSourceObserver work. r=mjf, a=RyanVM 2017-12-04 14:19:46 -08:00
memory Bug 1420355 - Statically link DMD. r=njn 2017-11-28 08:10:48 +09:00
mfbt Bug 1379680. Add a way to append buffers to a BufferList. r=billm 2017-11-29 10:11:13 -05:00
mobile no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump 2017-12-04 12:40:52 -08:00
modules Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-04 22:47:53 +02:00
mozglue Bug 1421991 - Add old versions of G DATA BankGuard .dll to Windows blocklist. r=jimm 2017-11-30 17:37:20 +01:00
netwerk Bug 1340197 - Don't wait for concurrent HTTP cache entry when the depending load is a top-level navigation. r=michal 2017-11-27 07:26:00 -05:00
nsprpub Bug 1420407, land NSPR 4.18 beta2 (r=me) and remove local NSPR patch that's no longer necessary (r=dragana) 2017-11-29 15:53:43 +01:00
other-licenses Bug 1421354 - Allow stub installer download resuming in more error cases. r=agashlin 2017-11-28 10:54:32 -08:00
parser Bug 1418002 - Remove HTMLContentElement, r=jessica 2017-11-30 10:57:15 +02:00
python bug 1416891 - support LOCALIZED_GENERATED_FILES in the recursive make backend. r=nalexander 2017-11-16 17:07:23 -05:00
rdf Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 2 - NS_NewInputStreamChannel, r=smaug 2017-11-22 11:18:36 +01:00
security Bug 1198481 - Fixed typo 'id_pk_serverAuth' to 'id_kp_serverAuth'. r=keeler 2017-12-02 18:03:18 +05:30
services Backed out changeset 932a77d8fbae (bug 1418466) for ES failures in /builds/worker/checkouts/gecko/browser/base/content/browser-sync.js r=backout on a CLOSED TREE 2017-11-30 18:44:16 +02:00
servo servo: Merge #19440 - Added explicit UTF-8 encoding to test-perf (from asajeffrey:test-perf-utf8); r=jdm 2017-11-30 13:46:15 -06:00
startupcache Bug 1410471 - Remove StartupCacheWrapper and friends. r=froydnj 2017-10-20 10:40:50 -07:00
storage Bug 1402519 - Remove MOZ_CRASHREPORTER directives from storage; r=mak 2017-10-20 11:00:21 +02:00
taskcluster Bug 1422451 - move talos xperf from win7 hardware to VM. r=rwood 2017-12-04 10:11:03 -05:00
testing Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
third_party Bug 1422024: Add StyleBench to the tree. r=jmaher 2017-11-30 17:08:34 +01:00
toolkit Backed out 6 changesets (bug 1397422, bug 1228841) for devtools mochitest failure devtools/client/debugger/test/mochitest/browser_dbg_search-symbols.js r=backout a=backout on a CLOSED TREE 2017-12-05 06:26:49 +02:00
tools Backed out changeset 9fff8b2fcf78 (bug 1407285) for L10n bustage. r=backout a=backout 2017-12-05 01:28:11 +02:00
uriloader Bug 1421458 - Add more initial configuration setup and prepare .eslintignore for enabling ESLint on more xpcshell-test directories. r=mossop 2017-11-28 22:57:08 +00:00
view Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio 2017-11-09 03:00:48 +01:00
widget Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-04 22:47:53 +02:00
xpcom Backed out changeset 4418485f0512 (bug 1410096) for bustage at dist/include/mozilla/SchedulerGroup.h:186. r=backout on a CLOSED TREE 2017-12-04 19:23:42 +02:00
xpfe Backout 84bcb5742e0c (bug 1405577) to replace with a slimmer patch. r=me 2017-12-04 15:06:26 -05: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
.cron.yml Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester) 2017-11-23 07:25:12 -08:00
.eslintignore Backed out 7 changesets (bug 1377007) for failing build bustage on Linux pgo and faling Cpp's jsapi-tests r=backout on a CLOSED TREE 2017-12-04 18:01:09 +02:00
.eslintrc.js Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
.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 Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1419601 - Indonesian Bahasa Indonesia "id" builds have broken new tab pages. r=k88hudson 2017-11-21 15:37:58 -08:00
.hgignore Bug 1415168 - Fix 404 error when running talos speedometer locally; r=igoldan 2017-11-28 15:35:44 -05:00
.hgtags No bug - Tagging mozilla-central 1f91961bb79ad06fd4caef9e5dfd546afd5bf42c with FIREFOX_NIGHTLY_58_END. a=release DONTBUILD CLOSED TREE 2017-11-12 21:12:59 -05:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.taskcluster.yml Bug 1420469 - action task routes use literal "$ownTaskId" r=bstack 2017-11-24 12:56:24 -05: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 Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
CLOBBER Bug 1419362 part 5: Clobber required for accessibility IDL changes. r=MarcoZ 2017-11-23 20:13:08 +10: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 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
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 1417264 - Write .mozconfig.json from Python; r=nalexander 2017-11-13 17:45:03 -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 1417309 - Add the necessary bits to support a --enable-project=memory option. r=nalexander 2017-11-16 08:37:36 +09:00
moz.configure Bug 1325632 - part 5 - ensure that we compile with -fno-sized-deallocation when possible; r=chmanchester 2017-11-15 14:53:16 -04:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
old-configure.in Backed out changeset 9fff8b2fcf78 (bug 1407285) for L10n bustage. r=backout a=backout 2017-12-05 01:28:11 +02:00
package.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01: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/