Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at…
Browse files Browse the repository at this point in the history
… update-1.xpi.stub. CLOSED TREE
  • Loading branch information
cristianbrindusan committed Feb 13, 2020
1 parent 5f71514 commit e0181b5
Show file tree
Hide file tree
Showing 69 changed files with 22 additions and 143 deletions.
1 change: 0 additions & 1 deletion accessible/xpcom/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ else:
GeneratedFile(
'xpcAccEvents.h', 'xpcAccEvents.cpp',
script='AccEventGen.py', entry_point='gen_files',
py2=True,
inputs=[
'AccEvents.conf',
'!/xpcom/idl-parser/xpidl/xpidllex.py',
Expand Down
1 change: 0 additions & 1 deletion browser/app/winlauncher/freestanding/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ if CONFIG['COMPILE_ENVIRONMENT']:
'%sntdll_freestanding.%s' % (CONFIG['LIB_PREFIX'],
CONFIG['LIB_SUFFIX']),
script='gen_ntdll_freestanding_lib.py',
py2=True,
inputs=['ntdll_freestanding.def'],
flags=[CONFIG['LLVM_DLLTOOL']] + CONFIG['LLVM_DLLTOOL_FLAGS'])

Expand Down
2 changes: 0 additions & 2 deletions browser/locales/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ if CONFIG['MOZ_UPDATER']:
'en-US/updater/updater.ini',
'../installer/windows/nsis/updater_append.ini',
]
updater.py2 = True
# Yes, this is weird, but what can you do? This file doesn't want to be in the DIST_SUBDIR,
# but we can't really move it to a different directory until we change how locale repacks
# work.
Expand All @@ -35,7 +34,6 @@ bookmarks.inputs = [
# The `locales/en-US/` will be rewritten to the locale-specific path.
'en-US/profile/bookmarks.inc',
]
bookmarks.py2 = True

with Files("**"):
BUG_COMPONENT = ("Firefox Build System", "General")
Expand Down
1 change: 0 additions & 1 deletion build/clang-plugin/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ if CONFIG['ENABLE_MOZSEARCH_PLUGIN']:
]

GeneratedFile('ThirdPartyPaths.cpp', script="ThirdPartyPaths.py",
py2=True,
entry_point="generate", inputs=[
'/tools/rewriting/ThirdPartyPaths.txt',
'/tools/rewriting/Generated.txt',
Expand Down
3 changes: 0 additions & 3 deletions build/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ if CONFIG['MOZ_APP_BASENAME']:
script='../python/mozbuild/mozbuild/action/preprocessor.py',
entry_point='generate',
inputs=['application.ini.in'],
py2=True,
flags=['-D%s=%s' % (k, '1' if v is True else v)
for k, v in appini_defines.iteritems()])

Expand All @@ -96,12 +95,10 @@ if CONFIG['MOZ_APP_BASENAME']:
FINAL_TARGET_PP_FILES += ['update-settings.ini']

GeneratedFile('application.ini.h', script='appini_header.py',
py2=True,
inputs=['!application.ini'])

if CONFIG['ENABLE_TESTS']:
GeneratedFile('automation.py', script='gen_automation.py',
py2=True,
inputs=['automation.py.in'])

TEST_HARNESS_FILES.reftest += [
Expand Down
2 changes: 0 additions & 2 deletions build/templates.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ def GeneratedFile(name, *names, **kwargs):
inputs = kwargs.get('inputs', [])
flags = kwargs.get('flags', [])
force = kwargs.get('force', False)
py2 = kwargs.get('py2', False)
if entry_point and not script:
error('entry_point cannot be provided if script is not provided')
if script and ':' in script:
Expand All @@ -198,7 +197,6 @@ def GeneratedFile(name, *names, **kwargs):
generated_file.inputs = inputs
generated_file.flags = flags
generated_file.force = force
generated_file.py2 = py2

include('gecko_templates.mozbuild')
include('test_templates.mozbuild')
Expand Down
2 changes: 0 additions & 2 deletions build/test_templates.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def GeneratedTestCertificate(name):
if not CONFIG['COMPILE_ENVIRONMENT']:
return
GeneratedFile(name, script='/security/manager/ssl/tests/unit/pycert.py',
py2=True,
inputs=['%s.certspec' % name])
# Turn RELATIVEDIR into list entry: like
# 'security/manager/ssl/tests/unit/bad_certs' ->
Expand All @@ -24,7 +23,6 @@ def GeneratedTestKey(name):
if not CONFIG['COMPILE_ENVIRONMENT']:
return
GeneratedFile(name, script='/security/manager/ssl/tests/unit/pykey.py',
py2=True,
inputs=['%s.keyspec' % name])
# Turn RELATIVEDIR into list entry: like
# 'security/manager/ssl/tests/unit/bad_certs' ->
Expand Down
1 change: 0 additions & 1 deletion build/unix/elfhack/inject/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ cpu = CONFIG['CPU_ARCH']

gen_src = '%s.c' % cpu
GeneratedFile(gen_src, script='copy_source.py', entry_point='copy',
py2=True,
inputs = ['../inject.c'])

SOURCES += [
Expand Down
4 changes: 0 additions & 4 deletions config/external/ffi/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ else:
]
GeneratedFile('../../../js/src/ctypes/libffi/include/ffi.h',
script='subst_header.py',
py2=True,
inputs=['../../../js/src/ctypes/libffi/include/ffi.h.in'])

LOCAL_INCLUDES += [
Expand Down Expand Up @@ -86,7 +85,6 @@ else:
'!../../../js/src/ctypes/libffi/include/ffi.h',
],
script='preprocess_libffi_asm.py',
py2=True,
flags=['$(DEFINES)', '$(LOCAL_INCLUDES)'])
SOURCES += ['!win64_aarch.asm']
elif CONFIG['FFI_TARGET'] == 'X86':
Expand All @@ -106,7 +104,6 @@ else:
'!../../../js/src/ctypes/libffi/fficonfig.h',
'!../../../js/src/ctypes/libffi/include/ffi.h',
], script='preprocess_libffi_asm.py',
py2=True,
flags=['$(DEFINES)', '$(LOCAL_INCLUDES)'])
SOURCES += ['!win32.asm']
ASFLAGS += ['-safeseh']
Expand All @@ -123,7 +120,6 @@ else:
'!../../../js/src/ctypes/libffi/fficonfig.h',
'!../../../js/src/ctypes/libffi/include/ffi.h',
], script='preprocess_libffi_asm.py',
py2=True,
flags=['$(DEFINES)', '$(LOCAL_INCLUDES)'])
SOURCES += ['!win64.asm']
elif CONFIG['FFI_TARGET'] == 'X86_DARWIN':
Expand Down
1 change: 0 additions & 1 deletion config/external/icu/data/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ LOCAL_INCLUDES += ['.']
if CONFIG['OS_TARGET'] == 'WINNT' and CONFIG['CPU_ARCH'] == 'aarch64':
icudata = 'icudata.asm'
GeneratedFile(icudata, script='genicudata.py',
py2=True,
inputs=[CONFIG['ICU_DATA_FILE']], flags=[data_symbol])
SOURCES += ['!%s' % icudata]
elif CONFIG['HAVE_YASM']:
Expand Down
3 changes: 0 additions & 3 deletions config/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ if CONFIG['WRAP_STL_INCLUDES']:
stl.script = 'make-stl-wrappers.py:gen_wrappers'
stl.flags = [output_dir, stl_compiler, template_file]
stl.flags.extend(stl_headers)
stl.py2 = True

# Wrap <windows.h> to make it easier to use correctly
# NOTE: If we aren't wrapping STL includes, we're building part of the browser
Expand All @@ -72,7 +71,6 @@ if CONFIG['WRAP_STL_INCLUDES']:
GeneratedFile('../dist/stl_wrappers/windows.h',
script='make-windows-h-wrapper.py',
entry_point='generate',
py2=True,
inputs = ['windows-h-constant.decls.h',
'windows-h-unicode.decls.h',
'windows-h-wrapper.template.h'],
Expand All @@ -88,4 +86,3 @@ if CONFIG['WRAP_SYSTEM_INCLUDES']:
system.flags = [output_dir]
system.flags.extend(stl_headers)
system.flags.extend(system_headers)
system.py2 = True
1 change: 0 additions & 1 deletion devtools/client/shared/build/node-templates.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def CompiledModules(*modules):
"node.stub", *[final + '/' + module for module in modules],
script='/python/mozbuild/mozbuild/action/node.py',
entry_point='generate',
py2=True,
inputs=['/devtools/client/shared/build/build.js'] +
[module for module in modules],
flags=[final])
1 change: 0 additions & 1 deletion devtools/shared/webconsole/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ for dir in RELATIVEDIR.split('/'):
base += ["!reserved-js-words.js"]

GeneratedFile('reserved-js-words.js', script='GenerateReservedWordsJS.py',
py2=True,
inputs = ['/js/src/frontend/ReservedWords.h'])

DevToolsModules(
Expand Down
2 changes: 0 additions & 2 deletions dom/base/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,9 @@ if CONFIG['MOZ_X11']:
CXXFLAGS += CONFIG['TK_CFLAGS']

GeneratedFile('UseCounterList.h', script='gen-usecounters.py',
py2=True,
entry_point='use_counter_list', inputs=['UseCounters.conf'])

GeneratedFile('UseCounterWorkerList.h', script='gen-usecounters.py',
py2=True,
entry_point='use_counter_list', inputs=['UseCountersWorker.conf'])

if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
Expand Down
1 change: 0 additions & 1 deletion dom/bindings/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
if CONFIG['COMPILE_ENVIRONMENT']:
GeneratedFile('CSS2Properties.webidl',
script='GenerateCSS2PropertiesWebIDL.py',
py2=True,
entry_point='generate',
inputs=[
'/dom/webidl/CSS2Properties.webidl.in',
Expand Down
3 changes: 1 addition & 2 deletions dom/encoding/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ prefixes = (
for prefix in prefixes:
input_file = prefix + '.properties'
header = prefix + '.properties.h'
GeneratedFile(header, script=props2arrays, inputs=[input_file], py2=True)
GeneratedFile(header, script=props2arrays, inputs=[input_file])

input_file = 'nonparticipatingdomains.properties'
header = input_file + '.h'
GeneratedFile(header, script='../../intl/locale/props2arrays.py',
py2=True,
inputs=[input_file])

MOCHITEST_MANIFESTS += [
Expand Down
1 change: 0 additions & 1 deletion dom/webgpu/ffi/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ if CONFIG['COMPILE_ENVIRONMENT']:
GeneratedFile('wgpu_ffi_generated.h',
script='/layout/style/RunCbindgen.py',
entry_point='generate',
py2=True,
inputs=[
'/gfx/wgpu/wgpu-remote',
])
Expand Down
2 changes: 0 additions & 2 deletions gfx/layers/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -589,10 +589,8 @@ include('/ipc/chromium/chromium-config.mozbuild')

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
GeneratedFile('CompositorD3D11Shaders.h', script='d3d11/genshaders.py',
py2=True,
inputs=['d3d11/shaders.manifest'])
GeneratedFile('MLGShaders.h', script='d3d11/genshaders.py',
py2=True,
inputs=['d3d11/mlgshaders/shaders.manifest'])

LOCAL_INCLUDES += [
Expand Down
1 change: 0 additions & 1 deletion gfx/webrender_bindings/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ if CONFIG['COMPILE_ENVIRONMENT']:

GeneratedFile('webrender_ffi_generated.h',
script='/layout/style/RunCbindgen.py', entry_point='generate',
py2=True,
inputs=[
'/gfx/webrender_bindings',
'/gfx/wr/webrender',
Expand Down
1 change: 0 additions & 1 deletion intl/hyphenation/glue/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ if CONFIG['COMPILE_ENVIRONMENT']:
generated.inputs = [
'/third_party/rust/mapped_hyph'
]
generated.py2 = True
4 changes: 1 addition & 3 deletions intl/locale/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ prefixes = (
for prefix in prefixes:
input_file = prefix + '.properties'
header = prefix + '.properties.h'
GeneratedFile(header, script='props2arrays.py', inputs=[input_file], py2=True)
GeneratedFile(header, script='props2arrays.py', inputs=[input_file])

if CONFIG['ENABLE_TESTS']:
DIRS += ['tests/gtest']
Expand All @@ -98,11 +98,9 @@ if CONFIG['COMPILE_ENVIRONMENT']:
ffi_generated.inputs = [
'/intl/locale/rust/unic-langid-ffi',
]
ffi_generated.py2 = True

ffi_generated = GENERATED_FILES['fluent_langneg_ffi_generated.h']
ffi_generated.script = '/layout/style/RunCbindgen.py:generate'
ffi_generated.inputs = [
'/intl/locale/rust/fluent-langneg-ffi',
]
ffi_generated.py2 = True
2 changes: 0 additions & 2 deletions js/src/build/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ if CONFIG['JS_SHARED_LIBRARY']:
# with those in libxul.
if CONFIG['OS_TARGET'] == 'Linux':
GeneratedFile('symverscript', script='/build/gen_symverscript.py',
py2=True,
inputs=['symverscript.in'],
flags=[CONFIG['JS_LIBRARY_NAME'].replace('-', '_')])
SYMBOLS_FILE = '!symverscript'
Expand Down Expand Up @@ -86,7 +85,6 @@ DIST_INSTALL = True
# running the script for no-op builds.
GeneratedFile(
'spidermonkey_checks', script='/config/run_spidermonkey_checks.py',
py2=True,
inputs=[
'!%sjs_static.%s' % (CONFIG['LIB_PREFIX'], CONFIG['LIB_SUFFIX']),
'/config/check_spidermonkey_style.py',
Expand Down
1 change: 0 additions & 1 deletion js/src/frontend/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ include('../js-cxxflags.mozbuild')

# Generate frontend/ReservedWordsGenerated.h from frontend/ReservedWords.h
GeneratedFile('ReservedWordsGenerated.h', script='GenerateReservedWords.py',
py2=True,
inputs=['ReservedWords.h'])


Expand Down
2 changes: 0 additions & 2 deletions js/src/gc/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ include('../js-cxxflags.mozbuild')

# Generate GC statistics phase data.
GeneratedFile('StatsPhasesGenerated.h',
py2=True,
script='GenerateStatsPhases.py', entry_point='generateHeader')
GeneratedFile('StatsPhasesGenerated.inc',
py2=True,
script='GenerateStatsPhases.py', entry_point='generateCpp')

UNIFIED_SOURCES += [
Expand Down
2 changes: 0 additions & 2 deletions js/src/jit/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,12 @@ elif CONFIG['JS_CODEGEN_MIPS32'] or CONFIG['JS_CODEGEN_MIPS64']:
# Generate jit/MOpcodes.h from jit/MIR.h
GeneratedFile('MOpcodes.h',
script='GenerateOpcodeFiles.py',
py2=True,
entry_point='generate_mir_header',
inputs=['MIR.h'])

# Generate jit/LOpcodes.h from jit/LIR.h, jit/shared/LIR-shared.h, and
# platform-specific LIR files.
GeneratedFile('LOpcodes.h',
script='GenerateOpcodeFiles.py',
py2=True,
entry_point='generate_lir_header',
inputs=lir_inputs)
1 change: 0 additions & 1 deletion js/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,6 @@ selfhosted_inputs = [
# Prepare self-hosted JS code for embedding
GeneratedFile('selfhosted.out.h', 'selfhosted.js',
script='builtin/embedjs.py',
py2=True,
entry_point='generate_selfhosted',
inputs=selfhosted_inputs)

Expand Down
1 change: 0 additions & 1 deletion js/src/shell/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ OS_LIBS += CONFIG['EDITLINE_LIBS']
# Prepare module loader JS code for embedding
GeneratedFile('shellmoduleloader.out.h', 'shellmoduleloader.js',
script='../builtin/embedjs.py',
py2=True,
entry_point='generate_shellmoduleloader',
inputs=[
'../js.msg',
Expand Down
2 changes: 0 additions & 2 deletions layout/generic/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,9 @@ SOURCES += [

GeneratedFile('FrameIdList.h',
script='GenerateFrameLists.py',
py2=True,
entry_point='generate_frame_id_list_h')
GeneratedFile('FrameTypeList.h',
script='GenerateFrameLists.py',
py2=True,
entry_point='generate_frame_type_list_h')

include('/ipc/chromium/chromium-config.mozbuild')
Expand Down
8 changes: 0 additions & 8 deletions layout/style/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -262,17 +262,14 @@ CONTENT_ACCESSIBLE_FILES += [


GeneratedFile('nsCSSPropertyID.h', script='GenerateCSSPropertyID.py',
py2=True,
entry_point='generate',
inputs=['nsCSSPropertyID.h.in', '!ServoCSSPropList.py'])
GeneratedFile('ServoCSSPropList.h',
script='GenerateServoCSSPropList.py',
py2=True,
entry_point='generate_header',
inputs=['!ServoCSSPropList.py'])
GeneratedFile('ServoCSSPropList.py',
script='GenerateServoCSSPropList.py', entry_point='generate_data',
py2=True,
inputs=['ServoCSSPropList.mako.py'])

if CONFIG['COMPILE_ENVIRONMENT']:
Expand All @@ -284,29 +281,24 @@ if CONFIG['COMPILE_ENVIRONMENT']:

GeneratedFile('CompositorAnimatableProperties.h',
script='GenerateCompositorAnimatableProperties.py',
py2=True,
entry_point='generate',
inputs=['!ServoCSSPropList.py'])
GeneratedFile(
'CountedUnknownProperties.h',
script='GenerateCountedUnknownProperties.py',
py2=True,
entry_point='generate',
inputs=[
'/servo/components/style/properties/counted_unknown_properties.py',
])
GeneratedFile('nsComputedDOMStyleGenerated.inc',
script='GenerateComputedDOMStyleGenerated.py',
py2=True,
entry_point='generate',
inputs=['!ServoCSSPropList.py'])
GeneratedFile('nsCSSPropsGenerated.inc',
script='GenerateCSSPropsGenerated.py',
py2=True,
entry_point='generate',
inputs=['!ServoCSSPropList.py'])
GeneratedFile('ServoStyleConsts.h', script='RunCbindgen.py',
py2=True,
entry_point='generate',
inputs = ['/servo/ports/geckolib', '/servo/components/style'])

Expand Down
1 change: 0 additions & 1 deletion layout/style/test/gtest/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ LOCAL_INCLUDES += [

GeneratedFile('ExampleStylesheet.h',
script='generate_example_stylesheet.py',
py2=True,
inputs=['example.css'])

FINAL_LIBRARY = 'xul-gtest'
Loading

0 comments on commit e0181b5

Please sign in to comment.