Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre

#ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D193007
This commit is contained in:
Logan Rosen 2023-12-08 04:26:45 +00:00
Родитель e61d06e995
Коммит 141305b4e4
42 изменённых файлов: 2672 добавлений и 2633 удалений

Просмотреть файл

@ -3,10 +3,10 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include('/toolkit/toolkit.mozbuild')
include("/toolkit/toolkit.mozbuild")
DIRS += ['/%s' % CONFIG['MOZ_BRANDING_DIRECTORY']]
DIRS += ["/%s" % CONFIG["MOZ_BRANDING_DIRECTORY"]]
# Never add dirs after browser because they apparently won't get
# packaged properly on Mac.
DIRS += ['/browser']
DIRS += ["/browser"]

Просмотреть файл

@ -4,33 +4,34 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@template
def FirefoxBranding():
if CONFIG['MOZ_BRANDING_DIRECTORY'] == 'browser/branding/official':
if CONFIG["MOZ_BRANDING_DIRECTORY"] == "browser/branding/official":
JS_PREFERENCE_PP_FILES += [
'pref/firefox-branding.js',
"pref/firefox-branding.js",
]
else:
JS_PREFERENCE_FILES += [
'pref/firefox-branding.js',
"pref/firefox-branding.js",
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
FINAL_TARGET_FILES['..'] += [
'firefox.VisualElementsManifest.xml',
'private_browsing.VisualElementsManifest.xml',
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
FINAL_TARGET_FILES[".."] += [
"firefox.VisualElementsManifest.xml",
"private_browsing.VisualElementsManifest.xml",
]
FINAL_TARGET_FILES.VisualElements += [
'PrivateBrowsing_150.png',
'PrivateBrowsing_70.png',
'VisualElements_150.png',
'VisualElements_70.png',
"PrivateBrowsing_150.png",
"PrivateBrowsing_70.png",
"VisualElements_150.png",
"VisualElements_70.png",
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
FINAL_TARGET_FILES.chrome.icons.default += [
'default128.png',
'default16.png',
'default32.png',
'default48.png',
'default64.png',
"default128.png",
"default16.png",
"default32.png",
"default48.png",
"default64.png",
]

Просмотреть файл

@ -5,7 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
HOST_SOURCES += [
# 'AlphaChecker.cpp',
"NonStdMoveChecker.cpp",
'TempRefPtrChecker.cpp',
"TempRefPtrChecker.cpp",
]

Просмотреть файл

@ -5,7 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
SOURCES += [
# 'AlphaTest.cpp',
"TestNonStdMove.cpp",
'TestTempRefPtr.cpp',
"TestTempRefPtr.cpp",
]

Просмотреть файл

@ -4,9 +4,10 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@template
def GeckoBinary(linkage='dependent', mozglue=None):
'''Template for Gecko-related binaries.
def GeckoBinary(linkage="dependent", mozglue=None):
"""Template for Gecko-related binaries.
This template is meant to be used in other templates.
@ -21,104 +22,104 @@ def GeckoBinary(linkage='dependent', mozglue=None):
so, what linkage to apply. Valid values are None (mozglue not linked),
'program' (mozglue linked to an executable program), or 'library' (mozglue
linked to a shared library).
'''
if linkage == 'dependent':
"""
if linkage == "dependent":
USE_LIBS += [
'nspr',
'xul-real',
"nspr",
"xul-real",
]
elif linkage == 'standalone':
DEFINES['XPCOM_GLUE'] = True
elif linkage == "standalone":
DEFINES["XPCOM_GLUE"] = True
USE_LIBS += [
'xpcomglue',
"xpcomglue",
]
elif linkage != None:
error('`linkage` must be "dependent", "standalone" or None')
if mozglue:
if mozglue == 'program':
USE_LIBS += ['mozglue']
DEFINES['MOZ_HAS_MOZGLUE'] = True
if CONFIG['MOZ_GLUE_IN_PROGRAM'] and CONFIG['CC_TYPE'] in ('clang', 'gcc'):
LDFLAGS += ['-rdynamic']
elif mozglue == 'library':
LIBRARY_DEFINES['MOZ_HAS_MOZGLUE'] = True
if not CONFIG['MOZ_GLUE_IN_PROGRAM']:
USE_LIBS += ['mozglue']
if mozglue == "program":
USE_LIBS += ["mozglue"]
DEFINES["MOZ_HAS_MOZGLUE"] = True
if CONFIG["MOZ_GLUE_IN_PROGRAM"] and CONFIG["CC_TYPE"] in ("clang", "gcc"):
LDFLAGS += ["-rdynamic"]
elif mozglue == "library":
LIBRARY_DEFINES["MOZ_HAS_MOZGLUE"] = True
if not CONFIG["MOZ_GLUE_IN_PROGRAM"]:
USE_LIBS += ["mozglue"]
else:
error('`mozglue` must be "program" or "library"')
@template
def GeckoProgram(name, linkage='standalone', **kwargs):
'''Template for program executables related to Gecko.
def GeckoProgram(name, linkage="standalone", **kwargs):
"""Template for program executables related to Gecko.
`name` identifies the executable base name.
See the documentation for `GeckoBinary` for other possible arguments,
with the notable difference that the default for `linkage` is 'standalone'.
'''
"""
Program(name)
kwargs.setdefault('mozglue', 'program')
kwargs.setdefault("mozglue", "program")
GeckoBinary(linkage=linkage, **kwargs)
@template
def GeckoSimplePrograms(names, **kwargs):
'''Template for simple program executables related to Gecko.
"""Template for simple program executables related to Gecko.
`names` identifies the executable base names for each executable.
See the documentation for `GeckoBinary` for other possible arguments.
'''
"""
SimplePrograms(names)
kwargs.setdefault('mozglue', 'program')
kwargs.setdefault("mozglue", "program")
GeckoBinary(**kwargs)
@template
def GeckoCppUnitTests(names, **kwargs):
'''Template for C++ unit tests related to Gecko.
"""Template for C++ unit tests related to Gecko.
`names` identifies the executable base names for each executable.
See the documentation for `GeckoBinary` for other possible arguments.
'''
"""
CppUnitTests(names)
kwargs.setdefault('mozglue', 'program')
kwargs.setdefault("mozglue", "program")
GeckoBinary(**kwargs)
@template
def GeckoSharedLibrary(name, output_category=None, **kwargs):
'''Template for shared libraries related to Gecko.
"""Template for shared libraries related to Gecko.
`name` identifies the library base name.
See the documentation for `GeckoBinary` for other possible arguments.
'''
"""
SharedLibrary(name, output_category)
kwargs.setdefault('mozglue', 'library')
kwargs.setdefault("mozglue", "library")
GeckoBinary(**kwargs)
@template
def GeckoFramework(name, output_category=None, **kwargs):
'''Template for OSX frameworks related to Gecko.
"""Template for OSX frameworks related to Gecko.
`name` identifies the library base name.
See the documentation for `GeckoBinary` for other possible arguments.
'''
"""
Framework(name, output_category)
kwargs.setdefault('mozglue', 'library')
kwargs.setdefault("mozglue", "library")
GeckoBinary(**kwargs)

Просмотреть файл

@ -4,108 +4,106 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include('gyp_base.mozbuild')
include("gyp_base.mozbuild")
gyp_vars.update({
'lsan': 0,
'asan': 0,
'tsan': 1 if CONFIG['MOZ_TSAN'] else 0,
'ubsan' : 0,
'fuzzing' : 1 if CONFIG['FUZZING'] else 0,
'libfuzzer' : 1 if CONFIG['LIBFUZZER'] else 0,
'libfuzzer_fuzzer_no_link_flag' : 1 if CONFIG['HAVE_LIBFUZZER_FLAG_FUZZER_NO_LINK'] else 0,
'build_with_mozilla': 1,
'build_with_chromium': 0,
# 10.9 once we move to TC cross-compiles - bug 1270217
'mac_sdk_min': '10.9',
'mac_deployment_target': '10.9',
'use_official_google_api_keys': 0,
'have_clock_monotonic': 1 if CONFIG['HAVE_CLOCK_MONOTONIC'] else 0,
'have_ethtool_cmd_speed_hi': 1 if CONFIG['MOZ_WEBRTC_HAVE_ETHTOOL_SPEED_HI'] else 0,
'include_alsa_audio': 1 if CONFIG['MOZ_ALSA'] else 0,
'include_pulse_audio': 1 if CONFIG['MOZ_PULSEAUDIO'] else 0,
# basic stuff for everything
'include_internal_video_render': 0,
'clang': 1 if CONFIG['CC_TYPE'] == 'clang' else 0,
'clang_cl': 1 if CONFIG['CC_TYPE'] == 'clang-cl' else 0,
'clang_use_chrome_plugins': 0,
'enable_protobuf': 0,
'include_tests': 0,
'enable_android_opensl': 1,
'enable_android_opensl_output': 0,
# use_system_lib* still seems to be in use in trunk/build
'use_system_libjpeg': 0,
'use_system_libvpx': 0,
'build_json': 0,
'build_libjpeg': 0,
'build_libyuv': 0,
'build_libvpx': 0,
'build_libevent': 0,
'build_ssl': 0,
'build_json': 0,
'build_icu': 0,
'build_opus': 0,
'libyuv_dir': '/media/libyuv/libyuv',
# don't use openssl
'use_openssl': 0,
# Must match build/gyp.mozbuild WEBRTC_BUILD_LIBEVENT
#'enable_libevent': 0, default according to OS
gyp_vars.update(
{
"lsan": 0,
"asan": 0,
"tsan": 1 if CONFIG["MOZ_TSAN"] else 0,
"ubsan": 0,
"fuzzing": 1 if CONFIG["FUZZING"] else 0,
"libfuzzer": 1 if CONFIG["LIBFUZZER"] else 0,
"libfuzzer_fuzzer_no_link_flag": 1
if CONFIG["HAVE_LIBFUZZER_FLAG_FUZZER_NO_LINK"]
else 0,
"build_with_mozilla": 1,
"build_with_chromium": 0,
# 10.9 once we move to TC cross-compiles - bug 1270217
"mac_sdk_min": "10.9",
"mac_deployment_target": "10.9",
"use_official_google_api_keys": 0,
"have_clock_monotonic": 1 if CONFIG["HAVE_CLOCK_MONOTONIC"] else 0,
"have_ethtool_cmd_speed_hi": 1
if CONFIG["MOZ_WEBRTC_HAVE_ETHTOOL_SPEED_HI"]
else 0,
"include_alsa_audio": 1 if CONFIG["MOZ_ALSA"] else 0,
"include_pulse_audio": 1 if CONFIG["MOZ_PULSEAUDIO"] else 0,
# basic stuff for everything
"include_internal_video_render": 0,
"clang": 1 if CONFIG["CC_TYPE"] == "clang" else 0,
"clang_cl": 1 if CONFIG["CC_TYPE"] == "clang-cl" else 0,
"clang_use_chrome_plugins": 0,
"enable_protobuf": 0,
"include_tests": 0,
"enable_android_opensl": 1,
"enable_android_opensl_output": 0,
# use_system_lib* still seems to be in use in trunk/build
"use_system_libjpeg": 0,
"use_system_libvpx": 0,
"build_json": 0,
"build_libjpeg": 0,
"build_libyuv": 0,
"build_libvpx": 0,
"build_libevent": 0,
"build_ssl": 0,
"build_json": 0,
"build_icu": 0,
"build_opus": 0,
"libyuv_dir": "/media/libyuv/libyuv",
# don't use openssl
"use_openssl": 0,
# Must match build/gyp.mozbuild WEBRTC_BUILD_LIBEVENT
#'enable_libevent': 0, default according to OS
"debug": 1 if CONFIG["DEBUG"] else 0,
"use_x11": 1 if CONFIG["MOZ_X11"] else 0,
"use_glib": 1 if CONFIG["GLIB_LIBS"] else 0,
# bug 1373485 - avoid pkg-config for gtk2 in webrtc
"use_gtk": 0,
# turn off mandatory use of NEON and instead use NEON detection
"arm_neon": 0,
"arm_neon_optional": 1,
# (for vp8) chromium sets to 0 also
"use_temporal_layers": 0,
# Creates AEC internal sample dump files in current directory
"aec_debug_dump": 1,
# codec enable/disables:
"include_g711": 1,
"include_opus": 1,
"include_g722": 1,
"include_ilbc": 0,
# We turn on ISAC because the AGC uses parts of it, and depend on the
# linker to throw away uneeded bits.
"include_isac": 1,
"include_pcm16b": 1,
#'rtc_opus_variable_complexity': 1,
"apm_debug_dump": 1,
}
)
'debug': 1 if CONFIG['DEBUG'] else 0,
if os == "Android":
gyp_vars.update(gtest_target_type="executable")
'use_x11': 1 if CONFIG['MOZ_X11'] else 0,
'use_glib': 1 if CONFIG['GLIB_LIBS'] else 0,
# bug 1373485 - avoid pkg-config for gtk2 in webrtc
'use_gtk': 0,
# turn off mandatory use of NEON and instead use NEON detection
'arm_neon': 0,
'arm_neon_optional': 1,
# (for vp8) chromium sets to 0 also
'use_temporal_layers': 0,
# Creates AEC internal sample dump files in current directory
'aec_debug_dump': 1,
# codec enable/disables:
'include_g711': 1,
'include_opus': 1,
'include_g722': 1,
'include_ilbc': 0,
# We turn on ISAC because the AGC uses parts of it, and depend on the
# linker to throw away uneeded bits.
'include_isac': 1,
'include_pcm16b': 1,
#'rtc_opus_variable_complexity': 1,
'apm_debug_dump': 1,
})
if os == 'Android':
gyp_vars.update(gtest_target_type='executable')
if CONFIG['ARM_ARCH']:
if int(CONFIG['ARM_ARCH']) < 7:
gyp_vars['armv7'] = 0
gyp_vars['arm_neon_optional'] = 0
elif os == 'Android':
gyp_vars['armv7'] = 1
gyp_vars['arm_neon'] = 1
gyp_vars['build_with_neon'] = 1
if CONFIG["ARM_ARCH"]:
if int(CONFIG["ARM_ARCH"]) < 7:
gyp_vars["armv7"] = 0
gyp_vars["arm_neon_optional"] = 0
elif os == "Android":
gyp_vars["armv7"] = 1
gyp_vars["arm_neon"] = 1
gyp_vars["build_with_neon"] = 1
else:
# CPU detection for ARM works on Android only. armv7 always uses CPU
# detection, so we have to set armv7=0 for non-Android target
gyp_vars['armv7'] = 0
gyp_vars["armv7"] = 0
# For libyuv
gyp_vars['arm_version'] = int(CONFIG['ARM_ARCH'])
gyp_vars["arm_version"] = int(CONFIG["ARM_ARCH"])
if CONFIG['MACOS_SDK_DIR']:
gyp_vars['mac_sdk_path'] = CONFIG['MACOS_SDK_DIR']
if CONFIG["MACOS_SDK_DIR"]:
gyp_vars["mac_sdk_path"] = CONFIG["MACOS_SDK_DIR"]
if not CONFIG['MOZ_SYSTEM_LIBVPX']:
gyp_vars['libvpx_dir'] = '/media/libvpx/libvpx'
if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
gyp_vars["libvpx_dir"] = "/media/libvpx/libvpx"
if not CONFIG['MOZ_SYSTEM_LIBEVENT']:
gyp_vars['libevent_dir'] = '/ipc/chromium/src/third_party/libevent'
if not CONFIG["MOZ_SYSTEM_LIBEVENT"]:
gyp_vars["libevent_dir"] = "/ipc/chromium/src/third_party/libevent"

Просмотреть файл

@ -6,34 +6,34 @@
gyp_vars = {}
os = CONFIG['OS_TARGET']
os = CONFIG["OS_TARGET"]
if os == 'WINNT':
if os == "WINNT":
gyp_vars.update(
MSVS_VERSION=CONFIG['MSVS_VERSION'],
MSVS_OS_BITS=64 if CONFIG['HAVE_64BIT_BUILD'] else 32,
MSVS_VERSION=CONFIG["MSVS_VERSION"],
MSVS_OS_BITS=64 if CONFIG["HAVE_64BIT_BUILD"] else 32,
)
flavors = {
'WINNT': 'win',
'Android': 'android',
'Linux': 'linux',
'Darwin': 'mac' if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa' else 'ios',
'SunOS': 'solaris',
'GNU/kFreeBSD': 'freebsd',
'DragonFly': 'dragonfly',
'FreeBSD': 'freebsd',
'NetBSD': 'netbsd',
'OpenBSD': 'openbsd',
"WINNT": "win",
"Android": "android",
"Linux": "linux",
"Darwin": "mac" if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa" else "ios",
"SunOS": "solaris",
"GNU/kFreeBSD": "freebsd",
"DragonFly": "dragonfly",
"FreeBSD": "freebsd",
"NetBSD": "netbsd",
"OpenBSD": "openbsd",
}
gyp_vars['OS'] = flavors.get(os)
gyp_vars["OS"] = flavors.get(os)
arches = {
'x86_64': 'x64',
'x86': 'ia32',
'aarch64': 'arm64',
'ppc64': 'ppc64le' if CONFIG['TARGET_ENDIANNESS'] == 'little' else 'ppc64',
"x86_64": "x64",
"x86": "ia32",
"aarch64": "arm64",
"ppc64": "ppc64le" if CONFIG["TARGET_ENDIANNESS"] == "little" else "ppc64",
}
gyp_vars['host_arch'] = arches.get(CONFIG['HOST_CPU_ARCH'], CONFIG['HOST_CPU_ARCH'])
gyp_vars['target_arch'] = arches.get(CONFIG['CPU_ARCH'], CONFIG['CPU_ARCH'])
gyp_vars["host_arch"] = arches.get(CONFIG["HOST_CPU_ARCH"], CONFIG["HOST_CPU_ARCH"])
gyp_vars["target_arch"] = arches.get(CONFIG["CPU_ARCH"], CONFIG["CPU_ARCH"])

Просмотреть файл

@ -4,73 +4,80 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@template
def Binary():
'''Generic template for target binaries. Meant to be used by other
templates.'''
"""Generic template for target binaries. Meant to be used by other
templates."""
# Add -llog by default, since we use it all over the place.
if CONFIG['OS_TARGET'] == 'Android':
OS_LIBS += ['log']
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += ["log"]
@template
def Program(name):
'''Template for program executables.'''
"""Template for program executables."""
PROGRAM = name
Binary()
@template
def SimplePrograms(names, ext='.cpp'):
'''Template for simple program executables.
def SimplePrograms(names, ext=".cpp"):
"""Template for simple program executables.
Those have a single source with the same base name as the executable.
'''
"""
SIMPLE_PROGRAMS += names
SOURCES += ['%s%s' % (name, ext) for name in names]
SOURCES += ["%s%s" % (name, ext) for name in names]
Binary()
@template
def CppUnitTests(names, ext='.cpp'):
'''Template for C++ unit tests.
def CppUnitTests(names, ext=".cpp"):
"""Template for C++ unit tests.
Those have a single source with the same base name as the executable.
'''
COMPILE_FLAGS['EXTRA_INCLUDES'] = ['-I%s/dist/include' % TOPOBJDIR,
'-I%s/dist/include/testing' % TOPOBJDIR]
"""
COMPILE_FLAGS["EXTRA_INCLUDES"] = [
"-I%s/dist/include" % TOPOBJDIR,
"-I%s/dist/include/testing" % TOPOBJDIR,
]
CPP_UNIT_TESTS += names
SOURCES += ['%s%s' % (name, ext) for name in names]
SOURCES += ["%s%s" % (name, ext) for name in names]
Binary()
@template
def Library(name):
'''Template for libraries.'''
"""Template for libraries."""
LIBRARY_NAME = name
@template
def AllowCompilerWarnings():
COMPILE_FLAGS['WARNINGS_AS_ERRORS'] = []
WASM_FLAGS['WARNINGS_AS_ERRORS'] = []
COMPILE_FLAGS["WARNINGS_AS_ERRORS"] = []
WASM_FLAGS["WARNINGS_AS_ERRORS"] = []
@template
def DisableCompilerWarnings():
# Keep the -Wno-* flags to disable warnings that may be enabled through other means.
def filter(flags):
return [f for f in flags or [] if f.startswith('-Wno-')]
COMPILE_FLAGS['WARNINGS_CFLAGS'] = filter(CONFIG['WARNINGS_CFLAGS'])
COMPILE_FLAGS['WARNINGS_CXXFLAGS'] = filter(CONFIG['WARNINGS_CXXFLAGS'])
HOST_COMPILE_FLAGS['WARNINGS_CFLAGS'] = filter(CONFIG['WARNINGS_HOST_CFLAGS'])
HOST_COMPILE_FLAGS['WARNINGS_CXXFLAGS'] = filter(CONFIG['WARNINGS_HOST_CXXFLAGS'])
return [f for f in flags or [] if f.startswith("-Wno-")]
COMPILE_FLAGS["WARNINGS_CFLAGS"] = filter(CONFIG["WARNINGS_CFLAGS"])
COMPILE_FLAGS["WARNINGS_CXXFLAGS"] = filter(CONFIG["WARNINGS_CXXFLAGS"])
HOST_COMPILE_FLAGS["WARNINGS_CFLAGS"] = filter(CONFIG["WARNINGS_HOST_CFLAGS"])
HOST_COMPILE_FLAGS["WARNINGS_CXXFLAGS"] = filter(CONFIG["WARNINGS_HOST_CXXFLAGS"])
@template
def RustLibrary(name, features=None, output_category=None, is_gkrust=False):
'''Template for Rust libraries.'''
"""Template for Rust libraries."""
Library(name)
IS_RUST_LIBRARY = True
@ -94,7 +101,7 @@ def RustLibrary(name, features=None, output_category=None, is_gkrust=False):
@template
def SharedLibrary(name, output_category=None):
'''Template for shared libraries.'''
"""Template for shared libraries."""
Library(name)
FORCE_SHARED_LIB = True
@ -107,7 +114,7 @@ def SharedLibrary(name, output_category=None):
@template
def Framework(name, output_category=None):
'''Template for OSX Frameworks.'''
"""Template for OSX Frameworks."""
SharedLibrary(name, output_category)
IS_FRAMEWORK = True
@ -115,40 +122,43 @@ def Framework(name, output_category=None):
@template
def HostProgram(name):
'''Template for build tools executables.'''
"""Template for build tools executables."""
HOST_PROGRAM = name
@template
def HostSimplePrograms(names, ext='.cpp'):
'''Template for simple build tools executables.
def HostSimplePrograms(names, ext=".cpp"):
"""Template for simple build tools executables.
Those have a single source with the same base name as the executable.
'''
"""
HOST_SIMPLE_PROGRAMS += names
HOST_SOURCES += ['%s%s' % (name.replace('host_', ''), ext)
for name in names]
HOST_SOURCES += ["%s%s" % (name.replace("host_", ""), ext) for name in names]
@template
def HostSharedLibrary(name):
'''Template for build tools libraries.'''
if name != 'clang-plugin':
error('Please make sure host shared library support is complete '
'before using for something else than the clang plugin')
"""Template for build tools libraries."""
if name != "clang-plugin":
error(
"Please make sure host shared library support is complete "
"before using for something else than the clang plugin"
)
HOST_LIBRARY_NAME = name
FORCE_SHARED_LIB = True
@template
def HostLibrary(name):
'''Template for build tools libraries.'''
"""Template for build tools libraries."""
HOST_LIBRARY_NAME = name
@template
def HostRustLibrary(name, features=None):
'''Template for host Rust libraries.'''
"""Template for host Rust libraries."""
HostLibrary(name)
IS_RUST_LIBRARY = True
@ -158,44 +168,49 @@ def HostRustLibrary(name, features=None):
if features:
HOST_RUST_LIBRARY_FEATURES = features
@template
def DisableStlWrapping():
COMPILE_FLAGS['STL'] = []
COMPILE_FLAGS["STL"] = []
@template
def NoVisibilityFlags():
COMPILE_FLAGS['VISIBILITY'] = []
COMPILE_FLAGS["VISIBILITY"] = []
@template
def ForceInclude(*headers):
"""Force includes a set of header files in C++ compilations"""
if CONFIG['CC_TYPE'] == 'clang-cl':
include_flag = '-FI'
if CONFIG["CC_TYPE"] == "clang-cl":
include_flag = "-FI"
else:
include_flag = '-include'
include_flag = "-include"
for header in headers:
CXXFLAGS += [include_flag, header]
@template
def GeneratedFile(name, *names, **kwargs):
"""Add one or more GENERATED_FILES with the given attributes.
You must pass in at least one generated file (the "name" argument). Other
names can be included as positional arguments after "name"."""
script = kwargs.pop('script', None)
entry_point = kwargs.pop('entry_point', None)
inputs = kwargs.pop('inputs', [])
flags = kwargs.pop('flags', [])
force = kwargs.pop('force', False)
script = kwargs.pop("script", None)
entry_point = kwargs.pop("entry_point", None)
inputs = kwargs.pop("inputs", [])
flags = kwargs.pop("flags", [])
force = kwargs.pop("force", False)
if kwargs:
error('Unrecognized argument(s) to GeneratedFile: %s' %
', '.join(kwargs))
error("Unrecognized argument(s) to GeneratedFile: %s" % ", ".join(kwargs))
if entry_point and not script:
error('entry_point cannot be provided if script is not provided')
if script and ':' in script:
error('script should not include a `:`. If you want to provide an '
'alternative entry point for your script, use the entry_point '
'parameter.')
error("entry_point cannot be provided if script is not provided")
if script and ":" in script:
error(
"script should not include a `:`. If you want to provide an "
"alternative entry point for your script, use the entry_point "
"parameter."
)
key = (name,) + names if names else name
GENERATED_FILES += [key]
@ -203,18 +218,20 @@ def GeneratedFile(name, *names, **kwargs):
if script and not entry_point:
generated_file.script = script
if script and entry_point:
generated_file.script = script + ':' + entry_point
generated_file.script = script + ":" + entry_point
generated_file.inputs = inputs
generated_file.flags = flags
generated_file.force = force
@template
def CbindgenHeader(name, inputs):
"""Add one GENERATED_FILES by running RunCbindgen.py"""
inputs = ['!/config/cbindgen-metadata.json'] + inputs
GeneratedFile(name, script='/build/RunCbindgen.py',
entry_point='generate', inputs=inputs)
inputs = ["!/config/cbindgen-metadata.json"] + inputs
GeneratedFile(
name, script="/build/RunCbindgen.py", entry_point="generate", inputs=inputs
)
include('gecko_templates.mozbuild')
include("gecko_templates.mozbuild")

596
config/external/icu/common/sources.mozbuild поставляемый
Просмотреть файл

@ -1,305 +1,305 @@
# THIS FILE IS GENERATED BY /intl/icu_sources_data.py DO NOT EDIT
sources = [
'/intl/icu/source/common/appendable.cpp',
'/intl/icu/source/common/bmpset.cpp',
'/intl/icu/source/common/brkeng.cpp',
'/intl/icu/source/common/brkiter.cpp',
'/intl/icu/source/common/bytesinkutil.cpp',
'/intl/icu/source/common/bytestream.cpp',
'/intl/icu/source/common/bytestrie.cpp',
'/intl/icu/source/common/bytestriebuilder.cpp',
'/intl/icu/source/common/caniter.cpp',
'/intl/icu/source/common/characterproperties.cpp',
'/intl/icu/source/common/chariter.cpp',
'/intl/icu/source/common/charstr.cpp',
'/intl/icu/source/common/cmemory.cpp',
'/intl/icu/source/common/cstring.cpp',
'/intl/icu/source/common/dictbe.cpp',
'/intl/icu/source/common/dictionarydata.cpp',
'/intl/icu/source/common/dtintrv.cpp',
'/intl/icu/source/common/edits.cpp',
'/intl/icu/source/common/emojiprops.cpp',
'/intl/icu/source/common/errorcode.cpp',
'/intl/icu/source/common/filteredbrk.cpp',
'/intl/icu/source/common/filterednormalizer2.cpp',
'/intl/icu/source/common/loadednormalizer2impl.cpp',
'/intl/icu/source/common/localebuilder.cpp',
'/intl/icu/source/common/localematcher.cpp',
'/intl/icu/source/common/localeprioritylist.cpp',
'/intl/icu/source/common/locavailable.cpp',
'/intl/icu/source/common/locbased.cpp',
'/intl/icu/source/common/locdispnames.cpp',
'/intl/icu/source/common/locdistance.cpp',
'/intl/icu/source/common/locdspnm.cpp',
'/intl/icu/source/common/locid.cpp',
'/intl/icu/source/common/loclikely.cpp',
'/intl/icu/source/common/loclikelysubtags.cpp',
'/intl/icu/source/common/locmap.cpp',
'/intl/icu/source/common/locresdata.cpp',
'/intl/icu/source/common/locutil.cpp',
'/intl/icu/source/common/lsr.cpp',
'/intl/icu/source/common/lstmbe.cpp',
'/intl/icu/source/common/messagepattern.cpp',
'/intl/icu/source/common/mlbe.cpp',
'/intl/icu/source/common/normalizer2.cpp',
'/intl/icu/source/common/normalizer2impl.cpp',
'/intl/icu/source/common/normlzr.cpp',
'/intl/icu/source/common/parsepos.cpp',
'/intl/icu/source/common/patternprops.cpp',
'/intl/icu/source/common/propname.cpp',
'/intl/icu/source/common/punycode.cpp',
'/intl/icu/source/common/putil.cpp',
'/intl/icu/source/common/rbbi.cpp',
'/intl/icu/source/common/rbbi_cache.cpp',
'/intl/icu/source/common/rbbidata.cpp',
'/intl/icu/source/common/rbbinode.cpp',
'/intl/icu/source/common/rbbirb.cpp',
'/intl/icu/source/common/rbbiscan.cpp',
'/intl/icu/source/common/rbbisetb.cpp',
'/intl/icu/source/common/rbbistbl.cpp',
'/intl/icu/source/common/rbbitblb.cpp',
'/intl/icu/source/common/resbund.cpp',
'/intl/icu/source/common/resource.cpp',
'/intl/icu/source/common/restrace.cpp',
'/intl/icu/source/common/ruleiter.cpp',
'/intl/icu/source/common/schriter.cpp',
'/intl/icu/source/common/serv.cpp',
'/intl/icu/source/common/servlk.cpp',
'/intl/icu/source/common/servlkf.cpp',
'/intl/icu/source/common/servls.cpp',
'/intl/icu/source/common/servnotf.cpp',
'/intl/icu/source/common/servrbf.cpp',
'/intl/icu/source/common/servslkf.cpp',
'/intl/icu/source/common/sharedobject.cpp',
'/intl/icu/source/common/simpleformatter.cpp',
'/intl/icu/source/common/static_unicode_sets.cpp',
'/intl/icu/source/common/stringpiece.cpp',
'/intl/icu/source/common/stringtriebuilder.cpp',
'/intl/icu/source/common/uarrsort.cpp',
'/intl/icu/source/common/ubidi.cpp',
'/intl/icu/source/common/ubidi_props.cpp',
'/intl/icu/source/common/ubidiln.cpp',
'/intl/icu/source/common/ubidiwrt.cpp',
'/intl/icu/source/common/ubrk.cpp',
'/intl/icu/source/common/ucase.cpp',
'/intl/icu/source/common/ucasemap.cpp',
'/intl/icu/source/common/ucasemap_titlecase_brkiter.cpp',
'/intl/icu/source/common/uchar.cpp',
'/intl/icu/source/common/ucharstrie.cpp',
'/intl/icu/source/common/ucharstriebuilder.cpp',
'/intl/icu/source/common/ucharstrieiterator.cpp',
'/intl/icu/source/common/uchriter.cpp',
'/intl/icu/source/common/ucln_cmn.cpp',
'/intl/icu/source/common/ucmndata.cpp',
'/intl/icu/source/common/ucnv.cpp',
'/intl/icu/source/common/ucnv_bld.cpp',
'/intl/icu/source/common/ucnv_cb.cpp',
'/intl/icu/source/common/ucnv_cnv.cpp',
'/intl/icu/source/common/ucnv_err.cpp',
'/intl/icu/source/common/ucnv_io.cpp',
'/intl/icu/source/common/ucnv_u16.cpp',
'/intl/icu/source/common/ucnv_u32.cpp',
'/intl/icu/source/common/ucnv_u7.cpp',
'/intl/icu/source/common/ucnv_u8.cpp',
'/intl/icu/source/common/ucnvbocu.cpp',
'/intl/icu/source/common/ucnvlat1.cpp',
'/intl/icu/source/common/ucnvscsu.cpp',
'/intl/icu/source/common/ucol_swp.cpp',
'/intl/icu/source/common/ucptrie.cpp',
'/intl/icu/source/common/ucurr.cpp',
'/intl/icu/source/common/udata.cpp',
'/intl/icu/source/common/udatamem.cpp',
'/intl/icu/source/common/udataswp.cpp',
'/intl/icu/source/common/uenum.cpp',
'/intl/icu/source/common/uhash.cpp',
'/intl/icu/source/common/uhash_us.cpp',
'/intl/icu/source/common/uinit.cpp',
'/intl/icu/source/common/uinvchar.cpp',
'/intl/icu/source/common/uiter.cpp',
'/intl/icu/source/common/ulist.cpp',
'/intl/icu/source/common/uloc.cpp',
'/intl/icu/source/common/uloc_keytype.cpp',
'/intl/icu/source/common/uloc_tag.cpp',
'/intl/icu/source/common/umapfile.cpp',
'/intl/icu/source/common/umath.cpp',
'/intl/icu/source/common/umutablecptrie.cpp',
'/intl/icu/source/common/umutex.cpp',
'/intl/icu/source/common/unames.cpp',
'/intl/icu/source/common/unifiedcache.cpp',
'/intl/icu/source/common/unifilt.cpp',
'/intl/icu/source/common/unifunct.cpp',
'/intl/icu/source/common/uniset.cpp',
'/intl/icu/source/common/uniset_closure.cpp',
'/intl/icu/source/common/uniset_props.cpp',
'/intl/icu/source/common/unisetspan.cpp',
'/intl/icu/source/common/unistr.cpp',
'/intl/icu/source/common/unistr_case.cpp',
'/intl/icu/source/common/unistr_case_locale.cpp',
'/intl/icu/source/common/unistr_cnv.cpp',
'/intl/icu/source/common/unistr_props.cpp',
'/intl/icu/source/common/unistr_titlecase_brkiter.cpp',
'/intl/icu/source/common/unormcmp.cpp',
'/intl/icu/source/common/uobject.cpp',
'/intl/icu/source/common/uprops.cpp',
'/intl/icu/source/common/uresbund.cpp',
'/intl/icu/source/common/uresdata.cpp',
'/intl/icu/source/common/uscript.cpp',
'/intl/icu/source/common/uscript_props.cpp',
'/intl/icu/source/common/uset.cpp',
'/intl/icu/source/common/uset_props.cpp',
'/intl/icu/source/common/usetiter.cpp',
'/intl/icu/source/common/usprep.cpp',
'/intl/icu/source/common/ustack.cpp',
'/intl/icu/source/common/ustr_cnv.cpp',
'/intl/icu/source/common/ustr_titlecase_brkiter.cpp',
'/intl/icu/source/common/ustrcase.cpp',
'/intl/icu/source/common/ustrcase_locale.cpp',
'/intl/icu/source/common/ustrenum.cpp',
'/intl/icu/source/common/ustrfmt.cpp',
'/intl/icu/source/common/ustring.cpp',
'/intl/icu/source/common/ustrtrns.cpp',
'/intl/icu/source/common/utext.cpp',
'/intl/icu/source/common/utf_impl.cpp',
'/intl/icu/source/common/util.cpp',
'/intl/icu/source/common/utrace.cpp',
'/intl/icu/source/common/utrie.cpp',
'/intl/icu/source/common/utrie2.cpp',
'/intl/icu/source/common/utrie2_builder.cpp',
'/intl/icu/source/common/utrie_swap.cpp',
'/intl/icu/source/common/uts46.cpp',
'/intl/icu/source/common/utypes.cpp',
'/intl/icu/source/common/uvector.cpp',
'/intl/icu/source/common/uvectr32.cpp',
'/intl/icu/source/common/uvectr64.cpp',
'/intl/icu/source/common/wintz.cpp',
"/intl/icu/source/common/appendable.cpp",
"/intl/icu/source/common/bmpset.cpp",
"/intl/icu/source/common/brkeng.cpp",
"/intl/icu/source/common/brkiter.cpp",
"/intl/icu/source/common/bytesinkutil.cpp",
"/intl/icu/source/common/bytestream.cpp",
"/intl/icu/source/common/bytestrie.cpp",
"/intl/icu/source/common/bytestriebuilder.cpp",
"/intl/icu/source/common/caniter.cpp",
"/intl/icu/source/common/characterproperties.cpp",
"/intl/icu/source/common/chariter.cpp",
"/intl/icu/source/common/charstr.cpp",
"/intl/icu/source/common/cmemory.cpp",
"/intl/icu/source/common/cstring.cpp",
"/intl/icu/source/common/dictbe.cpp",
"/intl/icu/source/common/dictionarydata.cpp",
"/intl/icu/source/common/dtintrv.cpp",
"/intl/icu/source/common/edits.cpp",
"/intl/icu/source/common/emojiprops.cpp",
"/intl/icu/source/common/errorcode.cpp",
"/intl/icu/source/common/filteredbrk.cpp",
"/intl/icu/source/common/filterednormalizer2.cpp",
"/intl/icu/source/common/loadednormalizer2impl.cpp",
"/intl/icu/source/common/localebuilder.cpp",
"/intl/icu/source/common/localematcher.cpp",
"/intl/icu/source/common/localeprioritylist.cpp",
"/intl/icu/source/common/locavailable.cpp",
"/intl/icu/source/common/locbased.cpp",
"/intl/icu/source/common/locdispnames.cpp",
"/intl/icu/source/common/locdistance.cpp",
"/intl/icu/source/common/locdspnm.cpp",
"/intl/icu/source/common/locid.cpp",
"/intl/icu/source/common/loclikely.cpp",
"/intl/icu/source/common/loclikelysubtags.cpp",
"/intl/icu/source/common/locmap.cpp",
"/intl/icu/source/common/locresdata.cpp",
"/intl/icu/source/common/locutil.cpp",
"/intl/icu/source/common/lsr.cpp",
"/intl/icu/source/common/lstmbe.cpp",
"/intl/icu/source/common/messagepattern.cpp",
"/intl/icu/source/common/mlbe.cpp",
"/intl/icu/source/common/normalizer2.cpp",
"/intl/icu/source/common/normalizer2impl.cpp",
"/intl/icu/source/common/normlzr.cpp",
"/intl/icu/source/common/parsepos.cpp",
"/intl/icu/source/common/patternprops.cpp",
"/intl/icu/source/common/propname.cpp",
"/intl/icu/source/common/punycode.cpp",
"/intl/icu/source/common/putil.cpp",
"/intl/icu/source/common/rbbi.cpp",
"/intl/icu/source/common/rbbi_cache.cpp",
"/intl/icu/source/common/rbbidata.cpp",
"/intl/icu/source/common/rbbinode.cpp",
"/intl/icu/source/common/rbbirb.cpp",
"/intl/icu/source/common/rbbiscan.cpp",
"/intl/icu/source/common/rbbisetb.cpp",
"/intl/icu/source/common/rbbistbl.cpp",
"/intl/icu/source/common/rbbitblb.cpp",
"/intl/icu/source/common/resbund.cpp",
"/intl/icu/source/common/resource.cpp",
"/intl/icu/source/common/restrace.cpp",
"/intl/icu/source/common/ruleiter.cpp",
"/intl/icu/source/common/schriter.cpp",
"/intl/icu/source/common/serv.cpp",
"/intl/icu/source/common/servlk.cpp",
"/intl/icu/source/common/servlkf.cpp",
"/intl/icu/source/common/servls.cpp",
"/intl/icu/source/common/servnotf.cpp",
"/intl/icu/source/common/servrbf.cpp",
"/intl/icu/source/common/servslkf.cpp",
"/intl/icu/source/common/sharedobject.cpp",
"/intl/icu/source/common/simpleformatter.cpp",
"/intl/icu/source/common/static_unicode_sets.cpp",
"/intl/icu/source/common/stringpiece.cpp",
"/intl/icu/source/common/stringtriebuilder.cpp",
"/intl/icu/source/common/uarrsort.cpp",
"/intl/icu/source/common/ubidi.cpp",
"/intl/icu/source/common/ubidi_props.cpp",
"/intl/icu/source/common/ubidiln.cpp",
"/intl/icu/source/common/ubidiwrt.cpp",
"/intl/icu/source/common/ubrk.cpp",
"/intl/icu/source/common/ucase.cpp",
"/intl/icu/source/common/ucasemap.cpp",
"/intl/icu/source/common/ucasemap_titlecase_brkiter.cpp",
"/intl/icu/source/common/uchar.cpp",
"/intl/icu/source/common/ucharstrie.cpp",
"/intl/icu/source/common/ucharstriebuilder.cpp",
"/intl/icu/source/common/ucharstrieiterator.cpp",
"/intl/icu/source/common/uchriter.cpp",
"/intl/icu/source/common/ucln_cmn.cpp",
"/intl/icu/source/common/ucmndata.cpp",
"/intl/icu/source/common/ucnv.cpp",
"/intl/icu/source/common/ucnv_bld.cpp",
"/intl/icu/source/common/ucnv_cb.cpp",
"/intl/icu/source/common/ucnv_cnv.cpp",
"/intl/icu/source/common/ucnv_err.cpp",
"/intl/icu/source/common/ucnv_io.cpp",
"/intl/icu/source/common/ucnv_u16.cpp",
"/intl/icu/source/common/ucnv_u32.cpp",
"/intl/icu/source/common/ucnv_u7.cpp",
"/intl/icu/source/common/ucnv_u8.cpp",
"/intl/icu/source/common/ucnvbocu.cpp",
"/intl/icu/source/common/ucnvlat1.cpp",
"/intl/icu/source/common/ucnvscsu.cpp",
"/intl/icu/source/common/ucol_swp.cpp",
"/intl/icu/source/common/ucptrie.cpp",
"/intl/icu/source/common/ucurr.cpp",
"/intl/icu/source/common/udata.cpp",
"/intl/icu/source/common/udatamem.cpp",
"/intl/icu/source/common/udataswp.cpp",
"/intl/icu/source/common/uenum.cpp",
"/intl/icu/source/common/uhash.cpp",
"/intl/icu/source/common/uhash_us.cpp",
"/intl/icu/source/common/uinit.cpp",
"/intl/icu/source/common/uinvchar.cpp",
"/intl/icu/source/common/uiter.cpp",
"/intl/icu/source/common/ulist.cpp",
"/intl/icu/source/common/uloc.cpp",
"/intl/icu/source/common/uloc_keytype.cpp",
"/intl/icu/source/common/uloc_tag.cpp",
"/intl/icu/source/common/umapfile.cpp",
"/intl/icu/source/common/umath.cpp",
"/intl/icu/source/common/umutablecptrie.cpp",
"/intl/icu/source/common/umutex.cpp",
"/intl/icu/source/common/unames.cpp",
"/intl/icu/source/common/unifiedcache.cpp",
"/intl/icu/source/common/unifilt.cpp",
"/intl/icu/source/common/unifunct.cpp",
"/intl/icu/source/common/uniset.cpp",
"/intl/icu/source/common/uniset_closure.cpp",
"/intl/icu/source/common/uniset_props.cpp",
"/intl/icu/source/common/unisetspan.cpp",
"/intl/icu/source/common/unistr.cpp",
"/intl/icu/source/common/unistr_case.cpp",
"/intl/icu/source/common/unistr_case_locale.cpp",
"/intl/icu/source/common/unistr_cnv.cpp",
"/intl/icu/source/common/unistr_props.cpp",
"/intl/icu/source/common/unistr_titlecase_brkiter.cpp",
"/intl/icu/source/common/unormcmp.cpp",
"/intl/icu/source/common/uobject.cpp",
"/intl/icu/source/common/uprops.cpp",
"/intl/icu/source/common/uresbund.cpp",
"/intl/icu/source/common/uresdata.cpp",
"/intl/icu/source/common/uscript.cpp",
"/intl/icu/source/common/uscript_props.cpp",
"/intl/icu/source/common/uset.cpp",
"/intl/icu/source/common/uset_props.cpp",
"/intl/icu/source/common/usetiter.cpp",
"/intl/icu/source/common/usprep.cpp",
"/intl/icu/source/common/ustack.cpp",
"/intl/icu/source/common/ustr_cnv.cpp",
"/intl/icu/source/common/ustr_titlecase_brkiter.cpp",
"/intl/icu/source/common/ustrcase.cpp",
"/intl/icu/source/common/ustrcase_locale.cpp",
"/intl/icu/source/common/ustrenum.cpp",
"/intl/icu/source/common/ustrfmt.cpp",
"/intl/icu/source/common/ustring.cpp",
"/intl/icu/source/common/ustrtrns.cpp",
"/intl/icu/source/common/utext.cpp",
"/intl/icu/source/common/utf_impl.cpp",
"/intl/icu/source/common/util.cpp",
"/intl/icu/source/common/utrace.cpp",
"/intl/icu/source/common/utrie.cpp",
"/intl/icu/source/common/utrie2.cpp",
"/intl/icu/source/common/utrie2_builder.cpp",
"/intl/icu/source/common/utrie_swap.cpp",
"/intl/icu/source/common/uts46.cpp",
"/intl/icu/source/common/utypes.cpp",
"/intl/icu/source/common/uvector.cpp",
"/intl/icu/source/common/uvectr32.cpp",
"/intl/icu/source/common/uvectr64.cpp",
"/intl/icu/source/common/wintz.cpp",
]
other_sources = [
'/intl/icu/source/common/bytestrieiterator.cpp',
'/intl/icu/source/common/cstr.cpp',
'/intl/icu/source/common/cwchar.cpp',
'/intl/icu/source/common/icudataver.cpp',
'/intl/icu/source/common/icuplug.cpp',
'/intl/icu/source/common/pluralmap.cpp',
'/intl/icu/source/common/propsvec.cpp',
'/intl/icu/source/common/resbund_cnv.cpp',
'/intl/icu/source/common/ubiditransform.cpp',
'/intl/icu/source/common/ucat.cpp',
'/intl/icu/source/common/ucnv2022.cpp',
'/intl/icu/source/common/ucnv_ct.cpp',
'/intl/icu/source/common/ucnv_ext.cpp',
'/intl/icu/source/common/ucnv_lmb.cpp',
'/intl/icu/source/common/ucnv_set.cpp',
'/intl/icu/source/common/ucnvdisp.cpp',
'/intl/icu/source/common/ucnvhz.cpp',
'/intl/icu/source/common/ucnvisci.cpp',
'/intl/icu/source/common/ucnvmbcs.cpp',
'/intl/icu/source/common/ucnvsel.cpp',
'/intl/icu/source/common/uidna.cpp',
'/intl/icu/source/common/unorm.cpp',
'/intl/icu/source/common/ures_cnv.cpp',
'/intl/icu/source/common/usc_impl.cpp',
'/intl/icu/source/common/ushape.cpp',
'/intl/icu/source/common/ustr_wcs.cpp',
'/intl/icu/source/common/util_props.cpp',
"/intl/icu/source/common/bytestrieiterator.cpp",
"/intl/icu/source/common/cstr.cpp",
"/intl/icu/source/common/cwchar.cpp",
"/intl/icu/source/common/icudataver.cpp",
"/intl/icu/source/common/icuplug.cpp",
"/intl/icu/source/common/pluralmap.cpp",
"/intl/icu/source/common/propsvec.cpp",
"/intl/icu/source/common/resbund_cnv.cpp",
"/intl/icu/source/common/ubiditransform.cpp",
"/intl/icu/source/common/ucat.cpp",
"/intl/icu/source/common/ucnv2022.cpp",
"/intl/icu/source/common/ucnv_ct.cpp",
"/intl/icu/source/common/ucnv_ext.cpp",
"/intl/icu/source/common/ucnv_lmb.cpp",
"/intl/icu/source/common/ucnv_set.cpp",
"/intl/icu/source/common/ucnvdisp.cpp",
"/intl/icu/source/common/ucnvhz.cpp",
"/intl/icu/source/common/ucnvisci.cpp",
"/intl/icu/source/common/ucnvmbcs.cpp",
"/intl/icu/source/common/ucnvsel.cpp",
"/intl/icu/source/common/uidna.cpp",
"/intl/icu/source/common/unorm.cpp",
"/intl/icu/source/common/ures_cnv.cpp",
"/intl/icu/source/common/usc_impl.cpp",
"/intl/icu/source/common/ushape.cpp",
"/intl/icu/source/common/ustr_wcs.cpp",
"/intl/icu/source/common/util_props.cpp",
]
EXPORTS.unicode += [
'/intl/icu/source/common/unicode/appendable.h',
'/intl/icu/source/common/unicode/brkiter.h',
'/intl/icu/source/common/unicode/bytestream.h',
'/intl/icu/source/common/unicode/bytestrie.h',
'/intl/icu/source/common/unicode/bytestriebuilder.h',
'/intl/icu/source/common/unicode/caniter.h',
'/intl/icu/source/common/unicode/casemap.h',
'/intl/icu/source/common/unicode/char16ptr.h',
'/intl/icu/source/common/unicode/chariter.h',
'/intl/icu/source/common/unicode/dbbi.h',
'/intl/icu/source/common/unicode/docmain.h',
'/intl/icu/source/common/unicode/dtintrv.h',
'/intl/icu/source/common/unicode/edits.h',
'/intl/icu/source/common/unicode/enumset.h',
'/intl/icu/source/common/unicode/errorcode.h',
'/intl/icu/source/common/unicode/filteredbrk.h',
'/intl/icu/source/common/unicode/icudataver.h',
'/intl/icu/source/common/unicode/icuplug.h',
'/intl/icu/source/common/unicode/idna.h',
'/intl/icu/source/common/unicode/localebuilder.h',
'/intl/icu/source/common/unicode/localematcher.h',
'/intl/icu/source/common/unicode/localpointer.h',
'/intl/icu/source/common/unicode/locdspnm.h',
'/intl/icu/source/common/unicode/locid.h',
'/intl/icu/source/common/unicode/messagepattern.h',
'/intl/icu/source/common/unicode/normalizer2.h',
'/intl/icu/source/common/unicode/normlzr.h',
'/intl/icu/source/common/unicode/parseerr.h',
'/intl/icu/source/common/unicode/parsepos.h',
'/intl/icu/source/common/unicode/platform.h',
'/intl/icu/source/common/unicode/ptypes.h',
'/intl/icu/source/common/unicode/putil.h',
'/intl/icu/source/common/unicode/rbbi.h',
'/intl/icu/source/common/unicode/rep.h',
'/intl/icu/source/common/unicode/resbund.h',
'/intl/icu/source/common/unicode/schriter.h',
'/intl/icu/source/common/unicode/simpleformatter.h',
'/intl/icu/source/common/unicode/std_string.h',
'/intl/icu/source/common/unicode/strenum.h',
'/intl/icu/source/common/unicode/stringoptions.h',
'/intl/icu/source/common/unicode/stringpiece.h',
'/intl/icu/source/common/unicode/stringtriebuilder.h',
'/intl/icu/source/common/unicode/symtable.h',
'/intl/icu/source/common/unicode/ubidi.h',
'/intl/icu/source/common/unicode/ubiditransform.h',
'/intl/icu/source/common/unicode/ubrk.h',
'/intl/icu/source/common/unicode/ucasemap.h',
'/intl/icu/source/common/unicode/ucat.h',
'/intl/icu/source/common/unicode/uchar.h',
'/intl/icu/source/common/unicode/ucharstrie.h',
'/intl/icu/source/common/unicode/ucharstriebuilder.h',
'/intl/icu/source/common/unicode/uchriter.h',
'/intl/icu/source/common/unicode/uclean.h',
'/intl/icu/source/common/unicode/ucnv.h',
'/intl/icu/source/common/unicode/ucnv_cb.h',
'/intl/icu/source/common/unicode/ucnv_err.h',
'/intl/icu/source/common/unicode/ucnvsel.h',
'/intl/icu/source/common/unicode/uconfig.h',
'/intl/icu/source/common/unicode/ucpmap.h',
'/intl/icu/source/common/unicode/ucptrie.h',
'/intl/icu/source/common/unicode/ucurr.h',
'/intl/icu/source/common/unicode/udata.h',
'/intl/icu/source/common/unicode/udisplaycontext.h',
'/intl/icu/source/common/unicode/uenum.h',
'/intl/icu/source/common/unicode/uidna.h',
'/intl/icu/source/common/unicode/uiter.h',
'/intl/icu/source/common/unicode/uldnames.h',
'/intl/icu/source/common/unicode/uloc.h',
'/intl/icu/source/common/unicode/umachine.h',
'/intl/icu/source/common/unicode/umisc.h',
'/intl/icu/source/common/unicode/umutablecptrie.h',
'/intl/icu/source/common/unicode/unifilt.h',
'/intl/icu/source/common/unicode/unifunct.h',
'/intl/icu/source/common/unicode/unimatch.h',
'/intl/icu/source/common/unicode/uniset.h',
'/intl/icu/source/common/unicode/unistr.h',
'/intl/icu/source/common/unicode/unorm.h',
'/intl/icu/source/common/unicode/unorm2.h',
'/intl/icu/source/common/unicode/uobject.h',
'/intl/icu/source/common/unicode/urename.h',
'/intl/icu/source/common/unicode/urep.h',
'/intl/icu/source/common/unicode/ures.h',
'/intl/icu/source/common/unicode/uscript.h',
'/intl/icu/source/common/unicode/uset.h',
'/intl/icu/source/common/unicode/usetiter.h',
'/intl/icu/source/common/unicode/ushape.h',
'/intl/icu/source/common/unicode/usprep.h',
'/intl/icu/source/common/unicode/ustring.h',
'/intl/icu/source/common/unicode/ustringtrie.h',
'/intl/icu/source/common/unicode/utext.h',
'/intl/icu/source/common/unicode/utf.h',
'/intl/icu/source/common/unicode/utf16.h',
'/intl/icu/source/common/unicode/utf32.h',
'/intl/icu/source/common/unicode/utf8.h',
'/intl/icu/source/common/unicode/utf_old.h',
'/intl/icu/source/common/unicode/utrace.h',
'/intl/icu/source/common/unicode/utypes.h',
'/intl/icu/source/common/unicode/uvernum.h',
'/intl/icu/source/common/unicode/uversion.h',
"/intl/icu/source/common/unicode/appendable.h",
"/intl/icu/source/common/unicode/brkiter.h",
"/intl/icu/source/common/unicode/bytestream.h",
"/intl/icu/source/common/unicode/bytestrie.h",
"/intl/icu/source/common/unicode/bytestriebuilder.h",
"/intl/icu/source/common/unicode/caniter.h",
"/intl/icu/source/common/unicode/casemap.h",
"/intl/icu/source/common/unicode/char16ptr.h",
"/intl/icu/source/common/unicode/chariter.h",
"/intl/icu/source/common/unicode/dbbi.h",
"/intl/icu/source/common/unicode/docmain.h",
"/intl/icu/source/common/unicode/dtintrv.h",
"/intl/icu/source/common/unicode/edits.h",
"/intl/icu/source/common/unicode/enumset.h",
"/intl/icu/source/common/unicode/errorcode.h",
"/intl/icu/source/common/unicode/filteredbrk.h",
"/intl/icu/source/common/unicode/icudataver.h",
"/intl/icu/source/common/unicode/icuplug.h",
"/intl/icu/source/common/unicode/idna.h",
"/intl/icu/source/common/unicode/localebuilder.h",
"/intl/icu/source/common/unicode/localematcher.h",
"/intl/icu/source/common/unicode/localpointer.h",
"/intl/icu/source/common/unicode/locdspnm.h",
"/intl/icu/source/common/unicode/locid.h",
"/intl/icu/source/common/unicode/messagepattern.h",
"/intl/icu/source/common/unicode/normalizer2.h",
"/intl/icu/source/common/unicode/normlzr.h",
"/intl/icu/source/common/unicode/parseerr.h",
"/intl/icu/source/common/unicode/parsepos.h",
"/intl/icu/source/common/unicode/platform.h",
"/intl/icu/source/common/unicode/ptypes.h",
"/intl/icu/source/common/unicode/putil.h",
"/intl/icu/source/common/unicode/rbbi.h",
"/intl/icu/source/common/unicode/rep.h",
"/intl/icu/source/common/unicode/resbund.h",
"/intl/icu/source/common/unicode/schriter.h",
"/intl/icu/source/common/unicode/simpleformatter.h",
"/intl/icu/source/common/unicode/std_string.h",
"/intl/icu/source/common/unicode/strenum.h",
"/intl/icu/source/common/unicode/stringoptions.h",
"/intl/icu/source/common/unicode/stringpiece.h",
"/intl/icu/source/common/unicode/stringtriebuilder.h",
"/intl/icu/source/common/unicode/symtable.h",
"/intl/icu/source/common/unicode/ubidi.h",
"/intl/icu/source/common/unicode/ubiditransform.h",
"/intl/icu/source/common/unicode/ubrk.h",
"/intl/icu/source/common/unicode/ucasemap.h",
"/intl/icu/source/common/unicode/ucat.h",
"/intl/icu/source/common/unicode/uchar.h",
"/intl/icu/source/common/unicode/ucharstrie.h",
"/intl/icu/source/common/unicode/ucharstriebuilder.h",
"/intl/icu/source/common/unicode/uchriter.h",
"/intl/icu/source/common/unicode/uclean.h",
"/intl/icu/source/common/unicode/ucnv.h",
"/intl/icu/source/common/unicode/ucnv_cb.h",
"/intl/icu/source/common/unicode/ucnv_err.h",
"/intl/icu/source/common/unicode/ucnvsel.h",
"/intl/icu/source/common/unicode/uconfig.h",
"/intl/icu/source/common/unicode/ucpmap.h",
"/intl/icu/source/common/unicode/ucptrie.h",
"/intl/icu/source/common/unicode/ucurr.h",
"/intl/icu/source/common/unicode/udata.h",
"/intl/icu/source/common/unicode/udisplaycontext.h",
"/intl/icu/source/common/unicode/uenum.h",
"/intl/icu/source/common/unicode/uidna.h",
"/intl/icu/source/common/unicode/uiter.h",
"/intl/icu/source/common/unicode/uldnames.h",
"/intl/icu/source/common/unicode/uloc.h",
"/intl/icu/source/common/unicode/umachine.h",
"/intl/icu/source/common/unicode/umisc.h",
"/intl/icu/source/common/unicode/umutablecptrie.h",
"/intl/icu/source/common/unicode/unifilt.h",
"/intl/icu/source/common/unicode/unifunct.h",
"/intl/icu/source/common/unicode/unimatch.h",
"/intl/icu/source/common/unicode/uniset.h",
"/intl/icu/source/common/unicode/unistr.h",
"/intl/icu/source/common/unicode/unorm.h",
"/intl/icu/source/common/unicode/unorm2.h",
"/intl/icu/source/common/unicode/uobject.h",
"/intl/icu/source/common/unicode/urename.h",
"/intl/icu/source/common/unicode/urep.h",
"/intl/icu/source/common/unicode/ures.h",
"/intl/icu/source/common/unicode/uscript.h",
"/intl/icu/source/common/unicode/uset.h",
"/intl/icu/source/common/unicode/usetiter.h",
"/intl/icu/source/common/unicode/ushape.h",
"/intl/icu/source/common/unicode/usprep.h",
"/intl/icu/source/common/unicode/ustring.h",
"/intl/icu/source/common/unicode/ustringtrie.h",
"/intl/icu/source/common/unicode/utext.h",
"/intl/icu/source/common/unicode/utf.h",
"/intl/icu/source/common/unicode/utf16.h",
"/intl/icu/source/common/unicode/utf32.h",
"/intl/icu/source/common/unicode/utf8.h",
"/intl/icu/source/common/unicode/utf_old.h",
"/intl/icu/source/common/unicode/utrace.h",
"/intl/icu/source/common/unicode/utypes.h",
"/intl/icu/source/common/unicode/uvernum.h",
"/intl/icu/source/common/unicode/uversion.h",
]

78
config/external/icu/defs.mozbuild поставляемый
Просмотреть файл

@ -7,69 +7,69 @@
# Also see <http://www.icu-project.org/repos/icu/tags/latest/icu4c/readme.html#RecBuild> for the
# recommended build options when compiling ICU.
# Don't use icu namespace automatically in client code.
DEFINES['U_USING_ICU_NAMESPACE'] = 0
DEFINES["U_USING_ICU_NAMESPACE"] = 0
# Don't include obsolete header files.
DEFINES['U_NO_DEFAULT_INCLUDE_UTF_HEADERS'] = 1
DEFINES['U_HIDE_OBSOLETE_UTF_OLD_H'] = 1
DEFINES["U_NO_DEFAULT_INCLUDE_UTF_HEADERS"] = 1
DEFINES["U_HIDE_OBSOLETE_UTF_OLD_H"] = 1
# Remove chunks of the library that we don't need (yet).
DEFINES['UCONFIG_NO_LEGACY_CONVERSION'] = True
DEFINES['UCONFIG_NO_TRANSLITERATION'] = True
DEFINES['UCONFIG_NO_REGULAR_EXPRESSIONS'] = True
DEFINES['UCONFIG_NO_BREAK_ITERATION'] = True
DEFINES["UCONFIG_NO_LEGACY_CONVERSION"] = True
DEFINES["UCONFIG_NO_TRANSLITERATION"] = True
DEFINES["UCONFIG_NO_REGULAR_EXPRESSIONS"] = True
DEFINES["UCONFIG_NO_BREAK_ITERATION"] = True
# We don't need to pass data to and from legacy char* APIs.
DEFINES['U_CHARSET_IS_UTF8'] = True
DEFINES["U_CHARSET_IS_UTF8"] = True
# Add 'explicit' keyword to UnicodeString constructors.
DEFINES['UNISTR_FROM_CHAR_EXPLICIT'] = "explicit"
DEFINES['UNISTR_FROM_STRING_EXPLICIT'] = "explicit"
DEFINES["UNISTR_FROM_CHAR_EXPLICIT"] = "explicit"
DEFINES["UNISTR_FROM_STRING_EXPLICIT"] = "explicit"
# Disable dynamic loading of ICU data as a loadable library.
DEFINES['U_ENABLE_DYLOAD'] = 0
DEFINES["U_ENABLE_DYLOAD"] = 0
if not CONFIG['HAVE_LANGINFO_CODESET']:
DEFINES['U_HAVE_NL_LANGINFO_CODESET'] = 0
if not CONFIG["HAVE_LANGINFO_CODESET"]:
DEFINES["U_HAVE_NL_LANGINFO_CODESET"] = 0
if CONFIG['MOZ_DEBUG']:
DEFINES['U_DEBUG'] = 1
if CONFIG["MOZ_DEBUG"]:
DEFINES["U_DEBUG"] = 1
# ICU requires RTTI
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
CXXFLAGS += ['-frtti']
elif CONFIG['OS_TARGET'] == 'WINNT':
if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-frtti"]
elif CONFIG["OS_TARGET"] == "WINNT":
# Remove the -GR- flag so we don't get a bunch of warning spam.
COMPILE_FLAGS['OS_CXXFLAGS'] = [
f for f in COMPILE_FLAGS['OS_CXXFLAGS'] if f != '-GR-'
] + ['-GR']
COMPILE_FLAGS["OS_CXXFLAGS"] = [
f for f in COMPILE_FLAGS["OS_CXXFLAGS"] if f != "-GR-"
] + ["-GR"]
DisableStlWrapping()
AllowCompilerWarnings()
# We allow compiler warnings, but we can at least cut down on spammy
# warnings that get triggered for every file.
if CONFIG['CC_TYPE'] in ('clang', 'clang-cl'):
if CONFIG["CC_TYPE"] in ("clang", "clang-cl"):
CFLAGS += [
'-Wno-c++20-compat',
'-Wno-comma',
'-Wno-implicit-const-int-float-conversion',
'-Wno-macro-redefined',
'-Wno-microsoft-include',
'-Wno-tautological-unsigned-enum-zero-compare',
'-Wno-unreachable-code-loop-increment',
'-Wno-unreachable-code-return',
"-Wno-c++20-compat",
"-Wno-comma",
"-Wno-implicit-const-int-float-conversion",
"-Wno-macro-redefined",
"-Wno-microsoft-include",
"-Wno-tautological-unsigned-enum-zero-compare",
"-Wno-unreachable-code-loop-increment",
"-Wno-unreachable-code-return",
]
CXXFLAGS += [
'-Wno-c++20-compat',
'-Wno-comma',
'-Wno-implicit-const-int-float-conversion',
'-Wno-macro-redefined',
'-Wno-microsoft-include',
'-Wno-tautological-unsigned-enum-zero-compare',
'-Wno-unreachable-code-loop-increment',
'-Wno-unreachable-code-return',
"-Wno-c++20-compat",
"-Wno-comma",
"-Wno-implicit-const-int-float-conversion",
"-Wno-macro-redefined",
"-Wno-microsoft-include",
"-Wno-tautological-unsigned-enum-zero-compare",
"-Wno-unreachable-code-loop-increment",
"-Wno-unreachable-code-return",
]
for k, v in DEFINES.items():
if k != 'UCONFIG_NO_LEGACY_CONVERSION':
if k != "UCONFIG_NO_LEGACY_CONVERSION":
HOST_DEFINES[k] = v

674
config/external/icu/i18n/sources.mozbuild поставляемый
Просмотреть файл

@ -1,344 +1,344 @@
# THIS FILE IS GENERATED BY /intl/icu_sources_data.py DO NOT EDIT
sources = [
'/intl/icu/source/i18n/astro.cpp',
'/intl/icu/source/i18n/basictz.cpp',
'/intl/icu/source/i18n/bocsu.cpp',
'/intl/icu/source/i18n/buddhcal.cpp',
'/intl/icu/source/i18n/calendar.cpp',
'/intl/icu/source/i18n/cecal.cpp',
'/intl/icu/source/i18n/chnsecal.cpp',
'/intl/icu/source/i18n/choicfmt.cpp',
'/intl/icu/source/i18n/coleitr.cpp',
'/intl/icu/source/i18n/coll.cpp',
'/intl/icu/source/i18n/collation.cpp',
'/intl/icu/source/i18n/collationbuilder.cpp',
'/intl/icu/source/i18n/collationcompare.cpp',
'/intl/icu/source/i18n/collationdata.cpp',
'/intl/icu/source/i18n/collationdatabuilder.cpp',
'/intl/icu/source/i18n/collationdatareader.cpp',
'/intl/icu/source/i18n/collationdatawriter.cpp',
'/intl/icu/source/i18n/collationfastlatin.cpp',
'/intl/icu/source/i18n/collationfastlatinbuilder.cpp',
'/intl/icu/source/i18n/collationfcd.cpp',
'/intl/icu/source/i18n/collationiterator.cpp',
'/intl/icu/source/i18n/collationkeys.cpp',
'/intl/icu/source/i18n/collationroot.cpp',
'/intl/icu/source/i18n/collationrootelements.cpp',
'/intl/icu/source/i18n/collationruleparser.cpp',
'/intl/icu/source/i18n/collationsets.cpp',
'/intl/icu/source/i18n/collationsettings.cpp',
'/intl/icu/source/i18n/collationtailoring.cpp',
'/intl/icu/source/i18n/collationweights.cpp',
'/intl/icu/source/i18n/compactdecimalformat.cpp',
'/intl/icu/source/i18n/coptccal.cpp',
'/intl/icu/source/i18n/curramt.cpp',
'/intl/icu/source/i18n/currfmt.cpp',
'/intl/icu/source/i18n/currpinf.cpp',
'/intl/icu/source/i18n/currunit.cpp',
'/intl/icu/source/i18n/dangical.cpp',
'/intl/icu/source/i18n/datefmt.cpp',
'/intl/icu/source/i18n/dayperiodrules.cpp',
'/intl/icu/source/i18n/dcfmtsym.cpp',
'/intl/icu/source/i18n/decContext.cpp',
'/intl/icu/source/i18n/decimfmt.cpp',
'/intl/icu/source/i18n/decNumber.cpp',
'/intl/icu/source/i18n/displayoptions.cpp',
'/intl/icu/source/i18n/dtfmtsym.cpp',
'/intl/icu/source/i18n/dtitvfmt.cpp',
'/intl/icu/source/i18n/dtitvinf.cpp',
'/intl/icu/source/i18n/dtptngen.cpp',
'/intl/icu/source/i18n/dtrule.cpp',
'/intl/icu/source/i18n/erarules.cpp',
'/intl/icu/source/i18n/ethpccal.cpp',
'/intl/icu/source/i18n/fmtable.cpp',
'/intl/icu/source/i18n/format.cpp',
'/intl/icu/source/i18n/formatted_string_builder.cpp',
'/intl/icu/source/i18n/formattedval_iterimpl.cpp',
'/intl/icu/source/i18n/formattedval_sbimpl.cpp',
'/intl/icu/source/i18n/formattedvalue.cpp',
'/intl/icu/source/i18n/fphdlimp.cpp',
'/intl/icu/source/i18n/fpositer.cpp',
'/intl/icu/source/i18n/gregocal.cpp',
'/intl/icu/source/i18n/gregoimp.cpp',
'/intl/icu/source/i18n/hebrwcal.cpp',
'/intl/icu/source/i18n/indiancal.cpp',
'/intl/icu/source/i18n/islamcal.cpp',
'/intl/icu/source/i18n/iso8601cal.cpp',
'/intl/icu/source/i18n/japancal.cpp',
'/intl/icu/source/i18n/listformatter.cpp',
'/intl/icu/source/i18n/measfmt.cpp',
'/intl/icu/source/i18n/measunit.cpp',
'/intl/icu/source/i18n/measunit_extra.cpp',
'/intl/icu/source/i18n/measure.cpp',
'/intl/icu/source/i18n/msgfmt.cpp',
'/intl/icu/source/i18n/nfrs.cpp',
'/intl/icu/source/i18n/nfrule.cpp',
'/intl/icu/source/i18n/nfsubs.cpp',
'/intl/icu/source/i18n/number_affixutils.cpp',
'/intl/icu/source/i18n/number_asformat.cpp',
'/intl/icu/source/i18n/number_capi.cpp',
'/intl/icu/source/i18n/number_compact.cpp',
'/intl/icu/source/i18n/number_currencysymbols.cpp',
'/intl/icu/source/i18n/number_decimalquantity.cpp',
'/intl/icu/source/i18n/number_decimfmtprops.cpp',
'/intl/icu/source/i18n/number_fluent.cpp',
'/intl/icu/source/i18n/number_formatimpl.cpp',
'/intl/icu/source/i18n/number_grouping.cpp',
'/intl/icu/source/i18n/number_integerwidth.cpp',
'/intl/icu/source/i18n/number_longnames.cpp',
'/intl/icu/source/i18n/number_mapper.cpp',
'/intl/icu/source/i18n/number_modifiers.cpp',
'/intl/icu/source/i18n/number_multiplier.cpp',
'/intl/icu/source/i18n/number_notation.cpp',
'/intl/icu/source/i18n/number_output.cpp',
'/intl/icu/source/i18n/number_padding.cpp',
'/intl/icu/source/i18n/number_patternmodifier.cpp',
'/intl/icu/source/i18n/number_patternstring.cpp',
'/intl/icu/source/i18n/number_rounding.cpp',
'/intl/icu/source/i18n/number_scientific.cpp',
'/intl/icu/source/i18n/number_simple.cpp',
'/intl/icu/source/i18n/number_skeletons.cpp',
'/intl/icu/source/i18n/number_symbolswrapper.cpp',
'/intl/icu/source/i18n/number_usageprefs.cpp',
'/intl/icu/source/i18n/number_utils.cpp',
'/intl/icu/source/i18n/numfmt.cpp',
'/intl/icu/source/i18n/numparse_affixes.cpp',
'/intl/icu/source/i18n/numparse_compositions.cpp',
'/intl/icu/source/i18n/numparse_currency.cpp',
'/intl/icu/source/i18n/numparse_decimal.cpp',
'/intl/icu/source/i18n/numparse_impl.cpp',
'/intl/icu/source/i18n/numparse_parsednumber.cpp',
'/intl/icu/source/i18n/numparse_scientific.cpp',
'/intl/icu/source/i18n/numparse_symbols.cpp',
'/intl/icu/source/i18n/numparse_validators.cpp',
'/intl/icu/source/i18n/numrange_capi.cpp',
'/intl/icu/source/i18n/numrange_fluent.cpp',
'/intl/icu/source/i18n/numrange_impl.cpp',
'/intl/icu/source/i18n/numsys.cpp',
'/intl/icu/source/i18n/olsontz.cpp',
'/intl/icu/source/i18n/persncal.cpp',
'/intl/icu/source/i18n/pluralranges.cpp',
'/intl/icu/source/i18n/plurfmt.cpp',
'/intl/icu/source/i18n/plurrule.cpp',
'/intl/icu/source/i18n/quantityformatter.cpp',
'/intl/icu/source/i18n/rbnf.cpp',
'/intl/icu/source/i18n/rbtz.cpp',
'/intl/icu/source/i18n/region.cpp',
'/intl/icu/source/i18n/reldatefmt.cpp',
'/intl/icu/source/i18n/reldtfmt.cpp',
'/intl/icu/source/i18n/rulebasedcollator.cpp',
'/intl/icu/source/i18n/scriptset.cpp',
'/intl/icu/source/i18n/search.cpp',
'/intl/icu/source/i18n/selfmt.cpp',
'/intl/icu/source/i18n/sharedbreakiterator.cpp',
'/intl/icu/source/i18n/simpletz.cpp',
'/intl/icu/source/i18n/smpdtfmt.cpp',
'/intl/icu/source/i18n/smpdtfst.cpp',
'/intl/icu/source/i18n/sortkey.cpp',
'/intl/icu/source/i18n/standardplural.cpp',
'/intl/icu/source/i18n/string_segment.cpp',
'/intl/icu/source/i18n/stsearch.cpp',
'/intl/icu/source/i18n/taiwncal.cpp',
'/intl/icu/source/i18n/timezone.cpp',
'/intl/icu/source/i18n/tmunit.cpp',
'/intl/icu/source/i18n/tmutamt.cpp',
'/intl/icu/source/i18n/tmutfmt.cpp',
'/intl/icu/source/i18n/tzfmt.cpp',
'/intl/icu/source/i18n/tzgnames.cpp',
'/intl/icu/source/i18n/tznames.cpp',
'/intl/icu/source/i18n/tznames_impl.cpp',
'/intl/icu/source/i18n/tzrule.cpp',
'/intl/icu/source/i18n/tztrans.cpp',
'/intl/icu/source/i18n/ucal.cpp',
'/intl/icu/source/i18n/ucln_in.cpp',
'/intl/icu/source/i18n/ucol.cpp',
'/intl/icu/source/i18n/ucol_res.cpp',
'/intl/icu/source/i18n/ucol_sit.cpp',
'/intl/icu/source/i18n/ucoleitr.cpp',
'/intl/icu/source/i18n/udat.cpp',
'/intl/icu/source/i18n/udateintervalformat.cpp',
'/intl/icu/source/i18n/udatpg.cpp',
'/intl/icu/source/i18n/ufieldpositer.cpp',
'/intl/icu/source/i18n/uitercollationiterator.cpp',
'/intl/icu/source/i18n/ulistformatter.cpp',
'/intl/icu/source/i18n/umsg.cpp',
'/intl/icu/source/i18n/units_complexconverter.cpp',
'/intl/icu/source/i18n/units_converter.cpp',
'/intl/icu/source/i18n/units_data.cpp',
'/intl/icu/source/i18n/units_router.cpp',
'/intl/icu/source/i18n/unum.cpp',
'/intl/icu/source/i18n/unumsys.cpp',
'/intl/icu/source/i18n/upluralrules.cpp',
'/intl/icu/source/i18n/usearch.cpp',
'/intl/icu/source/i18n/uspoof.cpp',
'/intl/icu/source/i18n/uspoof_impl.cpp',
'/intl/icu/source/i18n/utf16collationiterator.cpp',
'/intl/icu/source/i18n/utf8collationiterator.cpp',
'/intl/icu/source/i18n/utmscale.cpp',
'/intl/icu/source/i18n/vtzone.cpp',
'/intl/icu/source/i18n/windtfmt.cpp',
'/intl/icu/source/i18n/winnmfmt.cpp',
'/intl/icu/source/i18n/wintzimpl.cpp',
'/intl/icu/source/i18n/zonemeta.cpp',
"/intl/icu/source/i18n/astro.cpp",
"/intl/icu/source/i18n/basictz.cpp",
"/intl/icu/source/i18n/bocsu.cpp",
"/intl/icu/source/i18n/buddhcal.cpp",
"/intl/icu/source/i18n/calendar.cpp",
"/intl/icu/source/i18n/cecal.cpp",
"/intl/icu/source/i18n/chnsecal.cpp",
"/intl/icu/source/i18n/choicfmt.cpp",
"/intl/icu/source/i18n/coleitr.cpp",
"/intl/icu/source/i18n/coll.cpp",
"/intl/icu/source/i18n/collation.cpp",
"/intl/icu/source/i18n/collationbuilder.cpp",
"/intl/icu/source/i18n/collationcompare.cpp",
"/intl/icu/source/i18n/collationdata.cpp",
"/intl/icu/source/i18n/collationdatabuilder.cpp",
"/intl/icu/source/i18n/collationdatareader.cpp",
"/intl/icu/source/i18n/collationdatawriter.cpp",
"/intl/icu/source/i18n/collationfastlatin.cpp",
"/intl/icu/source/i18n/collationfastlatinbuilder.cpp",
"/intl/icu/source/i18n/collationfcd.cpp",
"/intl/icu/source/i18n/collationiterator.cpp",
"/intl/icu/source/i18n/collationkeys.cpp",
"/intl/icu/source/i18n/collationroot.cpp",
"/intl/icu/source/i18n/collationrootelements.cpp",
"/intl/icu/source/i18n/collationruleparser.cpp",
"/intl/icu/source/i18n/collationsets.cpp",
"/intl/icu/source/i18n/collationsettings.cpp",
"/intl/icu/source/i18n/collationtailoring.cpp",
"/intl/icu/source/i18n/collationweights.cpp",
"/intl/icu/source/i18n/compactdecimalformat.cpp",
"/intl/icu/source/i18n/coptccal.cpp",
"/intl/icu/source/i18n/curramt.cpp",
"/intl/icu/source/i18n/currfmt.cpp",
"/intl/icu/source/i18n/currpinf.cpp",
"/intl/icu/source/i18n/currunit.cpp",
"/intl/icu/source/i18n/dangical.cpp",
"/intl/icu/source/i18n/datefmt.cpp",
"/intl/icu/source/i18n/dayperiodrules.cpp",
"/intl/icu/source/i18n/dcfmtsym.cpp",
"/intl/icu/source/i18n/decContext.cpp",
"/intl/icu/source/i18n/decimfmt.cpp",
"/intl/icu/source/i18n/decNumber.cpp",
"/intl/icu/source/i18n/displayoptions.cpp",
"/intl/icu/source/i18n/dtfmtsym.cpp",
"/intl/icu/source/i18n/dtitvfmt.cpp",
"/intl/icu/source/i18n/dtitvinf.cpp",
"/intl/icu/source/i18n/dtptngen.cpp",
"/intl/icu/source/i18n/dtrule.cpp",
"/intl/icu/source/i18n/erarules.cpp",
"/intl/icu/source/i18n/ethpccal.cpp",
"/intl/icu/source/i18n/fmtable.cpp",
"/intl/icu/source/i18n/format.cpp",
"/intl/icu/source/i18n/formatted_string_builder.cpp",
"/intl/icu/source/i18n/formattedval_iterimpl.cpp",
"/intl/icu/source/i18n/formattedval_sbimpl.cpp",
"/intl/icu/source/i18n/formattedvalue.cpp",
"/intl/icu/source/i18n/fphdlimp.cpp",
"/intl/icu/source/i18n/fpositer.cpp",
"/intl/icu/source/i18n/gregocal.cpp",
"/intl/icu/source/i18n/gregoimp.cpp",
"/intl/icu/source/i18n/hebrwcal.cpp",
"/intl/icu/source/i18n/indiancal.cpp",
"/intl/icu/source/i18n/islamcal.cpp",
"/intl/icu/source/i18n/iso8601cal.cpp",
"/intl/icu/source/i18n/japancal.cpp",
"/intl/icu/source/i18n/listformatter.cpp",
"/intl/icu/source/i18n/measfmt.cpp",
"/intl/icu/source/i18n/measunit.cpp",
"/intl/icu/source/i18n/measunit_extra.cpp",
"/intl/icu/source/i18n/measure.cpp",
"/intl/icu/source/i18n/msgfmt.cpp",
"/intl/icu/source/i18n/nfrs.cpp",
"/intl/icu/source/i18n/nfrule.cpp",
"/intl/icu/source/i18n/nfsubs.cpp",
"/intl/icu/source/i18n/number_affixutils.cpp",
"/intl/icu/source/i18n/number_asformat.cpp",
"/intl/icu/source/i18n/number_capi.cpp",
"/intl/icu/source/i18n/number_compact.cpp",
"/intl/icu/source/i18n/number_currencysymbols.cpp",
"/intl/icu/source/i18n/number_decimalquantity.cpp",
"/intl/icu/source/i18n/number_decimfmtprops.cpp",
"/intl/icu/source/i18n/number_fluent.cpp",
"/intl/icu/source/i18n/number_formatimpl.cpp",
"/intl/icu/source/i18n/number_grouping.cpp",
"/intl/icu/source/i18n/number_integerwidth.cpp",
"/intl/icu/source/i18n/number_longnames.cpp",
"/intl/icu/source/i18n/number_mapper.cpp",
"/intl/icu/source/i18n/number_modifiers.cpp",
"/intl/icu/source/i18n/number_multiplier.cpp",
"/intl/icu/source/i18n/number_notation.cpp",
"/intl/icu/source/i18n/number_output.cpp",
"/intl/icu/source/i18n/number_padding.cpp",
"/intl/icu/source/i18n/number_patternmodifier.cpp",
"/intl/icu/source/i18n/number_patternstring.cpp",
"/intl/icu/source/i18n/number_rounding.cpp",
"/intl/icu/source/i18n/number_scientific.cpp",
"/intl/icu/source/i18n/number_simple.cpp",
"/intl/icu/source/i18n/number_skeletons.cpp",
"/intl/icu/source/i18n/number_symbolswrapper.cpp",
"/intl/icu/source/i18n/number_usageprefs.cpp",
"/intl/icu/source/i18n/number_utils.cpp",
"/intl/icu/source/i18n/numfmt.cpp",
"/intl/icu/source/i18n/numparse_affixes.cpp",
"/intl/icu/source/i18n/numparse_compositions.cpp",
"/intl/icu/source/i18n/numparse_currency.cpp",
"/intl/icu/source/i18n/numparse_decimal.cpp",
"/intl/icu/source/i18n/numparse_impl.cpp",
"/intl/icu/source/i18n/numparse_parsednumber.cpp",
"/intl/icu/source/i18n/numparse_scientific.cpp",
"/intl/icu/source/i18n/numparse_symbols.cpp",
"/intl/icu/source/i18n/numparse_validators.cpp",
"/intl/icu/source/i18n/numrange_capi.cpp",
"/intl/icu/source/i18n/numrange_fluent.cpp",
"/intl/icu/source/i18n/numrange_impl.cpp",
"/intl/icu/source/i18n/numsys.cpp",
"/intl/icu/source/i18n/olsontz.cpp",
"/intl/icu/source/i18n/persncal.cpp",
"/intl/icu/source/i18n/pluralranges.cpp",
"/intl/icu/source/i18n/plurfmt.cpp",
"/intl/icu/source/i18n/plurrule.cpp",
"/intl/icu/source/i18n/quantityformatter.cpp",
"/intl/icu/source/i18n/rbnf.cpp",
"/intl/icu/source/i18n/rbtz.cpp",
"/intl/icu/source/i18n/region.cpp",
"/intl/icu/source/i18n/reldatefmt.cpp",
"/intl/icu/source/i18n/reldtfmt.cpp",
"/intl/icu/source/i18n/rulebasedcollator.cpp",
"/intl/icu/source/i18n/scriptset.cpp",
"/intl/icu/source/i18n/search.cpp",
"/intl/icu/source/i18n/selfmt.cpp",
"/intl/icu/source/i18n/sharedbreakiterator.cpp",
"/intl/icu/source/i18n/simpletz.cpp",
"/intl/icu/source/i18n/smpdtfmt.cpp",
"/intl/icu/source/i18n/smpdtfst.cpp",
"/intl/icu/source/i18n/sortkey.cpp",
"/intl/icu/source/i18n/standardplural.cpp",
"/intl/icu/source/i18n/string_segment.cpp",
"/intl/icu/source/i18n/stsearch.cpp",
"/intl/icu/source/i18n/taiwncal.cpp",
"/intl/icu/source/i18n/timezone.cpp",
"/intl/icu/source/i18n/tmunit.cpp",
"/intl/icu/source/i18n/tmutamt.cpp",
"/intl/icu/source/i18n/tmutfmt.cpp",
"/intl/icu/source/i18n/tzfmt.cpp",
"/intl/icu/source/i18n/tzgnames.cpp",
"/intl/icu/source/i18n/tznames.cpp",
"/intl/icu/source/i18n/tznames_impl.cpp",
"/intl/icu/source/i18n/tzrule.cpp",
"/intl/icu/source/i18n/tztrans.cpp",
"/intl/icu/source/i18n/ucal.cpp",
"/intl/icu/source/i18n/ucln_in.cpp",
"/intl/icu/source/i18n/ucol.cpp",
"/intl/icu/source/i18n/ucol_res.cpp",
"/intl/icu/source/i18n/ucol_sit.cpp",
"/intl/icu/source/i18n/ucoleitr.cpp",
"/intl/icu/source/i18n/udat.cpp",
"/intl/icu/source/i18n/udateintervalformat.cpp",
"/intl/icu/source/i18n/udatpg.cpp",
"/intl/icu/source/i18n/ufieldpositer.cpp",
"/intl/icu/source/i18n/uitercollationiterator.cpp",
"/intl/icu/source/i18n/ulistformatter.cpp",
"/intl/icu/source/i18n/umsg.cpp",
"/intl/icu/source/i18n/units_complexconverter.cpp",
"/intl/icu/source/i18n/units_converter.cpp",
"/intl/icu/source/i18n/units_data.cpp",
"/intl/icu/source/i18n/units_router.cpp",
"/intl/icu/source/i18n/unum.cpp",
"/intl/icu/source/i18n/unumsys.cpp",
"/intl/icu/source/i18n/upluralrules.cpp",
"/intl/icu/source/i18n/usearch.cpp",
"/intl/icu/source/i18n/uspoof.cpp",
"/intl/icu/source/i18n/uspoof_impl.cpp",
"/intl/icu/source/i18n/utf16collationiterator.cpp",
"/intl/icu/source/i18n/utf8collationiterator.cpp",
"/intl/icu/source/i18n/utmscale.cpp",
"/intl/icu/source/i18n/vtzone.cpp",
"/intl/icu/source/i18n/windtfmt.cpp",
"/intl/icu/source/i18n/winnmfmt.cpp",
"/intl/icu/source/i18n/wintzimpl.cpp",
"/intl/icu/source/i18n/zonemeta.cpp",
]
other_sources = [
'/intl/icu/source/i18n/alphaindex.cpp',
'/intl/icu/source/i18n/anytrans.cpp',
'/intl/icu/source/i18n/brktrans.cpp',
'/intl/icu/source/i18n/casetrn.cpp',
'/intl/icu/source/i18n/cpdtrans.cpp',
'/intl/icu/source/i18n/csdetect.cpp',
'/intl/icu/source/i18n/csmatch.cpp',
'/intl/icu/source/i18n/csr2022.cpp',
'/intl/icu/source/i18n/csrecog.cpp',
'/intl/icu/source/i18n/csrmbcs.cpp',
'/intl/icu/source/i18n/csrsbcs.cpp',
'/intl/icu/source/i18n/csrucode.cpp',
'/intl/icu/source/i18n/csrutf8.cpp',
'/intl/icu/source/i18n/double-conversion-bignum-dtoa.cpp',
'/intl/icu/source/i18n/double-conversion-bignum.cpp',
'/intl/icu/source/i18n/double-conversion-cached-powers.cpp',
'/intl/icu/source/i18n/double-conversion-double-to-string.cpp',
'/intl/icu/source/i18n/double-conversion-fast-dtoa.cpp',
'/intl/icu/source/i18n/double-conversion-string-to-double.cpp',
'/intl/icu/source/i18n/double-conversion-strtod.cpp',
'/intl/icu/source/i18n/esctrn.cpp',
'/intl/icu/source/i18n/fmtable_cnv.cpp',
'/intl/icu/source/i18n/funcrepl.cpp',
'/intl/icu/source/i18n/gender.cpp',
'/intl/icu/source/i18n/inputext.cpp',
'/intl/icu/source/i18n/name2uni.cpp',
'/intl/icu/source/i18n/nortrans.cpp',
'/intl/icu/source/i18n/nultrans.cpp',
'/intl/icu/source/i18n/quant.cpp',
'/intl/icu/source/i18n/rbt.cpp',
'/intl/icu/source/i18n/rbt_data.cpp',
'/intl/icu/source/i18n/rbt_pars.cpp',
'/intl/icu/source/i18n/rbt_rule.cpp',
'/intl/icu/source/i18n/rbt_set.cpp',
'/intl/icu/source/i18n/regexcmp.cpp',
'/intl/icu/source/i18n/regeximp.cpp',
'/intl/icu/source/i18n/regexst.cpp',
'/intl/icu/source/i18n/regextxt.cpp',
'/intl/icu/source/i18n/rematch.cpp',
'/intl/icu/source/i18n/remtrans.cpp',
'/intl/icu/source/i18n/repattrn.cpp',
'/intl/icu/source/i18n/scientificnumberformatter.cpp',
'/intl/icu/source/i18n/strmatch.cpp',
'/intl/icu/source/i18n/strrepl.cpp',
'/intl/icu/source/i18n/titletrn.cpp',
'/intl/icu/source/i18n/tolowtrn.cpp',
'/intl/icu/source/i18n/toupptrn.cpp',
'/intl/icu/source/i18n/translit.cpp',
'/intl/icu/source/i18n/transreg.cpp',
'/intl/icu/source/i18n/tridpars.cpp',
'/intl/icu/source/i18n/ucsdet.cpp',
'/intl/icu/source/i18n/ulocdata.cpp',
'/intl/icu/source/i18n/unesctrn.cpp',
'/intl/icu/source/i18n/uni2name.cpp',
'/intl/icu/source/i18n/uregex.cpp',
'/intl/icu/source/i18n/uregexc.cpp',
'/intl/icu/source/i18n/uregion.cpp',
'/intl/icu/source/i18n/uspoof_build.cpp',
'/intl/icu/source/i18n/uspoof_conf.cpp',
'/intl/icu/source/i18n/utrans.cpp',
'/intl/icu/source/i18n/vzone.cpp',
'/intl/icu/source/i18n/zrule.cpp',
'/intl/icu/source/i18n/ztrans.cpp',
"/intl/icu/source/i18n/alphaindex.cpp",
"/intl/icu/source/i18n/anytrans.cpp",
"/intl/icu/source/i18n/brktrans.cpp",
"/intl/icu/source/i18n/casetrn.cpp",
"/intl/icu/source/i18n/cpdtrans.cpp",
"/intl/icu/source/i18n/csdetect.cpp",
"/intl/icu/source/i18n/csmatch.cpp",
"/intl/icu/source/i18n/csr2022.cpp",
"/intl/icu/source/i18n/csrecog.cpp",
"/intl/icu/source/i18n/csrmbcs.cpp",
"/intl/icu/source/i18n/csrsbcs.cpp",
"/intl/icu/source/i18n/csrucode.cpp",
"/intl/icu/source/i18n/csrutf8.cpp",
"/intl/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
"/intl/icu/source/i18n/double-conversion-bignum.cpp",
"/intl/icu/source/i18n/double-conversion-cached-powers.cpp",
"/intl/icu/source/i18n/double-conversion-double-to-string.cpp",
"/intl/icu/source/i18n/double-conversion-fast-dtoa.cpp",
"/intl/icu/source/i18n/double-conversion-string-to-double.cpp",
"/intl/icu/source/i18n/double-conversion-strtod.cpp",
"/intl/icu/source/i18n/esctrn.cpp",
"/intl/icu/source/i18n/fmtable_cnv.cpp",
"/intl/icu/source/i18n/funcrepl.cpp",
"/intl/icu/source/i18n/gender.cpp",
"/intl/icu/source/i18n/inputext.cpp",
"/intl/icu/source/i18n/name2uni.cpp",
"/intl/icu/source/i18n/nortrans.cpp",
"/intl/icu/source/i18n/nultrans.cpp",
"/intl/icu/source/i18n/quant.cpp",
"/intl/icu/source/i18n/rbt.cpp",
"/intl/icu/source/i18n/rbt_data.cpp",
"/intl/icu/source/i18n/rbt_pars.cpp",
"/intl/icu/source/i18n/rbt_rule.cpp",
"/intl/icu/source/i18n/rbt_set.cpp",
"/intl/icu/source/i18n/regexcmp.cpp",
"/intl/icu/source/i18n/regeximp.cpp",
"/intl/icu/source/i18n/regexst.cpp",
"/intl/icu/source/i18n/regextxt.cpp",
"/intl/icu/source/i18n/rematch.cpp",
"/intl/icu/source/i18n/remtrans.cpp",
"/intl/icu/source/i18n/repattrn.cpp",
"/intl/icu/source/i18n/scientificnumberformatter.cpp",
"/intl/icu/source/i18n/strmatch.cpp",
"/intl/icu/source/i18n/strrepl.cpp",
"/intl/icu/source/i18n/titletrn.cpp",
"/intl/icu/source/i18n/tolowtrn.cpp",
"/intl/icu/source/i18n/toupptrn.cpp",
"/intl/icu/source/i18n/translit.cpp",
"/intl/icu/source/i18n/transreg.cpp",
"/intl/icu/source/i18n/tridpars.cpp",
"/intl/icu/source/i18n/ucsdet.cpp",
"/intl/icu/source/i18n/ulocdata.cpp",
"/intl/icu/source/i18n/unesctrn.cpp",
"/intl/icu/source/i18n/uni2name.cpp",
"/intl/icu/source/i18n/uregex.cpp",
"/intl/icu/source/i18n/uregexc.cpp",
"/intl/icu/source/i18n/uregion.cpp",
"/intl/icu/source/i18n/uspoof_build.cpp",
"/intl/icu/source/i18n/uspoof_conf.cpp",
"/intl/icu/source/i18n/utrans.cpp",
"/intl/icu/source/i18n/vzone.cpp",
"/intl/icu/source/i18n/zrule.cpp",
"/intl/icu/source/i18n/ztrans.cpp",
]
EXPORTS.unicode += [
'/intl/icu/source/i18n/unicode/alphaindex.h',
'/intl/icu/source/i18n/unicode/basictz.h',
'/intl/icu/source/i18n/unicode/calendar.h',
'/intl/icu/source/i18n/unicode/choicfmt.h',
'/intl/icu/source/i18n/unicode/coleitr.h',
'/intl/icu/source/i18n/unicode/coll.h',
'/intl/icu/source/i18n/unicode/compactdecimalformat.h',
'/intl/icu/source/i18n/unicode/curramt.h',
'/intl/icu/source/i18n/unicode/currpinf.h',
'/intl/icu/source/i18n/unicode/currunit.h',
'/intl/icu/source/i18n/unicode/datefmt.h',
'/intl/icu/source/i18n/unicode/dcfmtsym.h',
'/intl/icu/source/i18n/unicode/decimfmt.h',
'/intl/icu/source/i18n/unicode/displayoptions.h',
'/intl/icu/source/i18n/unicode/dtfmtsym.h',
'/intl/icu/source/i18n/unicode/dtitvfmt.h',
'/intl/icu/source/i18n/unicode/dtitvinf.h',
'/intl/icu/source/i18n/unicode/dtptngen.h',
'/intl/icu/source/i18n/unicode/dtrule.h',
'/intl/icu/source/i18n/unicode/fieldpos.h',
'/intl/icu/source/i18n/unicode/fmtable.h',
'/intl/icu/source/i18n/unicode/format.h',
'/intl/icu/source/i18n/unicode/formattednumber.h',
'/intl/icu/source/i18n/unicode/formattedvalue.h',
'/intl/icu/source/i18n/unicode/fpositer.h',
'/intl/icu/source/i18n/unicode/gender.h',
'/intl/icu/source/i18n/unicode/gregocal.h',
'/intl/icu/source/i18n/unicode/listformatter.h',
'/intl/icu/source/i18n/unicode/measfmt.h',
'/intl/icu/source/i18n/unicode/measunit.h',
'/intl/icu/source/i18n/unicode/measure.h',
'/intl/icu/source/i18n/unicode/msgfmt.h',
'/intl/icu/source/i18n/unicode/nounit.h',
'/intl/icu/source/i18n/unicode/numberformatter.h',
'/intl/icu/source/i18n/unicode/numberrangeformatter.h',
'/intl/icu/source/i18n/unicode/numfmt.h',
'/intl/icu/source/i18n/unicode/numsys.h',
'/intl/icu/source/i18n/unicode/plurfmt.h',
'/intl/icu/source/i18n/unicode/plurrule.h',
'/intl/icu/source/i18n/unicode/rbnf.h',
'/intl/icu/source/i18n/unicode/rbtz.h',
'/intl/icu/source/i18n/unicode/regex.h',
'/intl/icu/source/i18n/unicode/region.h',
'/intl/icu/source/i18n/unicode/reldatefmt.h',
'/intl/icu/source/i18n/unicode/scientificnumberformatter.h',
'/intl/icu/source/i18n/unicode/search.h',
'/intl/icu/source/i18n/unicode/selfmt.h',
'/intl/icu/source/i18n/unicode/simplenumberformatter.h',
'/intl/icu/source/i18n/unicode/simpletz.h',
'/intl/icu/source/i18n/unicode/smpdtfmt.h',
'/intl/icu/source/i18n/unicode/sortkey.h',
'/intl/icu/source/i18n/unicode/stsearch.h',
'/intl/icu/source/i18n/unicode/tblcoll.h',
'/intl/icu/source/i18n/unicode/timezone.h',
'/intl/icu/source/i18n/unicode/tmunit.h',
'/intl/icu/source/i18n/unicode/tmutamt.h',
'/intl/icu/source/i18n/unicode/tmutfmt.h',
'/intl/icu/source/i18n/unicode/translit.h',
'/intl/icu/source/i18n/unicode/tzfmt.h',
'/intl/icu/source/i18n/unicode/tznames.h',
'/intl/icu/source/i18n/unicode/tzrule.h',
'/intl/icu/source/i18n/unicode/tztrans.h',
'/intl/icu/source/i18n/unicode/ucal.h',
'/intl/icu/source/i18n/unicode/ucol.h',
'/intl/icu/source/i18n/unicode/ucoleitr.h',
'/intl/icu/source/i18n/unicode/ucsdet.h',
'/intl/icu/source/i18n/unicode/udat.h',
'/intl/icu/source/i18n/unicode/udateintervalformat.h',
'/intl/icu/source/i18n/unicode/udatpg.h',
'/intl/icu/source/i18n/unicode/udisplayoptions.h',
'/intl/icu/source/i18n/unicode/ufieldpositer.h',
'/intl/icu/source/i18n/unicode/uformattable.h',
'/intl/icu/source/i18n/unicode/uformattednumber.h',
'/intl/icu/source/i18n/unicode/uformattedvalue.h',
'/intl/icu/source/i18n/unicode/ugender.h',
'/intl/icu/source/i18n/unicode/ulistformatter.h',
'/intl/icu/source/i18n/unicode/ulocdata.h',
'/intl/icu/source/i18n/unicode/umsg.h',
'/intl/icu/source/i18n/unicode/unirepl.h',
'/intl/icu/source/i18n/unicode/unum.h',
'/intl/icu/source/i18n/unicode/unumberformatter.h',
'/intl/icu/source/i18n/unicode/unumberoptions.h',
'/intl/icu/source/i18n/unicode/unumberrangeformatter.h',
'/intl/icu/source/i18n/unicode/unumsys.h',
'/intl/icu/source/i18n/unicode/upluralrules.h',
'/intl/icu/source/i18n/unicode/uregex.h',
'/intl/icu/source/i18n/unicode/uregion.h',
'/intl/icu/source/i18n/unicode/ureldatefmt.h',
'/intl/icu/source/i18n/unicode/usearch.h',
'/intl/icu/source/i18n/unicode/usimplenumberformatter.h',
'/intl/icu/source/i18n/unicode/uspoof.h',
'/intl/icu/source/i18n/unicode/utmscale.h',
'/intl/icu/source/i18n/unicode/utrans.h',
'/intl/icu/source/i18n/unicode/vtzone.h',
"/intl/icu/source/i18n/unicode/alphaindex.h",
"/intl/icu/source/i18n/unicode/basictz.h",
"/intl/icu/source/i18n/unicode/calendar.h",
"/intl/icu/source/i18n/unicode/choicfmt.h",
"/intl/icu/source/i18n/unicode/coleitr.h",
"/intl/icu/source/i18n/unicode/coll.h",
"/intl/icu/source/i18n/unicode/compactdecimalformat.h",
"/intl/icu/source/i18n/unicode/curramt.h",
"/intl/icu/source/i18n/unicode/currpinf.h",
"/intl/icu/source/i18n/unicode/currunit.h",
"/intl/icu/source/i18n/unicode/datefmt.h",
"/intl/icu/source/i18n/unicode/dcfmtsym.h",
"/intl/icu/source/i18n/unicode/decimfmt.h",
"/intl/icu/source/i18n/unicode/displayoptions.h",
"/intl/icu/source/i18n/unicode/dtfmtsym.h",
"/intl/icu/source/i18n/unicode/dtitvfmt.h",
"/intl/icu/source/i18n/unicode/dtitvinf.h",
"/intl/icu/source/i18n/unicode/dtptngen.h",
"/intl/icu/source/i18n/unicode/dtrule.h",
"/intl/icu/source/i18n/unicode/fieldpos.h",
"/intl/icu/source/i18n/unicode/fmtable.h",
"/intl/icu/source/i18n/unicode/format.h",
"/intl/icu/source/i18n/unicode/formattednumber.h",
"/intl/icu/source/i18n/unicode/formattedvalue.h",
"/intl/icu/source/i18n/unicode/fpositer.h",
"/intl/icu/source/i18n/unicode/gender.h",
"/intl/icu/source/i18n/unicode/gregocal.h",
"/intl/icu/source/i18n/unicode/listformatter.h",
"/intl/icu/source/i18n/unicode/measfmt.h",
"/intl/icu/source/i18n/unicode/measunit.h",
"/intl/icu/source/i18n/unicode/measure.h",
"/intl/icu/source/i18n/unicode/msgfmt.h",
"/intl/icu/source/i18n/unicode/nounit.h",
"/intl/icu/source/i18n/unicode/numberformatter.h",
"/intl/icu/source/i18n/unicode/numberrangeformatter.h",
"/intl/icu/source/i18n/unicode/numfmt.h",
"/intl/icu/source/i18n/unicode/numsys.h",
"/intl/icu/source/i18n/unicode/plurfmt.h",
"/intl/icu/source/i18n/unicode/plurrule.h",
"/intl/icu/source/i18n/unicode/rbnf.h",
"/intl/icu/source/i18n/unicode/rbtz.h",
"/intl/icu/source/i18n/unicode/regex.h",
"/intl/icu/source/i18n/unicode/region.h",
"/intl/icu/source/i18n/unicode/reldatefmt.h",
"/intl/icu/source/i18n/unicode/scientificnumberformatter.h",
"/intl/icu/source/i18n/unicode/search.h",
"/intl/icu/source/i18n/unicode/selfmt.h",
"/intl/icu/source/i18n/unicode/simplenumberformatter.h",
"/intl/icu/source/i18n/unicode/simpletz.h",
"/intl/icu/source/i18n/unicode/smpdtfmt.h",
"/intl/icu/source/i18n/unicode/sortkey.h",
"/intl/icu/source/i18n/unicode/stsearch.h",
"/intl/icu/source/i18n/unicode/tblcoll.h",
"/intl/icu/source/i18n/unicode/timezone.h",
"/intl/icu/source/i18n/unicode/tmunit.h",
"/intl/icu/source/i18n/unicode/tmutamt.h",
"/intl/icu/source/i18n/unicode/tmutfmt.h",
"/intl/icu/source/i18n/unicode/translit.h",
"/intl/icu/source/i18n/unicode/tzfmt.h",
"/intl/icu/source/i18n/unicode/tznames.h",
"/intl/icu/source/i18n/unicode/tzrule.h",
"/intl/icu/source/i18n/unicode/tztrans.h",
"/intl/icu/source/i18n/unicode/ucal.h",
"/intl/icu/source/i18n/unicode/ucol.h",
"/intl/icu/source/i18n/unicode/ucoleitr.h",
"/intl/icu/source/i18n/unicode/ucsdet.h",
"/intl/icu/source/i18n/unicode/udat.h",
"/intl/icu/source/i18n/unicode/udateintervalformat.h",
"/intl/icu/source/i18n/unicode/udatpg.h",
"/intl/icu/source/i18n/unicode/udisplayoptions.h",
"/intl/icu/source/i18n/unicode/ufieldpositer.h",
"/intl/icu/source/i18n/unicode/uformattable.h",
"/intl/icu/source/i18n/unicode/uformattednumber.h",
"/intl/icu/source/i18n/unicode/uformattedvalue.h",
"/intl/icu/source/i18n/unicode/ugender.h",
"/intl/icu/source/i18n/unicode/ulistformatter.h",
"/intl/icu/source/i18n/unicode/ulocdata.h",
"/intl/icu/source/i18n/unicode/umsg.h",
"/intl/icu/source/i18n/unicode/unirepl.h",
"/intl/icu/source/i18n/unicode/unum.h",
"/intl/icu/source/i18n/unicode/unumberformatter.h",
"/intl/icu/source/i18n/unicode/unumberoptions.h",
"/intl/icu/source/i18n/unicode/unumberrangeformatter.h",
"/intl/icu/source/i18n/unicode/unumsys.h",
"/intl/icu/source/i18n/unicode/upluralrules.h",
"/intl/icu/source/i18n/unicode/uregex.h",
"/intl/icu/source/i18n/unicode/uregion.h",
"/intl/icu/source/i18n/unicode/ureldatefmt.h",
"/intl/icu/source/i18n/unicode/usearch.h",
"/intl/icu/source/i18n/unicode/usimplenumberformatter.h",
"/intl/icu/source/i18n/unicode/uspoof.h",
"/intl/icu/source/i18n/unicode/utmscale.h",
"/intl/icu/source/i18n/unicode/utrans.h",
"/intl/icu/source/i18n/unicode/vtzone.h",
]

2
config/external/icu/icupkg/sources.mozbuild поставляемый
Просмотреть файл

@ -1,4 +1,4 @@
# THIS FILE IS GENERATED BY /intl/icu_sources_data.py DO NOT EDIT
sources = [
'/intl/icu/source/tools/icupkg/icupkg.cpp',
"/intl/icu/source/tools/icupkg/icupkg.cpp",
]

48
config/external/icu/toolutil/sources.mozbuild поставляемый
Просмотреть файл

@ -1,27 +1,27 @@
# THIS FILE IS GENERATED BY /intl/icu_sources_data.py DO NOT EDIT
sources = [
'/intl/icu/source/tools/toolutil/collationinfo.cpp',
'/intl/icu/source/tools/toolutil/dbgutil.cpp',
'/intl/icu/source/tools/toolutil/denseranges.cpp',
'/intl/icu/source/tools/toolutil/filestrm.cpp',
'/intl/icu/source/tools/toolutil/filetools.cpp',
'/intl/icu/source/tools/toolutil/flagparser.cpp',
'/intl/icu/source/tools/toolutil/package.cpp',
'/intl/icu/source/tools/toolutil/pkg_genc.cpp',
'/intl/icu/source/tools/toolutil/pkg_gencmn.cpp',
'/intl/icu/source/tools/toolutil/pkg_icu.cpp',
'/intl/icu/source/tools/toolutil/pkgitems.cpp',
'/intl/icu/source/tools/toolutil/ppucd.cpp',
'/intl/icu/source/tools/toolutil/swapimpl.cpp',
'/intl/icu/source/tools/toolutil/toolutil.cpp',
'/intl/icu/source/tools/toolutil/ucbuf.cpp',
'/intl/icu/source/tools/toolutil/ucln_tu.cpp',
'/intl/icu/source/tools/toolutil/ucm.cpp',
'/intl/icu/source/tools/toolutil/ucmstate.cpp',
'/intl/icu/source/tools/toolutil/udbgutil.cpp',
'/intl/icu/source/tools/toolutil/unewdata.cpp',
'/intl/icu/source/tools/toolutil/uoptions.cpp',
'/intl/icu/source/tools/toolutil/uparse.cpp',
'/intl/icu/source/tools/toolutil/writesrc.cpp',
'/intl/icu/source/tools/toolutil/xmlparser.cpp',
"/intl/icu/source/tools/toolutil/collationinfo.cpp",
"/intl/icu/source/tools/toolutil/dbgutil.cpp",
"/intl/icu/source/tools/toolutil/denseranges.cpp",
"/intl/icu/source/tools/toolutil/filestrm.cpp",
"/intl/icu/source/tools/toolutil/filetools.cpp",
"/intl/icu/source/tools/toolutil/flagparser.cpp",
"/intl/icu/source/tools/toolutil/package.cpp",
"/intl/icu/source/tools/toolutil/pkg_genc.cpp",
"/intl/icu/source/tools/toolutil/pkg_gencmn.cpp",
"/intl/icu/source/tools/toolutil/pkg_icu.cpp",
"/intl/icu/source/tools/toolutil/pkgitems.cpp",
"/intl/icu/source/tools/toolutil/ppucd.cpp",
"/intl/icu/source/tools/toolutil/swapimpl.cpp",
"/intl/icu/source/tools/toolutil/toolutil.cpp",
"/intl/icu/source/tools/toolutil/ucbuf.cpp",
"/intl/icu/source/tools/toolutil/ucln_tu.cpp",
"/intl/icu/source/tools/toolutil/ucm.cpp",
"/intl/icu/source/tools/toolutil/ucmstate.cpp",
"/intl/icu/source/tools/toolutil/udbgutil.cpp",
"/intl/icu/source/tools/toolutil/unewdata.cpp",
"/intl/icu/source/tools/toolutil/uoptions.cpp",
"/intl/icu/source/tools/toolutil/uparse.cpp",
"/intl/icu/source/tools/toolutil/writesrc.cpp",
"/intl/icu/source/tools/toolutil/xmlparser.cpp",
]

Просмотреть файл

@ -16,46 +16,45 @@
# file a Core:XPCOM bug with a title like "STL: Review exception
# safety of <foo> for gcc and MSVC".
stl_headers = [
'new',
"new",
# FIXME: these headers haven't been reviewed yet, but we use them
# unsafely in Gecko, so we might as well prevent them from
# throwing exceptions
'algorithm',
'atomic',
'cassert',
'climits',
'cmath',
'condition_variable',
'cstdarg',
'cstdio',
'cstdlib',
'cstring',
'cwchar',
'deque',
'functional',
'ios',
'iosfwd',
'iostream',
'istream',
'iterator',
'limits',
'list',
'map',
'memory',
'mutex',
'ostream',
'regex',
'set',
'shared_mutex',
'stack',
'string',
'thread',
'tuple',
'type_traits',
'unordered_map',
'unordered_set',
'utility',
'vector',
'xutility',
"algorithm",
"atomic",
"cassert",
"climits",
"cmath",
"condition_variable",
"cstdarg",
"cstdio",
"cstdlib",
"cstring",
"cwchar",
"deque",
"functional",
"ios",
"iosfwd",
"iostream",
"istream",
"iterator",
"limits",
"list",
"map",
"memory",
"mutex",
"ostream",
"regex",
"set",
"shared_mutex",
"stack",
"string",
"thread",
"tuple",
"type_traits",
"unordered_map",
"unordered_set",
"utility",
"vector",
"xutility",
]

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -3,31 +3,34 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@template
def CompiledModules(*modules):
compiled_directory_whitelist = (
"devtools/client/debugger/src",
)
compiled_directory_whitelist = ("devtools/client/debugger/src",)
if not RELATIVEDIR.startswith(compiled_directory_whitelist):
error("File in directory provided to CompiledModules not allowed: " + RELATIVEDIR)
if not RELATIVEDIR.startswith(compiled_directory_whitelist):
error(
"File in directory provided to CompiledModules not allowed: " + RELATIVEDIR
)
# HACK. Template export() propagation is janky so we have to re-implement the
# logic for computing FINAL_TARGET from scratch. Here we emulate the
# DIST_SUBDIR export in devtools/moz.build.
if CONFIG['MOZ_BUILD_APP'] == 'browser':
final_target = '/dist/bin/browser'
else:
final_target = '/dist/bin'
# HACK. Template export() propagation is janky so we have to re-implement the
# logic for computing FINAL_TARGET from scratch. Here we emulate the
# DIST_SUBDIR export in devtools/moz.build.
if CONFIG["MOZ_BUILD_APP"] == "browser":
final_target = "/dist/bin/browser"
else:
final_target = "/dist/bin"
final = '/'.join([final_target, 'chrome/devtools/modules', RELATIVEDIR])
# For the same reason as https://searchfox.org/mozilla-central/source/mobile/android/base/moz.build#180-184
# we have to insert a first entry as recursivemake overrides the first entry and we end up with empty files
# for the first file only.
GeneratedFile(
"node.stub", *[final + '/' + module for module in modules],
script='/python/mozbuild/mozbuild/action/node.py',
entry_point='generate',
inputs=['/devtools/client/shared/build/build.js'] +
[module for module in modules],
flags=['/'.join([TOPOBJDIR, final])])
final = "/".join([final_target, "chrome/devtools/modules", RELATIVEDIR])
# For the same reason as https://searchfox.org/mozilla-central/source/mobile/android/base/moz.build#180-184
# we have to insert a first entry as recursivemake overrides the first entry and we end up with empty files
# for the first file only.
GeneratedFile(
"node.stub",
*[final + "/" + module for module in modules],
script="/python/mozbuild/mozbuild/action/node.py",
entry_point="generate",
inputs=["/devtools/client/shared/build/build.js"]
+ [module for module in modules],
flags=["/".join([TOPOBJDIR, final])]
)

Просмотреть файл

@ -4,9 +4,10 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@template
def DevToolsModules(*modules):
'''Installs JS modules at a resource:// path that corresponds directly to
"""Installs JS modules at a resource:// path that corresponds directly to
their source tree location.
For this to work as intended, a moz.build file should be placed in each
@ -14,27 +15,30 @@ def DevToolsModules(*modules):
its own directory. Subdirectories should use their own moz.build.
By following this pattern, there's less magic to require() and resource://
paths, since they now match the source tree.'''
paths, since they now match the source tree."""
for m in modules:
if '/' in m:
error('DevToolsModules must be used from the same directory as ' +
'the files to be installed.')
if "/" in m:
error(
"DevToolsModules must be used from the same directory as "
+ "the files to be installed."
)
# jar.mn manifest files are typically used to install files to chrome
# locations. Instead of doing this, use this DevToolsModules syntax via
# moz.build files to do the installation so that we can enforce correct
# paths based on source tree location.
base = FINAL_TARGET_FILES.chrome.devtools.modules
for dir in RELATIVEDIR.split('/'):
for dir in RELATIVEDIR.split("/"):
base = base[dir]
base += [m for m in modules]
@template
def RenamedDevToolsModules(source, target):
''' Helper function to ship a file (source) with a distinct name (target).
This will ship the file the same way DevToolsModule does it, to resource://devtools/'''
"""Helper function to ship a file (source) with a distinct name (target).
This will ship the file the same way DevToolsModule does it, to resource://devtools/
"""
base = FINAL_TARGET_FILES.chrome.devtools.modules
for dir in RELATIVEDIR.split("/"):

Просмотреть файл

@ -10,33 +10,39 @@
# start:
# https://source.chromium.org/search?q=usage:%23if.*def.*%5B%5E_%5D$%20AND%20path:%5C.h%20AND%20path:%5Ethird_party%2Fwebrtc&ss=chromium
if CONFIG['MOZ_WEBRTC']:
DEFINES['HAVE_UINT64_T'] = True
DEFINES['WEBRTC_MOZILLA_BUILD'] = True
DEFINES['RTC_ENABLE_VP9'] = True
if CONFIG["MOZ_WEBRTC"]:
DEFINES["HAVE_UINT64_T"] = True
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["RTC_ENABLE_VP9"] = True
if CONFIG['OS_TARGET'] != 'WINNT':
DEFINES['WEBRTC_POSIX'] = True
DEFINES['WEBRTC_BUILD_LIBEVENT'] = True
if CONFIG["OS_TARGET"] != "WINNT":
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
if CONFIG['OS_TARGET'] == 'Linux':
DEFINES['WEBRTC_LINUX'] = True
if CONFIG['CPU_ARCH'] == 'x86' or CONFIG['CPU_ARCH'] == 'x86_64' or \
CONFIG['CPU_ARCH'] == 'arm' or CONFIG['CPU_ARCH'] == 'aarch64' or \
(CONFIG['TARGET_ENDIANNESS'] == 'little' and CONFIG['CPU_ARCH'].startswith('mips')):
DEFINES['WEBRTC_USE_PIPEWIRE'] = True
elif CONFIG['OS_TARGET'] == 'Darwin':
DEFINES['WEBRTC_MAC'] = True
elif CONFIG['OS_TARGET'] == 'WINNT':
DEFINES['WEBRTC_WIN'] = True
DEFINES['RTC_ENABLE_WIN_WGC'] = True
DEFINES['HAVE_WINSOCK2_H'] = True
elif CONFIG['OS_TARGET'] in ('DragonFly', 'FreeBSD', 'NetBSD', 'OpenBSD'):
DEFINES['WEBRTC_BSD'] = True
elif CONFIG['OS_TARGET'] == 'Android':
DEFINES['WEBRTC_LINUX'] = True
DEFINES['WEBRTC_ANDROID'] = True
if CONFIG['MOZ_X11']:
DEFINES['WEBRTC_USE_X11'] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
if (
CONFIG["CPU_ARCH"] == "x86"
or CONFIG["CPU_ARCH"] == "x86_64"
or CONFIG["CPU_ARCH"] == "arm"
or CONFIG["CPU_ARCH"] == "aarch64"
or (
CONFIG["TARGET_ENDIANNESS"] == "little"
and CONFIG["CPU_ARCH"].startswith("mips")
)
):
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
elif CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_MAC"] = True
elif CONFIG["OS_TARGET"] == "WINNT":
DEFINES["WEBRTC_WIN"] = True
DEFINES["RTC_ENABLE_WIN_WGC"] = True
DEFINES["HAVE_WINSOCK2_H"] = True
elif CONFIG["OS_TARGET"] in ("DragonFly", "FreeBSD", "NetBSD", "OpenBSD"):
DEFINES["WEBRTC_BSD"] = True
elif CONFIG["OS_TARGET"] == "Android":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_ANDROID"] = True
if CONFIG["MOZ_X11"]:
DEFINES["WEBRTC_USE_X11"] = True

Просмотреть файл

@ -4,6 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@template
def HunspellIncludes():
ForceInclude('hunspell_alloc_hooks.h')
ForceInclude("hunspell_alloc_hooks.h")

Просмотреть файл

@ -5,24 +5,24 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
LOCAL_INCLUDES += [
'!/ipc/ipdl/_ipdlheaders',
'/ipc/chromium/src',
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
]
if CONFIG['OS_ARCH'] == 'WINNT':
if CONFIG["OS_ARCH"] == "WINNT":
OS_LIBS += [
'shell32',
'dbghelp',
"shell32",
"dbghelp",
]
DEFINES['UNICODE'] = True
DEFINES['_UNICODE'] = True
DEFINES['_CRT_RAND_S'] = True
DEFINES['CERT_CHAIN_PARA_HAS_EXTRA_FIELDS'] = True
DEFINES['_SECURE_ATL'] = True
DEFINES['CHROMIUM_BUILD'] = True
DEFINES['U_STATIC_IMPLEMENTATION'] = True
DEFINES['WIN32'] = True
DEFINES['_WIN32'] = True
DEFINES['_WINDOWS'] = True
DEFINES['WIN32_LEAN_AND_MEAN'] = True
DEFINES["UNICODE"] = True
DEFINES["_UNICODE"] = True
DEFINES["_CRT_RAND_S"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["U_STATIC_IMPLEMENTATION"] = True
DEFINES["WIN32"] = True
DEFINES["_WIN32"] = True
DEFINES["_WINDOWS"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True

Просмотреть файл

@ -4,41 +4,40 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
if CONFIG['COMPILE_ENVIRONMENT']:
if CONFIG["COMPILE_ENVIRONMENT"]:
DIRS += [
'/js/src',
"/js/src",
]
else:
TEST_DIRS += [
'/js/src/tests',
"/js/src/tests",
]
if CONFIG['JS_STANDALONE'] and CONFIG['OS_ARCH'] != 'WINNT':
if CONFIG["JS_STANDALONE"] and CONFIG["OS_ARCH"] != "WINNT":
DIRS += [
'/build/unix',
"/build/unix",
]
DIRS += [
'/config/external/fdlibm',
'/config/external/nspr',
'/config/external/zlib',
'/memory',
'/mfbt',
'/mozglue',
"/config/external/fdlibm",
"/config/external/nspr",
"/config/external/zlib",
"/memory",
"/mfbt",
"/mozglue",
]
if CONFIG['JS_HAS_INTL_API']:
if CONFIG["JS_HAS_INTL_API"]:
DIRS += [
'/config/external/icu',
"/config/external/icu",
]
if CONFIG['COMPILE_ENVIRONMENT'] and CONFIG['BUILD_CTYPES']:
if CONFIG["COMPILE_ENVIRONMENT"] and CONFIG["BUILD_CTYPES"]:
DIRS += [
'/config/external/ffi',
"/config/external/ffi",
]
if CONFIG['JS_STANDALONE'] and CONFIG['FUZZING']:
if CONFIG["JS_STANDALONE"] and CONFIG["FUZZING"]:
DIRS += [
'/tools/fuzzing/',
"/tools/fuzzing/",
]

Просмотреть файл

@ -6,17 +6,21 @@
# Some huge-mapping optimization instead of bounds checks on supported
# platforms.
if CONFIG['JS_CODEGEN_X64'] or CONFIG['JS_CODEGEN_ARM64'] or CONFIG['JS_CODEGEN_RISCV64']:
DEFINES['WASM_SUPPORTS_HUGE_MEMORY'] = True
if (
CONFIG["JS_CODEGEN_X64"]
or CONFIG["JS_CODEGEN_ARM64"]
or CONFIG["JS_CODEGEN_RISCV64"]
):
DEFINES["WASM_SUPPORTS_HUGE_MEMORY"] = True
# Enables CACHEIR_LOGS to diagnose IC coverage, and
# Structured spewer for diagnostics
if CONFIG['MOZ_DEBUG'] or CONFIG['NIGHTLY_BUILD']:
DEFINES['JS_CACHEIR_SPEW'] = True
DEFINES['JS_STRUCTURED_SPEW'] = True
if CONFIG["MOZ_DEBUG"] or CONFIG["NIGHTLY_BUILD"]:
DEFINES["JS_CACHEIR_SPEW"] = True
DEFINES["JS_STRUCTURED_SPEW"] = True
# CTypes
if CONFIG['JS_HAS_CTYPES']:
DEFINES['JS_HAS_CTYPES'] = True
if not CONFIG['MOZ_SYSTEM_FFI']:
DEFINES['FFI_BUILDING'] = True
if CONFIG["JS_HAS_CTYPES"]:
DEFINES["JS_HAS_CTYPES"] = True
if not CONFIG["MOZ_SYSTEM_FFI"]:
DEFINES["FFI_BUILDING"] = True

Просмотреть файл

@ -5,14 +5,14 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# ICU pkg-config flags
CXXFLAGS += CONFIG['MOZ_ICU_CFLAGS']
CXXFLAGS += CONFIG["MOZ_ICU_CFLAGS"]
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
if CONFIG["CC_TYPE"] in ("clang", "gcc"):
# Error on bad printf-like format strings
CXXFLAGS += ['-Werror=format']
CXXFLAGS += ["-Werror=format"]
# gcc is buggy and warns on our attempts to JS_PUBLIC_API our
# forward-declarations or explicit template instantiations. See
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
if CONFIG['CC_TYPE'] == 'gcc':
CXXFLAGS += ['-Wno-attributes']
if CONFIG["CC_TYPE"] == "gcc":
CXXFLAGS += ["-Wno-attributes"]

Просмотреть файл

@ -8,8 +8,8 @@
# Gecko build performs equivalents elsewhere in its configuration.
USE_LIBS += [
'jsrust',
'zlib',
"jsrust",
"zlib",
]
if CONFIG["OS_ARCH"] == "WINNT":

Просмотреть файл

@ -6,13 +6,13 @@
# Indirectly necessary for chromium's lock.h, included from LogAlloc.cpp
EXPORTS.mozilla += [
'/mozglue/misc/Printf.h',
'/xpcom/base/Logging.h',
"/mozglue/misc/Printf.h",
"/xpcom/base/Logging.h",
]
DIRS += [
'/memory',
'/mfbt',
"/memory",
"/mfbt",
]
EXPORTS.mozilla += [
@ -24,4 +24,4 @@ if CONFIG["OS_ARCH"] == "WINNT":
EXPORTS.mozilla += [
"/mozglue/misc/StackWalk_windows.h",
"/mozglue/misc/StackWalkThread.h",
]
]

Просмотреть файл

@ -3,9 +3,9 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include('/toolkit/toolkit.mozbuild')
include("/toolkit/toolkit.mozbuild")
DIRS += [
'/%s' % CONFIG['MOZ_BRANDING_DIRECTORY'],
'/mobile/android',
"/%s" % CONFIG["MOZ_BRANDING_DIRECTORY"],
"/mobile/android",
]

Просмотреть файл

@ -2,5 +2,5 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
if CONFIG['OS_TARGET'] == 'Darwin' and CONFIG['MOZ_REPLACE_MALLOC']:
LDFLAGS += ['-Wl,-U,_replace_init']
if CONFIG["OS_TARGET"] == "Darwin" and CONFIG["MOZ_REPLACE_MALLOC"]:
LDFLAGS += ["-Wl,-U,_replace_init"]

Просмотреть файл

@ -1,23 +1,26 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
@template
def Library(name):
LIBRARY_NAME = name
@template
def SharedLibrary(name):
FORCE_SHARED_LIB = True
LIBRARY_NAME = name
@template
def Binary():
# Add -lfoo for testing purposes.
OS_LIBS += ['foo']
OS_LIBS += ["foo"]
@template
def Program(name):
PROGRAM = name
Binary()
Binary()

Просмотреть файл

@ -3,19 +3,23 @@ def Template(foo, bar=[]):
SOURCES += foo
DIRS += bar
@template
def TemplateError(foo):
ILLEGAL = foo
@template
def TemplateGlobalVariable():
SOURCES += illegal
@template
def TemplateGlobalUPPERVariable():
SOURCES += DIRS
@template
def TemplateInherit(foo):
USE_LIBS += ['foo']
USE_LIBS += ["foo"]
Template(foo)

Просмотреть файл

@ -4,6 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@template
def RLBoxLibrary(name):
WASM_SOURCES += [

Просмотреть файл

@ -6,5 +6,5 @@
# test, because of the requirement of the top-level directory containing
# config/*.mk.
DIRS += [
'python/mozbuild/mozbuild/test/backend/data/build',
"python/mozbuild/mozbuild/test/backend/data/build",
]

Просмотреть файл

@ -4,5 +4,4 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEFINES['TELEMETRY_PING_FORMAT_VERSION'] = 4
DEFINES["TELEMETRY_PING_FORMAT_VERSION"] = 4

Просмотреть файл

@ -5,30 +5,30 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
LOCAL_INCLUDES += [
'/toolkit/crashreporter/breakpad-client',
'/toolkit/crashreporter/google-breakpad/src',
"/toolkit/crashreporter/breakpad-client",
"/toolkit/crashreporter/google-breakpad/src",
]
# Suppress warnings in third-party code.
if CONFIG['CC_TYPE'] == 'clang-cl':
if CONFIG["CC_TYPE"] == "clang-cl":
CXXFLAGS += [
'-Wno-macro-redefined',
"-Wno-macro-redefined",
]
elif CONFIG['CC_TYPE'] in ('clang', 'gcc'):
elif CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += [
'-Wno-unused-local-typedefs',
'-Wno-deprecated-declarations',
'-Wno-bool-compare',
'-Wno-unused-but-set-variable',
"-Wno-unused-local-typedefs",
"-Wno-deprecated-declarations",
"-Wno-bool-compare",
"-Wno-unused-but-set-variable",
]
if CONFIG['CC_TYPE'] in ('clang', 'clang-cl'):
CXXFLAGS += [
'-Wno-c++11-narrowing',
]
if CONFIG["CC_TYPE"] in ("clang", "clang-cl"):
CXXFLAGS += [
"-Wno-c++11-narrowing",
]
CXXFLAGS += [
'-Wno-implicit-fallthrough',
"-Wno-implicit-fallthrough",
]
DEFINES['NO_STABS_SUPPORT'] = True
DEFINES["NO_STABS_SUPPORT"] = True

Просмотреть файл

@ -6,81 +6,85 @@
gkrust_features = []
if CONFIG['MOZ_DEBUG']:
if CONFIG["MOZ_DEBUG"]:
gkrust_features += [
'gecko_debug',
'gecko_refcount_logging',
"gecko_debug",
"gecko_refcount_logging",
]
if CONFIG['MOZ_TSAN']:
gkrust_features += ['thread_sanitizer']
if CONFIG["MOZ_TSAN"]:
gkrust_features += ["thread_sanitizer"]
if CONFIG['MOZ_WEBRENDER_DEBUGGER']:
gkrust_features += ['webrender_debugger']
if CONFIG["MOZ_WEBRENDER_DEBUGGER"]:
gkrust_features += ["webrender_debugger"]
if CONFIG['MOZ_PULSEAUDIO']:
gkrust_features += ['cubeb_pulse_rust']
if CONFIG["MOZ_PULSEAUDIO"]:
gkrust_features += ["cubeb_pulse_rust"]
if CONFIG['MOZ_AUDIOUNIT_RUST']:
gkrust_features += ['cubeb_coreaudio_rust']
if CONFIG["MOZ_AUDIOUNIT_RUST"]:
gkrust_features += ["cubeb_coreaudio_rust"]
if CONFIG['MOZ_RUST_SIMD']:
gkrust_features += ['simd-accel']
if CONFIG["MOZ_RUST_SIMD"]:
gkrust_features += ["simd-accel"]
# This feature is not yet supported on all platforms, and this check needs to
# match MOZ_CUBEB_REMOTING in CubebUtils.cpp.
if CONFIG['OS_ARCH'] == 'Linux' or CONFIG['OS_ARCH'] == 'Darwin' or CONFIG['OS_ARCH'] == 'WINNT':
gkrust_features += ['cubeb-remoting']
if (
CONFIG["OS_ARCH"] == "Linux"
or CONFIG["OS_ARCH"] == "Darwin"
or CONFIG["OS_ARCH"] == "WINNT"
):
gkrust_features += ["cubeb-remoting"]
if CONFIG['MOZ_MEMORY']:
gkrust_features += ['moz_memory']
if CONFIG["MOZ_MEMORY"]:
gkrust_features += ["moz_memory"]
if CONFIG['MOZ_PLACES']:
gkrust_features += ['moz_places']
if CONFIG["MOZ_PLACES"]:
gkrust_features += ["moz_places"]
if CONFIG['JS_ENABLE_SMOOSH']:
gkrust_features += ['smoosh']
if CONFIG["JS_ENABLE_SMOOSH"]:
gkrust_features += ["smoosh"]
if CONFIG['MOZ_GECKO_PROFILER']:
gkrust_features += ['gecko_profiler']
if CONFIG["MOZ_GECKO_PROFILER"]:
gkrust_features += ["gecko_profiler"]
if CONFIG['MOZ_GECKO_PROFILER_PARSE_ELF']:
gkrust_features += ['gecko_profiler_parse_elf']
if CONFIG["MOZ_GECKO_PROFILER_PARSE_ELF"]:
gkrust_features += ["gecko_profiler_parse_elf"]
if CONFIG['MOZ_BITS_DOWNLOAD']:
gkrust_features += ['bitsdownload']
if CONFIG["MOZ_BITS_DOWNLOAD"]:
gkrust_features += ["bitsdownload"]
if CONFIG['LIBFUZZER']:
gkrust_features += ['libfuzzer']
if CONFIG["LIBFUZZER"]:
gkrust_features += ["libfuzzer"]
if CONFIG['MOZ_WEBRTC']:
gkrust_features += ['webrtc']
if CONFIG["MOZ_WEBRTC"]:
gkrust_features += ["webrtc"]
# We need to tell Glean it is being built with Gecko.
gkrust_features += ['glean_with_gecko']
gkrust_features += ["glean_with_gecko"]
if not CONFIG['MOZILLA_OFFICIAL']:
gkrust_features += ['glean_disable_upload']
if not CONFIG["MOZILLA_OFFICIAL"]:
gkrust_features += ["glean_disable_upload"]
if CONFIG['OS_TARGET'] != 'Android':
gkrust_features += ['glean_million_queue']
if CONFIG["OS_TARGET"] != "Android":
gkrust_features += ["glean_million_queue"]
if CONFIG['MOZ_ENABLE_DBUS']:
gkrust_features += ['with_dbus']
if CONFIG["MOZ_ENABLE_DBUS"]:
gkrust_features += ["with_dbus"]
if CONFIG["MOZ_CRASHREPORTER"]:
gkrust_features += ['crashreporter']
if CONFIG['MOZ_OXIDIZED_BREAKPAD']:
gkrust_features += ['oxidized_breakpad']
gkrust_features += ["crashreporter"]
if CONFIG["MOZ_OXIDIZED_BREAKPAD"]:
gkrust_features += ["oxidized_breakpad"]
if CONFIG["MOZ_WEBMIDI_MIDIR_IMPL"]:
gkrust_features += ['webmidi_midir_impl']
gkrust_features += ["webmidi_midir_impl"]
if CONFIG["MOZ_UNIFFI_FIXTURES"]:
gkrust_features += ['uniffi_fixtures']
gkrust_features += ["uniffi_fixtures"]
if CONFIG["MOZ_ICU4X"]:
gkrust_features += ['icu4x']
gkrust_features += ["icu4x"]
# This must remain last.
gkrust_features = ["gkrust-shared/%s" % f for f in gkrust_features]

Просмотреть файл

@ -4,188 +4,191 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include('/js/app.mozbuild')
include("/js/app.mozbuild")
PYTHON_UNITTEST_MANIFESTS += [
'/layout/tools/reftest/selftest/python.ini',
'/testing/condprofile/condprof/tests/python.ini',
'/testing/marionette/harness/marionette_harness/tests/harness_unit/python.ini',
'/testing/mochitest/tests/python/python.ini',
'/testing/raptor/test/python.ini',
'/testing/talos/talos/unittests/python.ini'
"/layout/tools/reftest/selftest/python.ini",
"/testing/condprofile/condprof/tests/python.ini",
"/testing/marionette/harness/marionette_harness/tests/harness_unit/python.ini",
"/testing/mochitest/tests/python/python.ini",
"/testing/raptor/test/python.ini",
"/testing/talos/talos/unittests/python.ini",
]
DIRS += [
'/tools',
'/xpcom/xpidl',
"/tools",
"/xpcom/xpidl",
]
if CONFIG['COMPILE_ENVIRONMENT']:
if CONFIG["COMPILE_ENVIRONMENT"]:
DIRS += [
'/config/external',
'/security',
"/config/external",
"/security",
]
if CONFIG['ENABLE_TESTS']:
if CONFIG["ENABLE_TESTS"]:
DIRS += [
'/toolkit/library/gtest/rust',
"/toolkit/library/gtest/rust",
]
if not CONFIG['MOZ_OVERRIDE_GKRUST']:
if not CONFIG["MOZ_OVERRIDE_GKRUST"]:
DIRS += [
'/toolkit/library/rust',
"/toolkit/library/rust",
]
if CONFIG['MOZ_SANDBOX']:
DIRS += ['/security/sandbox']
if CONFIG["MOZ_SANDBOX"]:
DIRS += ["/security/sandbox"]
if CONFIG["MOZ_USING_WASM_SANDBOXING"] and CONFIG["COMPILE_ENVIRONMENT"]:
DIRS += ["/security/rlbox"]
# the signing related bits of libmar depend on nss
if CONFIG['MOZ_UPDATER']:
DIRS += ['/modules/libmar']
if CONFIG["MOZ_UPDATER"]:
DIRS += ["/modules/libmar"]
DIRS += [
'/config/external/freetype2',
'/xpcom',
'/modules/libpref',
'/intl',
'/netwerk',
"/config/external/freetype2",
"/xpcom",
"/modules/libpref",
"/intl",
"/netwerk",
]
if CONFIG['MOZ_AUTH_EXTENSION']:
DIRS += ['/extensions/auth']
if CONFIG["MOZ_AUTH_EXTENSION"]:
DIRS += ["/extensions/auth"]
if CONFIG['MOZ_UPDATER'] and CONFIG['OS_TARGET'] != 'Android':
if CONFIG["MOZ_UPDATER"] and CONFIG["OS_TARGET"] != "Android":
DIRS += [
'/toolkit/mozapps/update/updater/bspatch',
'/other-licenses/bsdiff',
"/toolkit/mozapps/update/updater/bspatch",
"/other-licenses/bsdiff",
]
# Gecko/Core components.
DIRS += [
'/ipc',
'/hal',
'/js/loader',
'/js/xpconnect',
'/modules/libjar',
'/storage',
"/ipc",
"/hal",
"/js/loader",
"/js/xpconnect",
"/modules/libjar",
"/storage",
]
if CONFIG['COMPILE_ENVIRONMENT']:
if CONFIG["COMPILE_ENVIRONMENT"]:
DIRS += [
'/media/libyuv',
"/media/libyuv",
]
DIRS += [
'/extensions/permissions',
"/extensions/permissions",
]
if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
if CONFIG["MOZ_WEBRTC"] and CONFIG["COMPILE_ENVIRONMENT"]:
DIRS += [
'/media/webrtc',
'/dom/media/webrtc/transport',
"/media/webrtc",
"/dom/media/webrtc/transport",
]
if CONFIG['ENABLE_TESTS']:
DIRS += ['/testing/specialpowers']
if CONFIG["ENABLE_TESTS"]:
DIRS += ["/testing/specialpowers"]
DIRS += [
'/testing/gtest',
'/uriloader',
'/caps',
'/parser',
'/gfx',
'/image',
'/dom',
'/view',
'/widget',
'/editor',
'/layout',
'/docshell',
'/xpfe/appshell'
"/testing/gtest",
"/uriloader",
"/caps",
"/parser",
"/gfx",
"/image",
"/dom",
"/view",
"/widget",
"/editor",
"/layout",
"/docshell",
"/xpfe/appshell",
]
if CONFIG['MOZ_UNIVERSALCHARDET']:
DIRS += ['/extensions/universalchardet']
if CONFIG["MOZ_UNIVERSALCHARDET"]:
DIRS += ["/extensions/universalchardet"]
if CONFIG['ACCESSIBILITY']:
DIRS += ['/accessible']
if CONFIG["ACCESSIBILITY"]:
DIRS += ["/accessible"]
else:
DIRS += ['/accessible/ipc']
DIRS += ["/accessible/ipc"]
# toolkit
# This must precede xpfe.
if CONFIG['MOZ_JPROF']:
DIRS += ['/tools/jprof']
if CONFIG["MOZ_JPROF"]:
DIRS += ["/tools/jprof"]
DIRS += [
'/tools/code-coverage',
'/tools/performance',
'/tools/power',
'/tools/profiler',
'/extensions/spellcheck',
'/security/certverifier',
'/security/manager',
'/toolkit',
"/tools/code-coverage",
"/tools/performance",
"/tools/power",
"/tools/profiler",
"/extensions/spellcheck",
"/security/certverifier",
"/security/manager",
"/toolkit",
]
if CONFIG['MOZ_PREF_EXTENSIONS']:
DIRS += ['/extensions/pref']
if CONFIG["MOZ_PREF_EXTENSIONS"]:
DIRS += ["/extensions/pref"]
DIRS += [
'/devtools',
'/toolkit/library',
'/services',
'/startupcache',
'/other-licenses/snappy',
"/devtools",
"/toolkit/library",
"/services",
"/startupcache",
"/other-licenses/snappy",
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
DIRS += [
'/media/mozva',
'/toolkit/system/gnome',
"/media/mozva",
"/toolkit/system/gnome",
]
if CONFIG['ENABLE_WEBDRIVER']:
if CONFIG["ENABLE_WEBDRIVER"]:
DIRS += [
'/remote',
'/testing/firefox-ui',
'/testing/marionette',
'/toolkit/components/telemetry/tests/marionette',
"/remote",
"/testing/firefox-ui",
"/testing/marionette",
"/toolkit/components/telemetry/tests/marionette",
]
if CONFIG['MOZ_GECKODRIVER'] and not CONFIG['MOZ_TSAN'] and not CONFIG['FUZZING_INTERFACES']:
DIRS += ['/testing/geckodriver']
if (
CONFIG["MOZ_GECKODRIVER"]
and not CONFIG["MOZ_TSAN"]
and not CONFIG["FUZZING_INTERFACES"]
):
DIRS += ["/testing/geckodriver"]
DIRS += [
'/media/gmp-clearkey/0.1',
"/media/gmp-clearkey/0.1",
]
if CONFIG['ENABLE_TESTS']:
if CONFIG["ENABLE_TESTS"]:
DIRS += [
'/testing/mochitest',
'/testing/xpcshell',
'/testing/tools/minidumpwriter',
'/testing/tools/screenshot',
'/testing/profiles',
'/testing/modules',
'/testing/runtimes',
'/testing/web-platform',
'/testing/extensions',
"/testing/mochitest",
"/testing/xpcshell",
"/testing/tools/minidumpwriter",
"/testing/tools/screenshot",
"/testing/profiles",
"/testing/modules",
"/testing/runtimes",
"/testing/web-platform",
"/testing/extensions",
]
if CONFIG['MOZ_MEMORY']:
DIRS += ['/memory/gtest']
if CONFIG["MOZ_MEMORY"]:
DIRS += ["/memory/gtest"]
if CONFIG['MOZ_WEBRTC']:
if CONFIG["MOZ_WEBRTC"]:
DIRS += [
'/dom/media/webrtc/transport/test',
"/dom/media/webrtc/transport/test",
]
if CONFIG['FUZZING']:
DIRS += ['/tools/fuzzing']
if CONFIG["FUZZING"]:
DIRS += ["/tools/fuzzing"]

Просмотреть файл

@ -3,12 +3,12 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIRS += [
'/toolkit/crashreporter/google-breakpad/src/common',
'/toolkit/crashreporter/google-breakpad/src/processor',
'/tools/crashreporter/injector',
"/toolkit/crashreporter/google-breakpad/src/common",
"/toolkit/crashreporter/google-breakpad/src/processor",
"/tools/crashreporter/injector",
]
if CONFIG['OS_TARGET'] in ('Linux', 'Android'):
DIRS += [
'/toolkit/crashreporter/google-breakpad/src/common/linux',
]
if CONFIG["OS_TARGET"] in ("Linux", "Android"):
DIRS += [
"/toolkit/crashreporter/google-breakpad/src/common/linux",
]

Просмотреть файл

@ -4,10 +4,10 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include('libfuzzer-flags.mozbuild')
include("libfuzzer-flags.mozbuild")
if CONFIG['FUZZING']:
if CONFIG['LIBFUZZER']:
if CONFIG["FUZZING"]:
if CONFIG["LIBFUZZER"]:
# Add trace-pc coverage for libfuzzer
CFLAGS += libfuzzer_flags
CXXFLAGS += libfuzzer_flags

Просмотреть файл

@ -6,6 +6,5 @@
libfuzzer_flags = []
if CONFIG['LIBFUZZER_FLAGS']:
libfuzzer_flags += CONFIG['LIBFUZZER_FLAGS']
if CONFIG["LIBFUZZER_FLAGS"]:
libfuzzer_flags += CONFIG["LIBFUZZER_FLAGS"]

Просмотреть файл

@ -2,4 +2,4 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include('/toolkit/toolkit.mozbuild')
include("/toolkit/toolkit.mozbuild")

Просмотреть файл

@ -3,7 +3,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIRS += [
'/modules/libmar/src',
'/modules/libmar/tool',
'/other-licenses/bsdiff',
"/modules/libmar/src",
"/modules/libmar/tool",
"/other-licenses/bsdiff",
]

Просмотреть файл

@ -2,60 +2,60 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
if CONFIG['MOZ_MAINTENANCE_SERVICE'] or \
CONFIG['MOZ_UPDATE_AGENT'] or \
CONFIG['MOZ_UPDATER']:
if (
CONFIG["MOZ_MAINTENANCE_SERVICE"]
or CONFIG["MOZ_UPDATE_AGENT"]
or CONFIG["MOZ_UPDATER"]
):
DIRS += [
'/toolkit/mozapps/update/common',
"/toolkit/mozapps/update/common",
]
if CONFIG['MOZ_DEFAULT_BROWSER_AGENT']:
if CONFIG["MOZ_DEFAULT_BROWSER_AGENT"]:
DIRS += [
'/toolkit/components/jsoncpp/src/lib_json',
'/toolkit/mozapps/defaultagent',
"/toolkit/components/jsoncpp/src/lib_json",
"/toolkit/mozapps/defaultagent",
]
if CONFIG['MOZ_MAINTENANCE_SERVICE']:
DIRS += [
'/toolkit/components/maintenanceservice'
]
if CONFIG["MOZ_MAINTENANCE_SERVICE"]:
DIRS += ["/toolkit/components/maintenanceservice"]
if CONFIG['MOZ_UPDATER']:
if CONFIG["MOZ_UPDATER"]:
# NSS (and NSPR).
DIRS += [
'/modules/xz-embedded',
'/config/external/nspr',
'/config/external/sqlite',
'/config/external/zlib',
'/memory',
'/mfbt',
'/mozglue',
'/security',
"/modules/xz-embedded",
"/config/external/nspr",
"/config/external/sqlite",
"/config/external/zlib",
"/memory",
"/mfbt",
"/mozglue",
"/security",
]
# The signing related bits of libmar depend on NSS.
DIRS += [
'/modules/libmar',
'/other-licenses/bsdiff',
'/toolkit/mozapps/update/updater/bspatch',
'/toolkit/mozapps/update/updater',
"/modules/libmar",
"/other-licenses/bsdiff",
"/toolkit/mozapps/update/updater/bspatch",
"/toolkit/mozapps/update/updater",
]
# Expose specific non-XPCOM headers when building standalone.
if not CONFIG['MOZ_UPDATER']:
if not CONFIG["MOZ_UPDATER"]:
# When building the updater, we build /mozglue, which includes this.
EXPORTS.mozilla += [
'/mozglue/misc/DynamicallyLinkedFunctionPtr.h',
"/mozglue/misc/DynamicallyLinkedFunctionPtr.h",
]
EXPORTS.mozilla += [
'/toolkit/xre/CmdLineAndEnvUtils.h',
'/widget/windows/WinHeaderOnlyUtils.h',
"/toolkit/xre/CmdLineAndEnvUtils.h",
"/widget/windows/WinHeaderOnlyUtils.h",
]
EXPORTS += [
'/xpcom/base/nsAutoRef.h',
'/xpcom/base/nsWindowsHelpers.h',
'/xpcom/string/nsCharTraits.h',
'/xpcom/string/nsUTF8Utils.h',
"/xpcom/base/nsAutoRef.h",
"/xpcom/base/nsWindowsHelpers.h",
"/xpcom/string/nsCharTraits.h",
"/xpcom/string/nsUTF8Utils.h",
]

Просмотреть файл

@ -5,18 +5,13 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
xpcom_glue_src_lcppsrcs = [
'FileUtils.cpp',
'MemUtils.cpp',
'XREAppData.cpp',
"FileUtils.cpp",
"MemUtils.cpp",
"XREAppData.cpp",
]
xpcom_glue_src_cppsrcs = [
'/xpcom/glue/%s' % s for s in xpcom_glue_src_lcppsrcs
]
xpcom_glue_src_cppsrcs = ["/xpcom/glue/%s" % s for s in xpcom_glue_src_lcppsrcs]
xpcom_gluens_src_lcppsrcs = [
]
xpcom_gluens_src_lcppsrcs = []
xpcom_gluens_src_cppsrcs = [
'/xpcom/glue/%s' % s for s in xpcom_gluens_src_lcppsrcs
]
xpcom_gluens_src_cppsrcs = ["/xpcom/glue/%s" % s for s in xpcom_gluens_src_lcppsrcs]