|
@@ -59,7 +59,7 @@ diff --git a/config/config.mk b/config/config.mk
|
|
|
GLOBAL_DEPS += backend.mk
|
|
|
include backend.mk
|
|
|
endif
|
|
|
-@@ -429,19 +432,16 @@ endif # ! WINNT
|
|
|
+@@ -418,19 +421,16 @@ endif # ! WINNT
|
|
|
|
|
|
# Make sure any compiled classes work with at least JVM 1.4
|
|
|
JAVAC_FLAGS += -source 1.4
|
|
@@ -123,7 +123,7 @@ diff --git a/python/mozbuild/mozbuild/action/file_generate.py b/python/mozbuild/
|
|
|
diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild/mozbuild/backend/recursivemake.py
|
|
|
--- a/python/mozbuild/mozbuild/backend/recursivemake.py
|
|
|
+++ b/python/mozbuild/mozbuild/backend/recursivemake.py
|
|
|
-@@ -528,16 +528,20 @@ class RecursiveMakeBackend(CommonBackend
|
|
|
+@@ -536,16 +536,20 @@ class RecursiveMakeBackend(CommonBackend
|
|
|
try:
|
|
|
outputs.append(o.format(**substs))
|
|
|
except KeyError as e:
|
|
@@ -144,7 +144,7 @@ diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild
|
|
|
def srcpath(p):
|
|
|
if 'locales/en-US' in p:
|
|
|
# We need an "absolute source path" relative to
|
|
|
-@@ -572,28 +576,30 @@ class RecursiveMakeBackend(CommonBackend
|
|
|
+@@ -580,28 +584,30 @@ class RecursiveMakeBackend(CommonBackend
|
|
|
# If we're doing this during export that means we need it during
|
|
|
# compile, but if we have an artifact build we don't run compile,
|
|
|
# so we can skip it altogether or let the rule run as the result of
|
|
@@ -184,10 +184,10 @@ diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild
|
|
|
diff --git a/python/mozbuild/mozbuild/backend/tup.py b/python/mozbuild/mozbuild/backend/tup.py
|
|
|
--- a/python/mozbuild/mozbuild/backend/tup.py
|
|
|
+++ b/python/mozbuild/mozbuild/backend/tup.py
|
|
|
-@@ -276,16 +276,17 @@ class TupOnly(CommonBackend, PartialBack
|
|
|
- if obj.script and obj.method and obj.relobjdir not in skip_directories:
|
|
|
- backend_file.export_shell()
|
|
|
+@@ -528,16 +528,17 @@ class TupBackend(CommonBackend):
|
|
|
cmd = self._py_action('file_generate')
|
|
|
+ if obj.localized:
|
|
|
+ cmd.append('--locale=en-US')
|
|
|
cmd.extend([
|
|
|
obj.script,
|
|
|
obj.method,
|