diff --git a/browser/app.mozbuild b/browser/app.mozbuild index 91178ef16ce26..de76264ac8a87 100644 --- a/browser/app.mozbuild +++ b/browser/app.mozbuild @@ -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"] diff --git a/browser/branding/branding-common.mozbuild b/browser/branding/branding-common.mozbuild index 4e737310b37bc..a38663a3dc1eb 100644 --- a/browser/branding/branding-common.mozbuild +++ b/browser/branding/branding-common.mozbuild @@ -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", ] diff --git a/build/clang-plugin/alpha/sources.mozbuild b/build/clang-plugin/alpha/sources.mozbuild index 616078639f455..03ed90d3c1ba9 100644 --- a/build/clang-plugin/alpha/sources.mozbuild +++ b/build/clang-plugin/alpha/sources.mozbuild @@ -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", ] diff --git a/build/clang-plugin/alpha/tests/sources.mozbuild b/build/clang-plugin/alpha/tests/sources.mozbuild index b72cacd253492..6268746232475 100644 --- a/build/clang-plugin/alpha/tests/sources.mozbuild +++ b/build/clang-plugin/alpha/tests/sources.mozbuild @@ -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", ] diff --git a/build/gecko_templates.mozbuild b/build/gecko_templates.mozbuild index 51aae5b8703d1..e4c781ce04c57 100644 --- a/build/gecko_templates.mozbuild +++ b/build/gecko_templates.mozbuild @@ -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) diff --git a/build/gyp.mozbuild b/build/gyp.mozbuild index 5316582069fbf..4337ac473b21c 100644 --- a/build/gyp.mozbuild +++ b/build/gyp.mozbuild @@ -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" diff --git a/build/gyp_base.mozbuild b/build/gyp_base.mozbuild index 6752597ce669b..5877b9c6f5e59 100644 --- a/build/gyp_base.mozbuild +++ b/build/gyp_base.mozbuild @@ -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"]) diff --git a/build/templates.mozbuild b/build/templates.mozbuild index 8bf5a8bbc0937..811b96bb7e6f3 100644 --- a/build/templates.mozbuild +++ b/build/templates.mozbuild @@ -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") diff --git a/config/external/icu/common/sources.mozbuild b/config/external/icu/common/sources.mozbuild index 5ffd366683438..a8ac190241155 100644 --- a/config/external/icu/common/sources.mozbuild +++ b/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", ] diff --git a/config/external/icu/defs.mozbuild b/config/external/icu/defs.mozbuild index 3123ba354f6de..d6d75358ef398 100644 --- a/config/external/icu/defs.mozbuild +++ b/config/external/icu/defs.mozbuild @@ -7,69 +7,69 @@ # Also see 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 diff --git a/config/external/icu/i18n/sources.mozbuild b/config/external/icu/i18n/sources.mozbuild index bd75e5383c8fe..b985d9be73d26 100644 --- a/config/external/icu/i18n/sources.mozbuild +++ b/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", ] diff --git a/config/external/icu/icupkg/sources.mozbuild b/config/external/icu/icupkg/sources.mozbuild index 42bb0447bf04f..8040087ccd2eb 100644 --- a/config/external/icu/icupkg/sources.mozbuild +++ b/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", ] diff --git a/config/external/icu/toolutil/sources.mozbuild b/config/external/icu/toolutil/sources.mozbuild index 7810475ec8377..1230133e27540 100644 --- a/config/external/icu/toolutil/sources.mozbuild +++ b/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", ] diff --git a/config/stl-headers.mozbuild b/config/stl-headers.mozbuild index fe764f8bd3501..ffa8a8cc321e7 100644 --- a/config/stl-headers.mozbuild +++ b/config/stl-headers.mozbuild @@ -16,46 +16,45 @@ # file a Core:XPCOM bug with a title like "STL: Review exception # safety of 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", ] diff --git a/config/system-headers.mozbuild b/config/system-headers.mozbuild index a40e7bf7f87f9..60743a8d86867 100644 --- a/config/system-headers.mozbuild +++ b/config/system-headers.mozbuild @@ -5,1366 +5,1366 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. system_headers = [ - 'A4Stuff.h', - 'activscp.h', - 'AEDataModel.h', - 'AEObjects.h', - 'AEPackObject.h', - 'AERegistry.h', - 'AEUtils.h', - 'afxcmn.h', - 'afxcoll.h', - 'afxcview.h', - 'afxdisp.h', - 'afxdtctl.h', - 'afxext.h', - 'afxmt.h', - 'afxpriv.h', - 'afxtempl.h', - 'afxwin.h', - 'Aliases.h', - 'all.h', - 'alloca.h', - 'alloc.h', - 'alsa/asoundlib.h', - 'ansi_parms.h', - 'a.out.h', - 'app/Cursor.h', - 'Appearance.h', - 'AppFileInfo.h', - 'AppKit.h', - 'AppleEvents.h', - 'Application.h', - 'app/Message.h', - 'app/MessageRunner.h', - 'arpa/inet.h', - 'arpa/nameser.h', - 'array', - 'asm/page.h', - 'asm/sigcontext.h', - 'asm/signal.h', - 'ASRegistry.h', - 'assert.h', - 'atk/atk.h', - 'atlcom.h', - 'atlconv.h', - 'atlctl.cpp', - 'atlctl.h', - 'ATLCTL.H', - 'atlhost.h', - 'atlimpl.cpp', - 'atlwin.cpp', - 'atomic.h', - 'ATSTypes.h', - 'ATSUnicode.h', - 'Balloons.h', - 'base64.h', - 'base/pblock.h', - 'base/PCR_Base.h', - 'base/session.h', - 'basetyps.h', - 'be/app/Application.h', - 'Beep.h', - 'be/kernel/image.h', - 'be/kernel/OS.h', - 'bfd.h', - 'Bitmap.h', - 'bitset', - 'blapi.h', - 'blapit.h', - 'bsd/libc.h', - 'bsd/syscall.h', - 'bstring.h', - 'builtin.h', - 'Button.h', - 'byteswap.h', - 'cairo-atsui.h', - 'cairo-beos.h', - 'cairo-directfb.h', - 'cairo-ft.h', - 'cairo-glitz.h', - 'cairo-gobject.h', - 'cairo.h', - 'cairo-pdf.h', - 'cairo-ps.h', - 'cairo-qpainter.h', - 'cairo-qt.h', - 'cairo-quartz.h', - 'cairo-tee.h', - 'cairo-win32.h', - 'cairo-xlib.h', - 'cairo-xlib-xrender.h', - 'callconv.h', - 'Carbon/Carbon.h', - 'CarbonEvents.h', - 'Carbon.h', - 'c_asm.h', - 'cctype', - 'cderr.h', - 'cerrno', - 'certdb.h', - 'cert.h', - 'certt.h', - 'CFBase.h', - 'CFBundle.h', - 'CFData.h', - 'CFDictionary.h', - 'cf.h', - 'CFNumber.h', - 'CFPlugIn.h', - 'CFPreferences.h', - 'CFString.h', - 'CFURL.h', - 'CGAffineTransform.h', - 'CheckBox.h', - 'ciferfam.h', - 'Clipboard.h', - 'cmmf.h', - 'cmmft.h', - 'cmplrs/stsupport.h', - 'cms.h', - 'cmsreclist.h', - 'cmst.h', - 'Cocoa/Cocoa.h', - 'CodeFragments.h', - 'comdef.h', - 'commctrl.h', - 'COMMCTRL.H', - 'commdlg.h', - 'compat.h', - 'complex', - 'condapi.h', - 'ConditionalMacros.h', - 'conio.h', - 'console.h', - 'ControlDefinitions.h', - 'Controls.h', - 'CoreFoundation/CoreFoundation.h', - 'CoreServices/CoreServices.h', - 'CPalmRec.cpp', - 'Cpalmrec.h', - 'CPCatgry.cpp', - 'CPDbBMgr.h', - 'CPString.cpp', - 'CPString.h', - 'crtdbg.h', - 'crt_externs.h', - 'crypt.h', - 'cryptohi.h', - 'cryptoht.h', - 'cstddef', - 'ctime', - 'ctype.h', - 'curl/curl.h', - 'curl/easy.h', - 'curses.h', - 'cxxabi.h', - 'DateTimeUtils.h', - 'dbus/dbus.h', - 'ddeml.h', - 'Debug.h', - 'dem.h', - 'descrip.h', - 'Devices.h', - 'dfb_types.h', - 'dfiff.h', - 'dgiff.h', - 'Dialogs.h', - 'direct/build.h', - 'direct/clock.h', - 'direct/conf.h', - 'direct/debug.h', - 'direct/direct.h', - 'directfb_keyboard.h', - 'directfb_strings.h', - 'direct.h', - 'direct/hash.h', - 'direct/interface.h', - 'direct/interface_implementation.h', - 'direct/list.h', - 'direct/log.h', - 'direct/memcpy.h', - 'direct/mem.h', - 'direct/messages.h', - 'direct/modules.h', - 'direct/serial.h', - 'direct/signals.h', - 'direct/stream.h', - 'direct/system.h', - 'direct/thread.h', - 'direct/trace.h', - 'direct/tree.h', - 'direct/types.h', - 'direct/utf8.h', - 'direct/util.h', - 'dirent.h', - 'DiskInit.h', - 'dlfcn.h', - 'dlgs.h', - 'dl.h', - 'docobj.h', - 'dos/dosextens.h', - 'dos.h', - 'Drag.h', - 'DriverServices.h', - 'DriverSynchronization.h', - 'DropInPanel.h', - 'dvidef.h', - 'ecl-exp.h', - 'elf.h', - 'endian.h', - 'Entry.h', - 'err.h', - 'errno.h', - 'Errors.h', - 'Events.h', - 'exception', - 'exdisp.h', - 'ExDisp.h', - 'exe386.h', - 'execinfo.h', - 'extras.h', - 'fcntl.h', - 'features.h', - 'fenv.h', - 'ffi.h', - 'fibdef.h', - 'File.h', - 'filehdr.h', - 'files.h', - 'Files.h', - 'FindDirectory.h', - 'Finder.h', - 'FinderRegistry.h', - 'FixMath.h', - 'float.h', - 'fnmatch.h', - 'Folders.h', - 'fontconfig/fcfreetype.h', - 'fontconfig/fontconfig.h', - 'Font.h', - 'Fonts.h', - 'fp.h', - 'fpieee.h', - 'frame/log.h', - 'frame/req.h', - 'freetype/freetype.h', - 'freetype/ftadvanc.h', - 'freetype/ftbitmap.h', - 'freetype/ftcache.h', - 'freetype/ftfntfmt.h', - 'freetype/ftglyph.h', - 'freetype/ftlcdfil.h', - 'freetype/ftoutln.h', - 'freetype/ftsizes.h', - 'freetype/ftsynth.h', - 'freetype/ftxf86.h', - 'freetype.h', - 'freetype/t1tables.h', - 'freetype/ttnameid.h', - 'freetype/tttables.h', - 'fribidi/fribidi.h', - 'FSp_fopen.h', - 'fstream', - 'fstream.h', - 'ft2build.h', - 'ftadvanc.h', - 'ftbitmap.h', - 'ftcache.h', - 'ftfntfmt.h', - 'ftglyph.h', - 'ftlcdfil.h', - 'ftoutln.h', - 'fts.h', - 'ftsizes.h', - 'ftsynth.h', - 'ftxf86.h', - 'fusion/arena.h', - 'fusion/build.h', - 'fusion/call.h', - 'fusion/conf.h', - 'fusion/fusion.h', - 'fusion/fusion_internal.h', - 'fusion/hash.h', - 'fusion/lock.h', - 'fusion/object.h', - 'fusion/property.h', - 'fusion/protocol.h', - 'fusion/reactor.h', - 'fusion/ref.h', - 'fusion/shmalloc.h', - 'fusion/shm/pool.h', - 'fusion/shm/shm.h', - 'fusion/shm/shm_internal.h', - 'fusion/types.h', - 'fusion/vector.h', - 'gconf/gconf-client.h', - 'Gdiplus.h', - 'gdk/gdkdirectfb.h', - 'gdk/gdk.h', - 'gdk/gdkkeysyms.h', - 'gdk/gdkprivate.h', - 'gdk/gdkwayland.h', - 'gdk-pixbuf/gdk-pixbuf.h', - 'Gestalt.h', - 'getopt.h', - 'gio/gio.h', - 'glibconfig.h', - 'glib.h', - 'glib-object.h', - 'glob.h', - 'gmodule.h', - 'gnome.h', - 'gnu/libc-version.h', - 'gps.h', - 'grp.h', - 'gssapi_generic.h', - 'gssapi/gssapi_generic.h', - 'gssapi/gssapi.h', - 'gssapi.h', - 'gst/app/gstappsink.h', - 'gst/app/gstappsrc.h', - 'gst/gst.h', - 'gst/video/video.h', - 'gtk/gtk.h', - 'gtk/gtkunixprint.h', - 'hasht.h', - 'HIToolbox/HIToolbox.h', - 'hlink.h', - 'ia64/sys/inline.h', - 'Icons.h', - 'iconv.h', - 'ieeefp.h', - 'ifaddrs.h', - 'image.h', - 'imagehlp.h', - 'imm.h', - 'initguid.h', - 'initializer_list', - 'InterfaceDefs.h', - 'InternetConfig.h', - 'IntlResources.h', - 'ints.h', - 'intshcut.h', - 'inttypes.h', - 'iodef.h', - 'io.h', - 'IOKit/IOKitLib.h', - 'IOKit/IOMessage.h', - 'IOKit/pwr_mgt/IOPMLib.h', - 'iomanip', - 'iostream.h', - 'jar-ds.h', - 'jarfile.h', - 'jar.h', - 'JavaControl.h', - 'JavaEmbedding/JavaControl.h', - 'JavaVM/jni.h', - 'JManager.h', - 'JNIEnvTests.h', - 'jni.h', - 'JVMManagerTests.h', - 'Kerberos/Kerberos.h', - 'kernel/image.h', - 'kernel/OS.h', - 'key.h', - 'keyhi.h', - 'keyt.h', - 'keythi.h', - 'kvm.h', - 'LAction.h', - 'langinfo.h', - 'LApplication.h', - 'LArray.h', - 'LArrayIterator.h', - 'LAttachable.h', - 'LAttachment.h', - 'LaunchServices.h', - 'lber.h', - 'LBroadcaster.h', - 'LButton.h', - 'lcache.h', - 'LCaption.h', - 'LCheckBox.h', - 'LCicnButton.h', - 'LClipboard.h', - 'LCommander.h', - 'LComparator.h', - 'LControl.h', - 'ldap.h', - 'ldaplog.h', - 'ldappr.h', - 'ldap_ssl.h', - 'LDataStream.h', - 'ldfcn.h', - 'LDialogBox.h', - 'ldif.h', - 'LDocApplication.h', - 'LDocument.h', - 'LDragAndDrop.h', - 'LDragTask.h', - 'LEditField.h', - 'LEditText.h', - 'LEventDispatcher.h', - 'LFile.h', - 'LFileStream.h', - 'LFileTypeList.h', - 'LFocusBox.h', - 'LGrafPortView.h', - 'LHandleStream.h', - 'libc_r.h', - 'libelf.h', - 'libelf/libelf.h', - 'libgen.h', - 'libgnome/gnome-url.h', - 'libgnome/libgnome.h', - 'libgnomeui/gnome-icon-lookup.h', - 'libgnomeui/gnome-icon-theme.h', - 'libgnomeui/gnome-ui-init.h', - 'libutil.h', - 'limits.h', - 'link.h', - 'linux/ioprio.h', - 'linux/kernel.h', - 'linux/limits.h', - 'linux/rtc.h', - 'linux/version.h', - 'List.h', - 'Lists.h', - 'LListBox.h', - 'LListener.h', - 'LMenuBar.h', - 'LMenu.h', - 'LModelDirector.h', - 'LModelObject.h', - 'LModelProperty.h', - 'loader.h', - 'locale', - 'locale.h', - 'LOffscreenView.h', - 'logkeys.h', - 'logstrng.h', - 'Looper.h', - 'LowMem.h', - 'LPane.h', - 'LPeriodical.h', - 'LPicture.h', - 'LPlaceHolder.h', - 'LPrintout.h', - 'LProgressBar.h', - 'LPushButton.h', - 'LRadioGroup.h', - 'LRadioGroupView.h', - 'LRunArray.h', - 'LScroller.h', - 'LSharable.h', - 'LSingleDoc.h', - 'LStaticText.h', - 'LStdControl.h', - 'LStream.h', - 'LString.h', - 'LTabGroup.h', - 'LTabGroupView.h', - 'LTableArrayStorage.h', - 'LTableMonoGeometry.h', - 'LTableSingleSelector.h', - 'LTableView.h', - 'LTextEditView.h', - 'LTextTableView.h', - 'LUndoer.h', - 'LVariableArray.h', - 'LView.h', - 'LWindow.h', - 'm68881.h', - 'MacErrors.h', - 'MacHeadersCarbon.h', - 'machine/ansi.h', - 'machine/builtins.h', - 'machine/clock.h', - 'machine/endian.h', - 'machine/frame.h', - 'machine/inline.h', - 'machine/limits.h', - 'machine/signal.h', - 'machine/trap.h', - 'mach/mach_host.h', - 'mach/mach_init.h', - 'mach/mach_interface.h', - 'mach/mach_port.h', - 'mach-o/dyld.h', - 'MacLocales.h', - 'MacMemory.h', - 'MacTCP.h', - 'MacTypes.h', - 'MacWindows.h', - 'malloc.h', - 'malloc_np.h', - 'mapicode.h', - 'mapidefs.h', - 'mapiguid.h', - 'mapi.h', - 'mapitags.h', - 'mapiutil.h', - 'mapix.h', - 'Math64.h', - 'math.h', - 'mbstring.h', - 'mem.h', - 'memory.h', - 'Memory.h', - 'MenuBar.h', - 'Menu.h', - 'Menus.h', - 'Message.h', - 'Mime.h', - 'MixedMode.h', - 'mlang.h', - 'mmsystem.h', - 'model.h', - 'Movies.h', - 'mpw/errno.h', - 'mshtmhst.h', - 'mshtml.h', - 'mswsock.h', - 'Multiprocessing.h', - 'mutex.h', - 'Navigation.h', - 'ncompat.h', - 'ncurses.h', - 'netCore.h', - 'netdb.h', - 'net/if.h', - 'netinet/in.h', - 'netinet/in_systm.h', - 'netinet/tcp.h', - 'newexe.h', - 'new.h', - 'nl_types.h', - 'NodeInfo.h', - 'nspr.h', - 'nssb64.h', - 'nssb64t.h', - 'nssbase.h', - 'nssbaset.h', - 'nssck.api', - 'nssckbi.h', - 'nssckepv.h', - 'nssckft.h', - 'nssckfwc.h', - 'nssckfw.h', - 'nssckfwt.h', - 'nssckg.h', - 'nssckmdt.h', - 'nssckt.h', - 'nss.h', - 'nssilckt.h', - 'nssilock.h', - 'nsslocks.h', - 'nssrwlk.h', - 'nssrwlkt.h', - 'nssutil.h', - 'nsswitch.h', - 'objbase.h', - 'objidl.h', - 'Objsafe.h', - 'ocsp.h', - 'ocspt.h', - 'ojiapitests.h', - 'ole2.h', - 'oleidl.h', - 'OpenGL/OpenGL.h', - 'OpenTptInternet.h', - 'OpenTransport.h', - 'OS.h', - 'osreldate.h', - 'OSUtils.h', - 'p12.h', - 'p12plcy.h', - 'p12t.h', - 'Packages.h', - 'Palettes.h', - 'PALM_CMN.H', - 'pango/pango-break.h', - 'pango/pangofc-decoder.h', - 'pango/pangofc-font.h', - 'pango/pangofc-fontmap.h', - 'pango/pango-fontmap.h', - 'pango/pango.h', - 'pango/pango-modules.h', - 'pango/pango-utils.h', - 'pango/pangoxft.h', - 'pascal.h', - 'Patches.h', - 'Path.h', - 'pcfs/pc_dir.h', - 'Pgenerr.h', - 'PGenErr.h', - 'Ph.h', - 'pixman.h', - 'pk11func.h', - 'pk11pqg.h', - 'pk11priv.h', - 'pk11pub.h', - 'pk11sdr.h', - 'pkcs11f.h', - 'pkcs11.h', - 'pkcs11n.h', - 'pkcs11p.h', - 'pkcs11t.h', - 'pkcs11u.h', - 'pkcs12.h', - 'pkcs12t.h', - 'pkcs7t.h', - 'plarena.h', - 'plarenas.h', - 'plbase64.h', - 'plerror.h', - 'plgetopt.h', - 'plhash.h', - 'plstr.h', - 'PLStringFuncs.h', - 'PMApplication.h', - 'pmddim.h', - 'poll.h', - 'Polygon.h', - 'portable.h', - 'port.h', - 'portreg.h', - 'Power.h', - 'PP_ClassHeaders.cp', - 'PP_Constants.h', - 'PPCToolbox.h', - 'PP_DebugHeaders.cp', - 'PP_KeyCodes.h', - 'PP_Macros.h', - 'PP_Messages.h', - 'PP_Prefix.h', - 'PP_Resources.h', - 'PP_Types.h', - 'pratom.h', - 'prbit.h', - 'prclist.h', - 'prcmon.h', - 'prcountr.h', - 'prcpucfg.h', - 'prcvar.h', - 'prdtoa.h', - 'preenc.h', - 'prenv.h', - 'prerr.h', - 'prerror.h', - 'prinet.h', - 'prinit.h', - 'prinrval.h', - 'Printing.h', - 'Print/PMPrintingDialogExtensions.h', - 'prio.h', - 'pripcsem.h', - 'private', - 'prlink.h', - 'prlock.h', - 'prlog.h', - 'prlong.h', - 'prmem.h', - 'prmon.h', - 'prmwait.h', - 'prnetdb.h', - 'Processes.h', - 'process.h', - 'Process.h', - 'prolock.h', - 'proto/dos.h', - 'proto/exec.h', - 'prpdce.h', - 'prprf.h', - 'prproces.h', - 'prrng.h', - 'prrwlock.h', - 'prshma.h', - 'prshm.h', - 'prsystem.h', - 'prthread.h', - 'prtime.h', - 'prtpool.h', - 'prtrace.h', - 'prtypes.h', - 'prvrsion.h', - 'prwin16.h', - 'psap.h', - 'Pt.h', - 'pthread.h', - 'pthread_np.h', - 'pulse/pulseaudio.h', - 'pwd.h', - 'Python.h', - 'QDOffscreen.h', - 'queue', - 'Quickdraw.h', - 'QuickDraw.h', - 'QuickTimeComponents.h', - 'quipu/attr.h', - 'regex.h', - 'Region.h', - 'resolv.h', - 'Resources.h', - 'Retrace.h', - 'rld_interface.h', - 'Roster.h', - 'rpc.h', - 'rpcproxy.h', - 'rpc/types.h', - 'sane/sane.h', - 'sane/sanei.h', - 'sane/saneopts.h', - 'sanitizer/asan_interface.h', - 'sanitizer/common_interface_defs.h', - 'sched.h', - 'Scrap.h', - 'Screen.h', - 'Script.h', - 'ScrollBar.h', - 'secasn1.h', - 'secasn1t.h', - 'seccomon.h', - 'secder.h', - 'secdert.h', - 'secdig.h', - 'secdigt.h', - 'secerr.h', - 'sec.h', - 'sechash.h', - 'secitem.h', - 'secmime.h', - 'secmod.h', - 'secmodt.h', - 'secoid.h', - 'secoidt.h', - 'secpkcs5.h', - 'secpkcs7.h', - 'secport.h', - 'secrng.h', - 'security.h', - 'secutil.h', - 'semaphore.h', - 'servprov.h', - 'setjmp.h', - 'SFNTLayoutTypes.h', - 'SFNTTypes.h', - 'sha1.h', - 'share.h', - 'shellapi.h', - 'shlguid.h', - 'shlobj.h', - 'shsign.h', - 'sigcontext.h', - 'signal.h', - 'SimpleGameSound.h', - 'SIOUX.h', - 'size_t.h', - 'smime.h', - 'someincludefile.h', - 'soundcard.h', - 'Sound.h', - 'soundtouch/SoundTouchFactory.h', - 'soundtouch/SoundTouch.h', - 'spawn.h', - 'sqlite3.h', - 'sslerr.h', - 'ssl.h', - 'sslproto.h', - 'sslt.h', - 'sstream', - 'StandardFile.h', - 'starlet.h', - 'stat.h', - 'statreg.cpp', - 'statreg.h', - 'stdarg.h', - 'stdbool.h', - 'stddef.h', - 'stdint.h', - 'stdio.h', - 'stdlib.h', - 'storage/FindDirectory.h', - 'StorageKit.h', - 'StringCompare.h', - 'string.h', - 'String.h', - 'strings.h', - 'Strings.h', - 'StringView.h', - 'stropts.h', - 'strstrea.h', - 'structs.h', - 'stsdef.h', - 'SupportDefs.h', - 'support/String.h', - 'support/SupportDefs.h', - 'support/TLS.h', - 'svrcore.h', - 'symconst.h', - 'sym.h', - 'synch.h', - 'syncmgr.h', - 'sys/atomic_op.h', - 'sys/bitypes.h', - 'sys/byteorder.h', - 'syscall.h', - 'sys/cdefs.h', - 'sys/cfgodm.h', - 'sys/elf.h', - 'sys/endian.h', - 'sys/epoll.h', - 'sys/errno.h', - 'sys/eventfd.h', - 'sys/fault.h', - 'sys/fcntl.h', - 'sys/file.h', - 'sys/filio.h', - 'sys/frame.h', - 'sys/immu.h', - 'sys/inotify.h', - 'sys/inttypes.h', - 'sys/ioccom.h', - 'sys/ioctl.h', - 'sys/ipc.h', - 'sys/klog.h', - 'sys/ldr.h', - 'sys/link.h', - 'sys/locking.h', - 'syslog.h', - 'sys/lwp.h', - 'sys/machine.h', - 'sys/mman.h', - 'sys/mmu.h', - 'sys/mount.h', - 'sys/mpctl.h', - 'sys/msg.h', - 'sys/param.h', - 'sys/pda.h', - 'sys/poll.h', - 'sys/ppc.h', - 'sys/prctl.h', - 'sys/priv.h', - 'sys/procfs.h', - 'sys/pstat.h', - 'sys/ptrace.h', - 'sys/queue.h', - 'sys/quota.h', - 'sys/reboot.h', - 'sys/reg.h', - 'sys/regset.h', - 'sys/resource.h', - 'sys/sched.h', - 'sys/select.h', - 'sys/sem.h', - 'sys/sendfile.h', - 'sys/shm.h', - 'sys/siginfo.h', - 'sys/signal.h', - 'sys/socket.h', - 'sys/sockio.h', - 'sys/sparc/frame.h', - 'sys/stack.h', - 'sys/statfs.h', - 'sys/stat.h', - 'sys/statvfs.h', - 'sys/syscall.h', - 'sys/sysctl.h', - 'sys/sysinfo.h', - 'sys/sysmacros.h', - 'sys/sysmp.h', - 'sys/syssgi.h', - 'sys/systeminfo.h', - 'sys/system_properties.h', - 'sys/thr.h', - 'sys/timeb.h', - 'sys/time.h', - 'sys/times.h', - 'sys/ttycom.h', - 'sys/types.h', - 'sys/ucontext.h', - 'sys/uio.h', - 'sys/un.h', - 'sys/unistd.h', - 'sys/user.h', - 'sys/utsname.h', - 'sys/vfs.h', - 'sys/wait.h', - 't1tables.h', - 'tables.h', - 'TArray.h', - 'TArrayIterator.h', - 'task.h', - 'tchar.h', - 'TCHAR.H', - 'termios.h', - 'TextCommon.h', - 'TextEdit.h', - 'TextEncodingConverter.h', - 'TextServices.h', - 'TextUtils.h', - 'TextView.h', - 'th/PCR_Th.h', - 'thread.h', - 'ThreadManagerTests.h', - 'Threads.h', - 'time.h', - 'Timer.h', - 'tlhelp32.h', - 'ToolUtils.h', - 'tr1/functional', - 'trace.h', - 'Traps.h', - 'ttnameid.h', - 'tttables.h', - 'typeinfo', - 'types.h', - 'Types.h', - 'UAppleEventsMgr.h', - 'UAttachments.h', - 'ucontext.h', - 'uconv.h', - 'UCursor.h', - 'UDebugging.h', - 'UDesktop.h', - 'UDrawingState.h', - 'UDrawingUtils.h', - 'UEnvironment.h', - 'UEventMgr.h', - 'UException.h', - 'UExtractFromAEDesc.h', - 'UGWorld.h', - 'UKeyFilters.h', - 'ulocks.h', - 'ulserrno.h', - 'UMemoryMgr.h', - 'UModalDialogs.h', - 'UNavServicesDialogs.h', - 'UnicodeBlockObjects.h', - 'UnicodeConverter.h', - 'UnicodeUtilities.h', - 'unidef.h', - 'unikbd.h', - 'unistd.h', - 'unix.h', - 'unixio.h', - 'unknwn.h', - 'unwind.h', - 'UPrinting.h', - 'UQuickTime.h', - 'UReanimator.h', - 'URegions.h', - 'URegistrar.h', - 'UResourceMgr.h', - 'urlhist.h', - 'urlmon.h', - 'UScrap.h', - 'UScreenPort.h', - 'UTCUtils.h', - 'UTETextAction.h', - 'UTEViewTextAction.h', - 'UTextEdit.h', - 'UTextTraits.h', - 'utilmodt.h', - 'utilpars.h', - 'utilparst.h', - 'utilrename.h', - 'utime.h', - 'UWindows.h', - 'values.h', - 'varargs.h', - 'vcclr.h', - 'View.h', - 'Volume.h', - 'wab.h', - 'wait.h', - 'wchar.h', - 'wctype.h', - 'winbase.h', - 'win/compobj.h', - 'windef.h', - 'Window.h', - 'windows.h', - 'Windows.h', - 'windowsx.h', - 'Wininet.h', - 'winnls.h', - 'winperf.h', - 'winreg.h', - 'Winreg.h', - 'winsock2.h', - 'winsock.h', - 'winspool.h', - 'winsvc.h', - 'winuser.h', - 'winver.h', - 'wmem.h', - 'workbench/startup.h', - 'wtypes.h', - 'wx/image.h', - 'wx/listctrl.h', - 'wx/log.h', - 'wx/toolbar.h', - 'wx/wx.h', - 'wx/xrc/xmlres.h', - 'xlocale.h', - 'zmouse.h', - 'vorbis/codec.h', - 'opus/opus.h', - 'opus/opus_multistream.h', - 'ogg/ogg.h', - 'theora/theoradec.h', - 'vpx/svc_context.h', - 'vpx/vp8.h', - 'vpx/vp8cx.h', - 'vpx/vp8dx.h', - 'vpx/vpx_codec.h', - 'vpx/vpx_decoder.h', - 'vpx/vpx_encoder.h', - 'vpx/vpx_frame_buffer.h', - 'vpx/vpx_image.h', - 'vpx_mem/vpx_mem.h' + "A4Stuff.h", + "activscp.h", + "AEDataModel.h", + "AEObjects.h", + "AEPackObject.h", + "AERegistry.h", + "AEUtils.h", + "afxcmn.h", + "afxcoll.h", + "afxcview.h", + "afxdisp.h", + "afxdtctl.h", + "afxext.h", + "afxmt.h", + "afxpriv.h", + "afxtempl.h", + "afxwin.h", + "Aliases.h", + "all.h", + "alloca.h", + "alloc.h", + "alsa/asoundlib.h", + "ansi_parms.h", + "a.out.h", + "app/Cursor.h", + "Appearance.h", + "AppFileInfo.h", + "AppKit.h", + "AppleEvents.h", + "Application.h", + "app/Message.h", + "app/MessageRunner.h", + "arpa/inet.h", + "arpa/nameser.h", + "array", + "asm/page.h", + "asm/sigcontext.h", + "asm/signal.h", + "ASRegistry.h", + "assert.h", + "atk/atk.h", + "atlcom.h", + "atlconv.h", + "atlctl.cpp", + "atlctl.h", + "ATLCTL.H", + "atlhost.h", + "atlimpl.cpp", + "atlwin.cpp", + "atomic.h", + "ATSTypes.h", + "ATSUnicode.h", + "Balloons.h", + "base64.h", + "base/pblock.h", + "base/PCR_Base.h", + "base/session.h", + "basetyps.h", + "be/app/Application.h", + "Beep.h", + "be/kernel/image.h", + "be/kernel/OS.h", + "bfd.h", + "Bitmap.h", + "bitset", + "blapi.h", + "blapit.h", + "bsd/libc.h", + "bsd/syscall.h", + "bstring.h", + "builtin.h", + "Button.h", + "byteswap.h", + "cairo-atsui.h", + "cairo-beos.h", + "cairo-directfb.h", + "cairo-ft.h", + "cairo-glitz.h", + "cairo-gobject.h", + "cairo.h", + "cairo-pdf.h", + "cairo-ps.h", + "cairo-qpainter.h", + "cairo-qt.h", + "cairo-quartz.h", + "cairo-tee.h", + "cairo-win32.h", + "cairo-xlib.h", + "cairo-xlib-xrender.h", + "callconv.h", + "Carbon/Carbon.h", + "CarbonEvents.h", + "Carbon.h", + "c_asm.h", + "cctype", + "cderr.h", + "cerrno", + "certdb.h", + "cert.h", + "certt.h", + "CFBase.h", + "CFBundle.h", + "CFData.h", + "CFDictionary.h", + "cf.h", + "CFNumber.h", + "CFPlugIn.h", + "CFPreferences.h", + "CFString.h", + "CFURL.h", + "CGAffineTransform.h", + "CheckBox.h", + "ciferfam.h", + "Clipboard.h", + "cmmf.h", + "cmmft.h", + "cmplrs/stsupport.h", + "cms.h", + "cmsreclist.h", + "cmst.h", + "Cocoa/Cocoa.h", + "CodeFragments.h", + "comdef.h", + "commctrl.h", + "COMMCTRL.H", + "commdlg.h", + "compat.h", + "complex", + "condapi.h", + "ConditionalMacros.h", + "conio.h", + "console.h", + "ControlDefinitions.h", + "Controls.h", + "CoreFoundation/CoreFoundation.h", + "CoreServices/CoreServices.h", + "CPalmRec.cpp", + "Cpalmrec.h", + "CPCatgry.cpp", + "CPDbBMgr.h", + "CPString.cpp", + "CPString.h", + "crtdbg.h", + "crt_externs.h", + "crypt.h", + "cryptohi.h", + "cryptoht.h", + "cstddef", + "ctime", + "ctype.h", + "curl/curl.h", + "curl/easy.h", + "curses.h", + "cxxabi.h", + "DateTimeUtils.h", + "dbus/dbus.h", + "ddeml.h", + "Debug.h", + "dem.h", + "descrip.h", + "Devices.h", + "dfb_types.h", + "dfiff.h", + "dgiff.h", + "Dialogs.h", + "direct/build.h", + "direct/clock.h", + "direct/conf.h", + "direct/debug.h", + "direct/direct.h", + "directfb_keyboard.h", + "directfb_strings.h", + "direct.h", + "direct/hash.h", + "direct/interface.h", + "direct/interface_implementation.h", + "direct/list.h", + "direct/log.h", + "direct/memcpy.h", + "direct/mem.h", + "direct/messages.h", + "direct/modules.h", + "direct/serial.h", + "direct/signals.h", + "direct/stream.h", + "direct/system.h", + "direct/thread.h", + "direct/trace.h", + "direct/tree.h", + "direct/types.h", + "direct/utf8.h", + "direct/util.h", + "dirent.h", + "DiskInit.h", + "dlfcn.h", + "dlgs.h", + "dl.h", + "docobj.h", + "dos/dosextens.h", + "dos.h", + "Drag.h", + "DriverServices.h", + "DriverSynchronization.h", + "DropInPanel.h", + "dvidef.h", + "ecl-exp.h", + "elf.h", + "endian.h", + "Entry.h", + "err.h", + "errno.h", + "Errors.h", + "Events.h", + "exception", + "exdisp.h", + "ExDisp.h", + "exe386.h", + "execinfo.h", + "extras.h", + "fcntl.h", + "features.h", + "fenv.h", + "ffi.h", + "fibdef.h", + "File.h", + "filehdr.h", + "files.h", + "Files.h", + "FindDirectory.h", + "Finder.h", + "FinderRegistry.h", + "FixMath.h", + "float.h", + "fnmatch.h", + "Folders.h", + "fontconfig/fcfreetype.h", + "fontconfig/fontconfig.h", + "Font.h", + "Fonts.h", + "fp.h", + "fpieee.h", + "frame/log.h", + "frame/req.h", + "freetype/freetype.h", + "freetype/ftadvanc.h", + "freetype/ftbitmap.h", + "freetype/ftcache.h", + "freetype/ftfntfmt.h", + "freetype/ftglyph.h", + "freetype/ftlcdfil.h", + "freetype/ftoutln.h", + "freetype/ftsizes.h", + "freetype/ftsynth.h", + "freetype/ftxf86.h", + "freetype.h", + "freetype/t1tables.h", + "freetype/ttnameid.h", + "freetype/tttables.h", + "fribidi/fribidi.h", + "FSp_fopen.h", + "fstream", + "fstream.h", + "ft2build.h", + "ftadvanc.h", + "ftbitmap.h", + "ftcache.h", + "ftfntfmt.h", + "ftglyph.h", + "ftlcdfil.h", + "ftoutln.h", + "fts.h", + "ftsizes.h", + "ftsynth.h", + "ftxf86.h", + "fusion/arena.h", + "fusion/build.h", + "fusion/call.h", + "fusion/conf.h", + "fusion/fusion.h", + "fusion/fusion_internal.h", + "fusion/hash.h", + "fusion/lock.h", + "fusion/object.h", + "fusion/property.h", + "fusion/protocol.h", + "fusion/reactor.h", + "fusion/ref.h", + "fusion/shmalloc.h", + "fusion/shm/pool.h", + "fusion/shm/shm.h", + "fusion/shm/shm_internal.h", + "fusion/types.h", + "fusion/vector.h", + "gconf/gconf-client.h", + "Gdiplus.h", + "gdk/gdkdirectfb.h", + "gdk/gdk.h", + "gdk/gdkkeysyms.h", + "gdk/gdkprivate.h", + "gdk/gdkwayland.h", + "gdk-pixbuf/gdk-pixbuf.h", + "Gestalt.h", + "getopt.h", + "gio/gio.h", + "glibconfig.h", + "glib.h", + "glib-object.h", + "glob.h", + "gmodule.h", + "gnome.h", + "gnu/libc-version.h", + "gps.h", + "grp.h", + "gssapi_generic.h", + "gssapi/gssapi_generic.h", + "gssapi/gssapi.h", + "gssapi.h", + "gst/app/gstappsink.h", + "gst/app/gstappsrc.h", + "gst/gst.h", + "gst/video/video.h", + "gtk/gtk.h", + "gtk/gtkunixprint.h", + "hasht.h", + "HIToolbox/HIToolbox.h", + "hlink.h", + "ia64/sys/inline.h", + "Icons.h", + "iconv.h", + "ieeefp.h", + "ifaddrs.h", + "image.h", + "imagehlp.h", + "imm.h", + "initguid.h", + "initializer_list", + "InterfaceDefs.h", + "InternetConfig.h", + "IntlResources.h", + "ints.h", + "intshcut.h", + "inttypes.h", + "iodef.h", + "io.h", + "IOKit/IOKitLib.h", + "IOKit/IOMessage.h", + "IOKit/pwr_mgt/IOPMLib.h", + "iomanip", + "iostream.h", + "jar-ds.h", + "jarfile.h", + "jar.h", + "JavaControl.h", + "JavaEmbedding/JavaControl.h", + "JavaVM/jni.h", + "JManager.h", + "JNIEnvTests.h", + "jni.h", + "JVMManagerTests.h", + "Kerberos/Kerberos.h", + "kernel/image.h", + "kernel/OS.h", + "key.h", + "keyhi.h", + "keyt.h", + "keythi.h", + "kvm.h", + "LAction.h", + "langinfo.h", + "LApplication.h", + "LArray.h", + "LArrayIterator.h", + "LAttachable.h", + "LAttachment.h", + "LaunchServices.h", + "lber.h", + "LBroadcaster.h", + "LButton.h", + "lcache.h", + "LCaption.h", + "LCheckBox.h", + "LCicnButton.h", + "LClipboard.h", + "LCommander.h", + "LComparator.h", + "LControl.h", + "ldap.h", + "ldaplog.h", + "ldappr.h", + "ldap_ssl.h", + "LDataStream.h", + "ldfcn.h", + "LDialogBox.h", + "ldif.h", + "LDocApplication.h", + "LDocument.h", + "LDragAndDrop.h", + "LDragTask.h", + "LEditField.h", + "LEditText.h", + "LEventDispatcher.h", + "LFile.h", + "LFileStream.h", + "LFileTypeList.h", + "LFocusBox.h", + "LGrafPortView.h", + "LHandleStream.h", + "libc_r.h", + "libelf.h", + "libelf/libelf.h", + "libgen.h", + "libgnome/gnome-url.h", + "libgnome/libgnome.h", + "libgnomeui/gnome-icon-lookup.h", + "libgnomeui/gnome-icon-theme.h", + "libgnomeui/gnome-ui-init.h", + "libutil.h", + "limits.h", + "link.h", + "linux/ioprio.h", + "linux/kernel.h", + "linux/limits.h", + "linux/rtc.h", + "linux/version.h", + "List.h", + "Lists.h", + "LListBox.h", + "LListener.h", + "LMenuBar.h", + "LMenu.h", + "LModelDirector.h", + "LModelObject.h", + "LModelProperty.h", + "loader.h", + "locale", + "locale.h", + "LOffscreenView.h", + "logkeys.h", + "logstrng.h", + "Looper.h", + "LowMem.h", + "LPane.h", + "LPeriodical.h", + "LPicture.h", + "LPlaceHolder.h", + "LPrintout.h", + "LProgressBar.h", + "LPushButton.h", + "LRadioGroup.h", + "LRadioGroupView.h", + "LRunArray.h", + "LScroller.h", + "LSharable.h", + "LSingleDoc.h", + "LStaticText.h", + "LStdControl.h", + "LStream.h", + "LString.h", + "LTabGroup.h", + "LTabGroupView.h", + "LTableArrayStorage.h", + "LTableMonoGeometry.h", + "LTableSingleSelector.h", + "LTableView.h", + "LTextEditView.h", + "LTextTableView.h", + "LUndoer.h", + "LVariableArray.h", + "LView.h", + "LWindow.h", + "m68881.h", + "MacErrors.h", + "MacHeadersCarbon.h", + "machine/ansi.h", + "machine/builtins.h", + "machine/clock.h", + "machine/endian.h", + "machine/frame.h", + "machine/inline.h", + "machine/limits.h", + "machine/signal.h", + "machine/trap.h", + "mach/mach_host.h", + "mach/mach_init.h", + "mach/mach_interface.h", + "mach/mach_port.h", + "mach-o/dyld.h", + "MacLocales.h", + "MacMemory.h", + "MacTCP.h", + "MacTypes.h", + "MacWindows.h", + "malloc.h", + "malloc_np.h", + "mapicode.h", + "mapidefs.h", + "mapiguid.h", + "mapi.h", + "mapitags.h", + "mapiutil.h", + "mapix.h", + "Math64.h", + "math.h", + "mbstring.h", + "mem.h", + "memory.h", + "Memory.h", + "MenuBar.h", + "Menu.h", + "Menus.h", + "Message.h", + "Mime.h", + "MixedMode.h", + "mlang.h", + "mmsystem.h", + "model.h", + "Movies.h", + "mpw/errno.h", + "mshtmhst.h", + "mshtml.h", + "mswsock.h", + "Multiprocessing.h", + "mutex.h", + "Navigation.h", + "ncompat.h", + "ncurses.h", + "netCore.h", + "netdb.h", + "net/if.h", + "netinet/in.h", + "netinet/in_systm.h", + "netinet/tcp.h", + "newexe.h", + "new.h", + "nl_types.h", + "NodeInfo.h", + "nspr.h", + "nssb64.h", + "nssb64t.h", + "nssbase.h", + "nssbaset.h", + "nssck.api", + "nssckbi.h", + "nssckepv.h", + "nssckft.h", + "nssckfwc.h", + "nssckfw.h", + "nssckfwt.h", + "nssckg.h", + "nssckmdt.h", + "nssckt.h", + "nss.h", + "nssilckt.h", + "nssilock.h", + "nsslocks.h", + "nssrwlk.h", + "nssrwlkt.h", + "nssutil.h", + "nsswitch.h", + "objbase.h", + "objidl.h", + "Objsafe.h", + "ocsp.h", + "ocspt.h", + "ojiapitests.h", + "ole2.h", + "oleidl.h", + "OpenGL/OpenGL.h", + "OpenTptInternet.h", + "OpenTransport.h", + "OS.h", + "osreldate.h", + "OSUtils.h", + "p12.h", + "p12plcy.h", + "p12t.h", + "Packages.h", + "Palettes.h", + "PALM_CMN.H", + "pango/pango-break.h", + "pango/pangofc-decoder.h", + "pango/pangofc-font.h", + "pango/pangofc-fontmap.h", + "pango/pango-fontmap.h", + "pango/pango.h", + "pango/pango-modules.h", + "pango/pango-utils.h", + "pango/pangoxft.h", + "pascal.h", + "Patches.h", + "Path.h", + "pcfs/pc_dir.h", + "Pgenerr.h", + "PGenErr.h", + "Ph.h", + "pixman.h", + "pk11func.h", + "pk11pqg.h", + "pk11priv.h", + "pk11pub.h", + "pk11sdr.h", + "pkcs11f.h", + "pkcs11.h", + "pkcs11n.h", + "pkcs11p.h", + "pkcs11t.h", + "pkcs11u.h", + "pkcs12.h", + "pkcs12t.h", + "pkcs7t.h", + "plarena.h", + "plarenas.h", + "plbase64.h", + "plerror.h", + "plgetopt.h", + "plhash.h", + "plstr.h", + "PLStringFuncs.h", + "PMApplication.h", + "pmddim.h", + "poll.h", + "Polygon.h", + "portable.h", + "port.h", + "portreg.h", + "Power.h", + "PP_ClassHeaders.cp", + "PP_Constants.h", + "PPCToolbox.h", + "PP_DebugHeaders.cp", + "PP_KeyCodes.h", + "PP_Macros.h", + "PP_Messages.h", + "PP_Prefix.h", + "PP_Resources.h", + "PP_Types.h", + "pratom.h", + "prbit.h", + "prclist.h", + "prcmon.h", + "prcountr.h", + "prcpucfg.h", + "prcvar.h", + "prdtoa.h", + "preenc.h", + "prenv.h", + "prerr.h", + "prerror.h", + "prinet.h", + "prinit.h", + "prinrval.h", + "Printing.h", + "Print/PMPrintingDialogExtensions.h", + "prio.h", + "pripcsem.h", + "private", + "prlink.h", + "prlock.h", + "prlog.h", + "prlong.h", + "prmem.h", + "prmon.h", + "prmwait.h", + "prnetdb.h", + "Processes.h", + "process.h", + "Process.h", + "prolock.h", + "proto/dos.h", + "proto/exec.h", + "prpdce.h", + "prprf.h", + "prproces.h", + "prrng.h", + "prrwlock.h", + "prshma.h", + "prshm.h", + "prsystem.h", + "prthread.h", + "prtime.h", + "prtpool.h", + "prtrace.h", + "prtypes.h", + "prvrsion.h", + "prwin16.h", + "psap.h", + "Pt.h", + "pthread.h", + "pthread_np.h", + "pulse/pulseaudio.h", + "pwd.h", + "Python.h", + "QDOffscreen.h", + "queue", + "Quickdraw.h", + "QuickDraw.h", + "QuickTimeComponents.h", + "quipu/attr.h", + "regex.h", + "Region.h", + "resolv.h", + "Resources.h", + "Retrace.h", + "rld_interface.h", + "Roster.h", + "rpc.h", + "rpcproxy.h", + "rpc/types.h", + "sane/sane.h", + "sane/sanei.h", + "sane/saneopts.h", + "sanitizer/asan_interface.h", + "sanitizer/common_interface_defs.h", + "sched.h", + "Scrap.h", + "Screen.h", + "Script.h", + "ScrollBar.h", + "secasn1.h", + "secasn1t.h", + "seccomon.h", + "secder.h", + "secdert.h", + "secdig.h", + "secdigt.h", + "secerr.h", + "sec.h", + "sechash.h", + "secitem.h", + "secmime.h", + "secmod.h", + "secmodt.h", + "secoid.h", + "secoidt.h", + "secpkcs5.h", + "secpkcs7.h", + "secport.h", + "secrng.h", + "security.h", + "secutil.h", + "semaphore.h", + "servprov.h", + "setjmp.h", + "SFNTLayoutTypes.h", + "SFNTTypes.h", + "sha1.h", + "share.h", + "shellapi.h", + "shlguid.h", + "shlobj.h", + "shsign.h", + "sigcontext.h", + "signal.h", + "SimpleGameSound.h", + "SIOUX.h", + "size_t.h", + "smime.h", + "someincludefile.h", + "soundcard.h", + "Sound.h", + "soundtouch/SoundTouchFactory.h", + "soundtouch/SoundTouch.h", + "spawn.h", + "sqlite3.h", + "sslerr.h", + "ssl.h", + "sslproto.h", + "sslt.h", + "sstream", + "StandardFile.h", + "starlet.h", + "stat.h", + "statreg.cpp", + "statreg.h", + "stdarg.h", + "stdbool.h", + "stddef.h", + "stdint.h", + "stdio.h", + "stdlib.h", + "storage/FindDirectory.h", + "StorageKit.h", + "StringCompare.h", + "string.h", + "String.h", + "strings.h", + "Strings.h", + "StringView.h", + "stropts.h", + "strstrea.h", + "structs.h", + "stsdef.h", + "SupportDefs.h", + "support/String.h", + "support/SupportDefs.h", + "support/TLS.h", + "svrcore.h", + "symconst.h", + "sym.h", + "synch.h", + "syncmgr.h", + "sys/atomic_op.h", + "sys/bitypes.h", + "sys/byteorder.h", + "syscall.h", + "sys/cdefs.h", + "sys/cfgodm.h", + "sys/elf.h", + "sys/endian.h", + "sys/epoll.h", + "sys/errno.h", + "sys/eventfd.h", + "sys/fault.h", + "sys/fcntl.h", + "sys/file.h", + "sys/filio.h", + "sys/frame.h", + "sys/immu.h", + "sys/inotify.h", + "sys/inttypes.h", + "sys/ioccom.h", + "sys/ioctl.h", + "sys/ipc.h", + "sys/klog.h", + "sys/ldr.h", + "sys/link.h", + "sys/locking.h", + "syslog.h", + "sys/lwp.h", + "sys/machine.h", + "sys/mman.h", + "sys/mmu.h", + "sys/mount.h", + "sys/mpctl.h", + "sys/msg.h", + "sys/param.h", + "sys/pda.h", + "sys/poll.h", + "sys/ppc.h", + "sys/prctl.h", + "sys/priv.h", + "sys/procfs.h", + "sys/pstat.h", + "sys/ptrace.h", + "sys/queue.h", + "sys/quota.h", + "sys/reboot.h", + "sys/reg.h", + "sys/regset.h", + "sys/resource.h", + "sys/sched.h", + "sys/select.h", + "sys/sem.h", + "sys/sendfile.h", + "sys/shm.h", + "sys/siginfo.h", + "sys/signal.h", + "sys/socket.h", + "sys/sockio.h", + "sys/sparc/frame.h", + "sys/stack.h", + "sys/statfs.h", + "sys/stat.h", + "sys/statvfs.h", + "sys/syscall.h", + "sys/sysctl.h", + "sys/sysinfo.h", + "sys/sysmacros.h", + "sys/sysmp.h", + "sys/syssgi.h", + "sys/systeminfo.h", + "sys/system_properties.h", + "sys/thr.h", + "sys/timeb.h", + "sys/time.h", + "sys/times.h", + "sys/ttycom.h", + "sys/types.h", + "sys/ucontext.h", + "sys/uio.h", + "sys/un.h", + "sys/unistd.h", + "sys/user.h", + "sys/utsname.h", + "sys/vfs.h", + "sys/wait.h", + "t1tables.h", + "tables.h", + "TArray.h", + "TArrayIterator.h", + "task.h", + "tchar.h", + "TCHAR.H", + "termios.h", + "TextCommon.h", + "TextEdit.h", + "TextEncodingConverter.h", + "TextServices.h", + "TextUtils.h", + "TextView.h", + "th/PCR_Th.h", + "thread.h", + "ThreadManagerTests.h", + "Threads.h", + "time.h", + "Timer.h", + "tlhelp32.h", + "ToolUtils.h", + "tr1/functional", + "trace.h", + "Traps.h", + "ttnameid.h", + "tttables.h", + "typeinfo", + "types.h", + "Types.h", + "UAppleEventsMgr.h", + "UAttachments.h", + "ucontext.h", + "uconv.h", + "UCursor.h", + "UDebugging.h", + "UDesktop.h", + "UDrawingState.h", + "UDrawingUtils.h", + "UEnvironment.h", + "UEventMgr.h", + "UException.h", + "UExtractFromAEDesc.h", + "UGWorld.h", + "UKeyFilters.h", + "ulocks.h", + "ulserrno.h", + "UMemoryMgr.h", + "UModalDialogs.h", + "UNavServicesDialogs.h", + "UnicodeBlockObjects.h", + "UnicodeConverter.h", + "UnicodeUtilities.h", + "unidef.h", + "unikbd.h", + "unistd.h", + "unix.h", + "unixio.h", + "unknwn.h", + "unwind.h", + "UPrinting.h", + "UQuickTime.h", + "UReanimator.h", + "URegions.h", + "URegistrar.h", + "UResourceMgr.h", + "urlhist.h", + "urlmon.h", + "UScrap.h", + "UScreenPort.h", + "UTCUtils.h", + "UTETextAction.h", + "UTEViewTextAction.h", + "UTextEdit.h", + "UTextTraits.h", + "utilmodt.h", + "utilpars.h", + "utilparst.h", + "utilrename.h", + "utime.h", + "UWindows.h", + "values.h", + "varargs.h", + "vcclr.h", + "View.h", + "Volume.h", + "wab.h", + "wait.h", + "wchar.h", + "wctype.h", + "winbase.h", + "win/compobj.h", + "windef.h", + "Window.h", + "windows.h", + "Windows.h", + "windowsx.h", + "Wininet.h", + "winnls.h", + "winperf.h", + "winreg.h", + "Winreg.h", + "winsock2.h", + "winsock.h", + "winspool.h", + "winsvc.h", + "winuser.h", + "winver.h", + "wmem.h", + "workbench/startup.h", + "wtypes.h", + "wx/image.h", + "wx/listctrl.h", + "wx/log.h", + "wx/toolbar.h", + "wx/wx.h", + "wx/xrc/xmlres.h", + "xlocale.h", + "zmouse.h", + "vorbis/codec.h", + "opus/opus.h", + "opus/opus_multistream.h", + "ogg/ogg.h", + "theora/theoradec.h", + "vpx/svc_context.h", + "vpx/vp8.h", + "vpx/vp8cx.h", + "vpx/vp8dx.h", + "vpx/vpx_codec.h", + "vpx/vpx_decoder.h", + "vpx/vpx_encoder.h", + "vpx/vpx_frame_buffer.h", + "vpx/vpx_image.h", + "vpx_mem/vpx_mem.h", ] -if CONFIG['MOZ_X11']: +if CONFIG["MOZ_X11"]: system_headers += [ - 'gdk/gdkx.h', - 'gtk/gtkx.h', - 'X11/cursorfont.h', - 'X11/extensions/Print.h', - 'X11/extensions/scrnsaver.h', - 'X11/extensions/shape.h', - 'X11/extensions/Xcomposite.h', - 'X11/extensions/Xdamage.h', - 'X11/extensions/Xfixes.h', - 'X11/extensions/Xrandr.h', - 'X11/extensions/XShm.h', - 'X11/extensions/XTest.h', - 'X11/ImUtil.h', - 'X11/Intrinsic.h', - 'X11/keysymdef.h', - 'X11/keysym.h', - 'X11/Shell.h', - 'X11/StringDefs.h', - 'X11/Xatom.h', - 'X11/Xft/Xft.h', - 'X11/Xfuncproto.h', - 'X11/X.h', - 'X11/XKBlib.h', - 'X11/Xlib.h', - 'X11/Xlibint.h', - 'X11/Xlib-xcb.h', - 'X11/Xlocale.h', - 'X11/Xos.h', - 'X11/Xutil.h', - 'xcb/shm.h', - 'xcb/xcb.h', + "gdk/gdkx.h", + "gtk/gtkx.h", + "X11/cursorfont.h", + "X11/extensions/Print.h", + "X11/extensions/scrnsaver.h", + "X11/extensions/shape.h", + "X11/extensions/Xcomposite.h", + "X11/extensions/Xdamage.h", + "X11/extensions/Xfixes.h", + "X11/extensions/Xrandr.h", + "X11/extensions/XShm.h", + "X11/extensions/XTest.h", + "X11/ImUtil.h", + "X11/Intrinsic.h", + "X11/keysymdef.h", + "X11/keysym.h", + "X11/Shell.h", + "X11/StringDefs.h", + "X11/Xatom.h", + "X11/Xft/Xft.h", + "X11/Xfuncproto.h", + "X11/X.h", + "X11/XKBlib.h", + "X11/Xlib.h", + "X11/Xlibint.h", + "X11/Xlib-xcb.h", + "X11/Xlocale.h", + "X11/Xos.h", + "X11/Xutil.h", + "xcb/shm.h", + "xcb/xcb.h", ] -if CONFIG['OS_TARGET'] == 'Android': +if CONFIG["OS_TARGET"] == "Android": system_headers += [ - 'android/api-level.h', - 'android/ashmem.h', - 'android_audio/AudioSystem.h', - 'android/log.h', - 'android/looper.h', - 'android/native_window.h', - 'android/native_window_jni.h', - 'audio_effects/effect_aec.h', - 'audio_effects/effect_ns.h', - 'AudioParameter.h', - 'AudioSystem.h', - 'AudioTrack.h', - 'avc_utils.h', - 'binder/Binder.h', - 'binder/BinderService.h', - 'binder/IBinder.h', - 'binder/IInterface.h', - 'binder/IMemory.h', - 'binder/IPCThreadState.h', - 'binder/IPermissionController.h', - 'binder/IServiceManager.h', - 'binder/Parcel.h', - 'binder/ProcessState.h', - 'camera/Camera.h', - 'camera/CameraParameters.h', - 'ColorConverter.h', - 'cutils/android_reboot.h', - 'cutils/atomic.h', - 'cutils/compiler.h', - 'cutils/log.h', - 'cutils/native_handle.h', - 'cutils/properties.h', - 'cutils/sockets.h', - 'foundation/ABase.h', - 'foundation/ABitReader.h', - 'foundation/ABuffer.h', - 'foundation/ADebug.h', - 'foundation/AHandler.h', - 'foundation/AHandlerReflector.h', - 'foundation/ALooper.h', - 'foundation/AMessage.h', - 'foundation/AString.h', - 'foundation/base64.h', - 'foundation/hexdump.h', - 'gui/BufferQueue.h', - 'gui/ConsumerBase.h', - 'gui/GraphicBufferAlloc.h', - 'gui/IConsumerListener.h', - 'gui/IGraphicBufferAlloc.h', - 'gui/IGraphicBufferProducer.h', - 'gui/ISurfaceComposerClient.h', - 'gui/ISurfaceComposer.h', - 'gui/ISurfaceTexture.h', - 'gui/SurfaceComposerClient.h', - 'gui/Surface.h', - 'gui/SurfaceTextureClient.h', - 'hardware/audio.h', - 'hardware/gralloc.h', - 'hardware/hardware.h', - 'hardware/hwcomposer.h', - 'hardware_legacy/power.h', - 'hardware_legacy/uevent.h', - 'hardware_legacy/vibrator.h', - 'hardware/lights.h', - 'hardware/power.h', - 'HTTPBase.h', - 'linux/android_alarm.h', - 'linux/ashmem.h', - 'media/AudioEffect.h', - 'media/AudioSystem.h', - 'media/ICrypto.h', - 'media/IOMX.h', - 'media/MediaProfiles.h', - 'media/MediaRecorderBase.h', - 'media/openmax/OMX_Audio.h', - 'media/stagefright/AACWriter.h', - 'media/stagefright/AMRWriter.h', - 'media/stagefright/AudioSource.h', - 'media/stagefright/DataSource.h', - 'media/stagefright/foundation/ABase.h', - 'media/stagefright/foundation/ABitReader.h', - 'media/stagefright/foundation/ABuffer.h', - 'media/stagefright/foundation/ADebug.h', - 'media/stagefright/foundation/AHandler.h', - 'media/stagefright/foundation/AHandlerReflector.h', - 'media/stagefright/foundation/ALooper.h', - 'media/stagefright/foundation/AMessage.h', - 'media/stagefright/foundation/AString.h', - 'media/stagefright/foundation/base64.h', - 'media/stagefright/foundation/hexdump.h', - 'media/stagefright/MediaBufferGroup.h', - 'media/stagefright/MediaBuffer.h', - 'media/stagefright/MediaCodec.h', - 'media/stagefright/MediaCodecList.h', - 'media/stagefright/MediaCodecSource.h', - 'media/stagefright/MediaDefs.h', - 'media/stagefright/MediaErrors.h', - 'media/stagefright/MediaExtractor.h', - 'media/stagefright/MediaSource.h', - 'media/stagefright/MediaWriter.h', - 'media/stagefright/MetaData.h', - 'media/stagefright/MPEG2TSWriter.h', - 'media/stagefright/MPEG4Writer.h', - 'media/stagefright/OMXClient.h', - 'media/stagefright/OMXCodec.h', - 'media/stagefright/openmax/OMX_Core.h', - 'media/stagefright/openmax/OMX_Index.h', - 'media/stagefright/openmax/OMX_IVCommon.h', - 'media/stagefright/openmax/OMX_Types.h', - 'media/stagefright/openmax/OMX_Video.h', - 'media/stagefright/Utils.h', - 'OMX_Component.h', - 'OMX.h', - 'stagefright/AACWriter.h', - 'stagefright/AMRWriter.h', - 'stagefright/AudioSource.h', - 'stagefright/DataSource.h', - 'stagefright/foundation/ABase.h', - 'stagefright/foundation/ABitReader.h', - 'stagefright/foundation/ABuffer.h', - 'stagefright/foundation/ADebug.h', - 'stagefright/foundation/AHandler.h', - 'stagefright/foundation/AHandlerReflector.h', - 'stagefright/foundation/ALooper.h', - 'stagefright/foundation/AMessage.h', - 'stagefright/foundation/AString.h', - 'stagefright/foundation/base64.h', - 'stagefright/foundation/hexdump.h', - 'stagefright/MediaBufferGroup.h', - 'stagefright/MediaBuffer.h', - 'stagefright/MediaCodec.h', - 'stagefright/MediaDefs.h', - 'stagefright/MediaErrors.h', - 'stagefright/MediaExtractor.h', - 'stagefright/MediaSource.h', - 'stagefright/MediaWriter.h', - 'stagefright/MetaData.h', - 'stagefright/MPEG2TSWriter.h', - 'stagefright/MPEG4Writer.h', - 'stagefright/OMXClient.h', - 'stagefright/OMXCodec.h', - 'stagefright/openmax/OMX_Component.h', - 'stagefright/openmax/OMX_Core.h', - 'stagefright/openmax/OMX_Index.h', - 'stagefright/openmax/OMX_IVCommon.h', - 'stagefright/openmax/OMX_Types.h', - 'stagefright/openmax/OMX_Video.h', - 'stagefright/Utils.h', - 'suspend/autosuspend.h', - 'system/audio.h', - 'system/graphics.h', - 'system/window.h', - 'sysutils/NetlinkEvent.h', - 'ui/ANativeObjectBase.h', - 'ui/egl/android_natives.h', - 'ui/Fence.h', - 'ui/FramebufferNativeWindow.h', - 'ui/GraphicBuffer.h', - 'ui/Rect.h', - 'ui/Region.h', - 'utils/BitSet.h', - 'utils/CallStack.h', - 'utils/Errors.h', - 'utils/FileMap.h', - 'utils/KeyedVector.h', - 'utils/List.h', - 'utils/Log.h', - 'utils/Looper.h', - 'utils/PropertyMap.h', - 'utils/RefBase.h', - 'utils/String16.h', - 'utils/String8.h', - 'utils/TextOutput.h', - 'utils/threads.h', - 'utils/Timers.h', - 'utils/Trace.h', - 'utils/TypeHelpers.h', - 'utils/Unicode.h', - 'utils/Vector.h', - 'utils/VectorImpl.h', - 'vr/gvr/capi/include/gvr_controller.h', - 'vr/gvr/capi/include/gvr.h', + "android/api-level.h", + "android/ashmem.h", + "android_audio/AudioSystem.h", + "android/log.h", + "android/looper.h", + "android/native_window.h", + "android/native_window_jni.h", + "audio_effects/effect_aec.h", + "audio_effects/effect_ns.h", + "AudioParameter.h", + "AudioSystem.h", + "AudioTrack.h", + "avc_utils.h", + "binder/Binder.h", + "binder/BinderService.h", + "binder/IBinder.h", + "binder/IInterface.h", + "binder/IMemory.h", + "binder/IPCThreadState.h", + "binder/IPermissionController.h", + "binder/IServiceManager.h", + "binder/Parcel.h", + "binder/ProcessState.h", + "camera/Camera.h", + "camera/CameraParameters.h", + "ColorConverter.h", + "cutils/android_reboot.h", + "cutils/atomic.h", + "cutils/compiler.h", + "cutils/log.h", + "cutils/native_handle.h", + "cutils/properties.h", + "cutils/sockets.h", + "foundation/ABase.h", + "foundation/ABitReader.h", + "foundation/ABuffer.h", + "foundation/ADebug.h", + "foundation/AHandler.h", + "foundation/AHandlerReflector.h", + "foundation/ALooper.h", + "foundation/AMessage.h", + "foundation/AString.h", + "foundation/base64.h", + "foundation/hexdump.h", + "gui/BufferQueue.h", + "gui/ConsumerBase.h", + "gui/GraphicBufferAlloc.h", + "gui/IConsumerListener.h", + "gui/IGraphicBufferAlloc.h", + "gui/IGraphicBufferProducer.h", + "gui/ISurfaceComposerClient.h", + "gui/ISurfaceComposer.h", + "gui/ISurfaceTexture.h", + "gui/SurfaceComposerClient.h", + "gui/Surface.h", + "gui/SurfaceTextureClient.h", + "hardware/audio.h", + "hardware/gralloc.h", + "hardware/hardware.h", + "hardware/hwcomposer.h", + "hardware_legacy/power.h", + "hardware_legacy/uevent.h", + "hardware_legacy/vibrator.h", + "hardware/lights.h", + "hardware/power.h", + "HTTPBase.h", + "linux/android_alarm.h", + "linux/ashmem.h", + "media/AudioEffect.h", + "media/AudioSystem.h", + "media/ICrypto.h", + "media/IOMX.h", + "media/MediaProfiles.h", + "media/MediaRecorderBase.h", + "media/openmax/OMX_Audio.h", + "media/stagefright/AACWriter.h", + "media/stagefright/AMRWriter.h", + "media/stagefright/AudioSource.h", + "media/stagefright/DataSource.h", + "media/stagefright/foundation/ABase.h", + "media/stagefright/foundation/ABitReader.h", + "media/stagefright/foundation/ABuffer.h", + "media/stagefright/foundation/ADebug.h", + "media/stagefright/foundation/AHandler.h", + "media/stagefright/foundation/AHandlerReflector.h", + "media/stagefright/foundation/ALooper.h", + "media/stagefright/foundation/AMessage.h", + "media/stagefright/foundation/AString.h", + "media/stagefright/foundation/base64.h", + "media/stagefright/foundation/hexdump.h", + "media/stagefright/MediaBufferGroup.h", + "media/stagefright/MediaBuffer.h", + "media/stagefright/MediaCodec.h", + "media/stagefright/MediaCodecList.h", + "media/stagefright/MediaCodecSource.h", + "media/stagefright/MediaDefs.h", + "media/stagefright/MediaErrors.h", + "media/stagefright/MediaExtractor.h", + "media/stagefright/MediaSource.h", + "media/stagefright/MediaWriter.h", + "media/stagefright/MetaData.h", + "media/stagefright/MPEG2TSWriter.h", + "media/stagefright/MPEG4Writer.h", + "media/stagefright/OMXClient.h", + "media/stagefright/OMXCodec.h", + "media/stagefright/openmax/OMX_Core.h", + "media/stagefright/openmax/OMX_Index.h", + "media/stagefright/openmax/OMX_IVCommon.h", + "media/stagefright/openmax/OMX_Types.h", + "media/stagefright/openmax/OMX_Video.h", + "media/stagefright/Utils.h", + "OMX_Component.h", + "OMX.h", + "stagefright/AACWriter.h", + "stagefright/AMRWriter.h", + "stagefright/AudioSource.h", + "stagefright/DataSource.h", + "stagefright/foundation/ABase.h", + "stagefright/foundation/ABitReader.h", + "stagefright/foundation/ABuffer.h", + "stagefright/foundation/ADebug.h", + "stagefright/foundation/AHandler.h", + "stagefright/foundation/AHandlerReflector.h", + "stagefright/foundation/ALooper.h", + "stagefright/foundation/AMessage.h", + "stagefright/foundation/AString.h", + "stagefright/foundation/base64.h", + "stagefright/foundation/hexdump.h", + "stagefright/MediaBufferGroup.h", + "stagefright/MediaBuffer.h", + "stagefright/MediaCodec.h", + "stagefright/MediaDefs.h", + "stagefright/MediaErrors.h", + "stagefright/MediaExtractor.h", + "stagefright/MediaSource.h", + "stagefright/MediaWriter.h", + "stagefright/MetaData.h", + "stagefright/MPEG2TSWriter.h", + "stagefright/MPEG4Writer.h", + "stagefright/OMXClient.h", + "stagefright/OMXCodec.h", + "stagefright/openmax/OMX_Component.h", + "stagefright/openmax/OMX_Core.h", + "stagefright/openmax/OMX_Index.h", + "stagefright/openmax/OMX_IVCommon.h", + "stagefright/openmax/OMX_Types.h", + "stagefright/openmax/OMX_Video.h", + "stagefright/Utils.h", + "suspend/autosuspend.h", + "system/audio.h", + "system/graphics.h", + "system/window.h", + "sysutils/NetlinkEvent.h", + "ui/ANativeObjectBase.h", + "ui/egl/android_natives.h", + "ui/Fence.h", + "ui/FramebufferNativeWindow.h", + "ui/GraphicBuffer.h", + "ui/Rect.h", + "ui/Region.h", + "utils/BitSet.h", + "utils/CallStack.h", + "utils/Errors.h", + "utils/FileMap.h", + "utils/KeyedVector.h", + "utils/List.h", + "utils/Log.h", + "utils/Looper.h", + "utils/PropertyMap.h", + "utils/RefBase.h", + "utils/String16.h", + "utils/String8.h", + "utils/TextOutput.h", + "utils/threads.h", + "utils/Timers.h", + "utils/Trace.h", + "utils/TypeHelpers.h", + "utils/Unicode.h", + "utils/Vector.h", + "utils/VectorImpl.h", + "vr/gvr/capi/include/gvr_controller.h", + "vr/gvr/capi/include/gvr.h", ] -if CONFIG['MOZ_JACK']: +if CONFIG["MOZ_JACK"]: system_headers += [ - 'jack/jack.h', - 'jack/statistics.h', + "jack/jack.h", + "jack/statistics.h", ] -if CONFIG['MOZ_SNDIO']: +if CONFIG["MOZ_SNDIO"]: system_headers += [ - 'sndio.h', + "sndio.h", ] -if CONFIG['MOZ_SYSTEM_JPEG']: +if CONFIG["MOZ_SYSTEM_JPEG"]: system_headers += [ - 'jpeglib.h', + "jpeglib.h", ] -if CONFIG['MOZ_LIBAV_FFT']: +if CONFIG["MOZ_LIBAV_FFT"]: system_headers += [ - 'libavcodec/avfft.h', + "libavcodec/avfft.h", ] -if CONFIG['MOZ_SYSTEM_PNG']: +if CONFIG["MOZ_SYSTEM_PNG"]: system_headers += [ - 'png.h', + "png.h", ] -if CONFIG['MOZ_SYSTEM_WEBP']: +if CONFIG["MOZ_SYSTEM_WEBP"]: system_headers += [ - 'webp/decode.h', - 'webp/demux.h', - 'webp/mux_types.h', - 'webp/types.h', + "webp/decode.h", + "webp/demux.h", + "webp/mux_types.h", + "webp/types.h", ] -if CONFIG['MOZ_SYSTEM_ZLIB']: +if CONFIG["MOZ_SYSTEM_ZLIB"]: system_headers += [ - 'zlib.h', + "zlib.h", ] -if CONFIG['MOZ_SYSTEM_LIBEVENT']: +if CONFIG["MOZ_SYSTEM_LIBEVENT"]: system_headers += [ - 'event2/event_compat.h', - 'event2/event.h', - 'event2/event_struct.h', - 'event.h', + "event2/event_compat.h", + "event2/event.h", + "event2/event_struct.h", + "event.h", ] else: system_headers += [ - 'sys/event.h', + "sys/event.h", ] -if CONFIG['MOZ_ENABLE_LIBPROXY']: +if CONFIG["MOZ_ENABLE_LIBPROXY"]: system_headers += [ - 'proxy.h', + "proxy.h", ] -if CONFIG['MOZ_SYSTEM_ICU']: +if CONFIG["MOZ_SYSTEM_ICU"]: system_headers += [ - 'unicode/calendar.h', - 'unicode/datefmt.h', - 'unicode/dtfmtsym.h', - 'unicode/locid.h', - 'unicode/numberformatter.h', - 'unicode/numsys.h', - 'unicode/plurrule.h', - 'unicode/putil.h', - 'unicode/timezone.h', - 'unicode/ucal.h', - 'unicode/uchar.h', - 'unicode/uclean.h', - 'unicode/ucol.h', - 'unicode/ucurr.h', - 'unicode/udat.h', - 'unicode/udata.h', - 'unicode/udateintervalformat.h', - 'unicode/udatpg.h', - 'unicode/udisplaycontext.h', - 'unicode/uldnames.h', - 'unicode/ulistformatter.h', - 'unicode/uenum.h', - 'unicode/uformattedvalue.h', - 'unicode/umachine.h', - 'unicode/uniset.h', - 'unicode/unistr.h', - 'unicode/unorm.h', - 'unicode/unum.h', - 'unicode/unumberformatter.h', - 'unicode/uobject.h', - 'unicode/upluralrules.h', - 'unicode/ureldatefmt.h', - 'unicode/ures.h', - 'unicode/ustring.h', - 'unicode/utypes.h', + "unicode/calendar.h", + "unicode/datefmt.h", + "unicode/dtfmtsym.h", + "unicode/locid.h", + "unicode/numberformatter.h", + "unicode/numsys.h", + "unicode/plurrule.h", + "unicode/putil.h", + "unicode/timezone.h", + "unicode/ucal.h", + "unicode/uchar.h", + "unicode/uclean.h", + "unicode/ucol.h", + "unicode/ucurr.h", + "unicode/udat.h", + "unicode/udata.h", + "unicode/udateintervalformat.h", + "unicode/udatpg.h", + "unicode/udisplaycontext.h", + "unicode/uldnames.h", + "unicode/ulistformatter.h", + "unicode/uenum.h", + "unicode/uformattedvalue.h", + "unicode/umachine.h", + "unicode/uniset.h", + "unicode/unistr.h", + "unicode/unorm.h", + "unicode/unum.h", + "unicode/unumberformatter.h", + "unicode/uobject.h", + "unicode/upluralrules.h", + "unicode/ureldatefmt.h", + "unicode/ures.h", + "unicode/ustring.h", + "unicode/utypes.h", ] -if CONFIG['MOZ_WAYLAND']: +if CONFIG["MOZ_WAYLAND"]: system_headers += [ - 'xkbcommon/xkbcommon.h', - 'wayland-client.h', - 'wayland-egl.h', - 'wayland-util.h', + "xkbcommon/xkbcommon.h", + "wayland-client.h", + "wayland-egl.h", + "wayland-util.h", ] -if CONFIG['OS_TARGET'] in ('Android', 'Linux', 'FreeBSD'): +if CONFIG["OS_TARGET"] in ("Android", "Linux", "FreeBSD"): system_headers += [ - 'sys/auxv.h', + "sys/auxv.h", ] -if CONFIG['OS_TARGET'] == 'Linux' and CONFIG['CPU_ARCH'].startswith('mips'): +if CONFIG["OS_TARGET"] == "Linux" and CONFIG["CPU_ARCH"].startswith("mips"): system_headers += [ - 'sys/cachectl.h', + "sys/cachectl.h", ] -if CONFIG['OS_TARGET'] == 'FreeBSD': +if CONFIG["OS_TARGET"] == "FreeBSD": system_headers += [ - 'sys/capsicum.h', + "sys/capsicum.h", ] -if CONFIG['MOZ_APP_SYSTEM_HEADERS']: - include("../" + CONFIG['MOZ_BUILD_APP'] + "/app-system-headers.mozbuild") +if CONFIG["MOZ_APP_SYSTEM_HEADERS"]: + include("../" + CONFIG["MOZ_BUILD_APP"] + "/app-system-headers.mozbuild") diff --git a/devtools/client/shared/build/node-templates.mozbuild b/devtools/client/shared/build/node-templates.mozbuild index 4523eaa879308..a45d12e3d0584 100644 --- a/devtools/client/shared/build/node-templates.mozbuild +++ b/devtools/client/shared/build/node-templates.mozbuild @@ -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])] + ) diff --git a/devtools/templates.mozbuild b/devtools/templates.mozbuild index 2951faefce67d..1f4877128d6f0 100644 --- a/devtools/templates.mozbuild +++ b/devtools/templates.mozbuild @@ -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("/"): diff --git a/dom/media/webrtc/third_party_build/webrtc.mozbuild b/dom/media/webrtc/third_party_build/webrtc.mozbuild index 3951e591678c8..319a283f79a44 100644 --- a/dom/media/webrtc/third_party_build/webrtc.mozbuild +++ b/dom/media/webrtc/third_party_build/webrtc.mozbuild @@ -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 diff --git a/extensions/spellcheck/hunspell/glue/common.mozbuild b/extensions/spellcheck/hunspell/glue/common.mozbuild index bcfdc09191d9f..471dd0c325bad 100644 --- a/extensions/spellcheck/hunspell/glue/common.mozbuild +++ b/extensions/spellcheck/hunspell/glue/common.mozbuild @@ -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") diff --git a/ipc/chromium/chromium-config.mozbuild b/ipc/chromium/chromium-config.mozbuild index 7eecf1a86e41e..bafb02feaafd8 100644 --- a/ipc/chromium/chromium-config.mozbuild +++ b/ipc/chromium/chromium-config.mozbuild @@ -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 diff --git a/js/app.mozbuild b/js/app.mozbuild index e9c5f77b23f44..292107c05dcc2 100644 --- a/js/app.mozbuild +++ b/js/app.mozbuild @@ -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/", ] - diff --git a/js/src/js-config.mozbuild b/js/src/js-config.mozbuild index f7ff4c9750480..06d1357805f9b 100644 --- a/js/src/js-config.mozbuild +++ b/js/src/js-config.mozbuild @@ -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 diff --git a/js/src/js-cxxflags.mozbuild b/js/src/js-cxxflags.mozbuild index 8223fc9612f0a..e412566000f12 100644 --- a/js/src/js-cxxflags.mozbuild +++ b/js/src/js-cxxflags.mozbuild @@ -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"] diff --git a/js/src/js-standalone.mozbuild b/js/src/js-standalone.mozbuild index 4fd6122b1e78a..4dcaf04696215 100644 --- a/js/src/js-standalone.mozbuild +++ b/js/src/js-standalone.mozbuild @@ -8,8 +8,8 @@ # Gecko build performs equivalents elsewhere in its configuration. USE_LIBS += [ - 'jsrust', - 'zlib', + "jsrust", + "zlib", ] if CONFIG["OS_ARCH"] == "WINNT": diff --git a/memory/app.mozbuild b/memory/app.mozbuild index d4f9c357df94b..fc8d4f8002c70 100644 --- a/memory/app.mozbuild +++ b/memory/app.mozbuild @@ -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", - ] \ No newline at end of file + ] diff --git a/mobile/android/app.mozbuild b/mobile/android/app.mozbuild index c50cfd9aa23d9..41d998ab8ee6d 100644 --- a/mobile/android/app.mozbuild +++ b/mobile/android/app.mozbuild @@ -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", ] diff --git a/mozglue/build/replace_malloc.mozbuild b/mozglue/build/replace_malloc.mozbuild index 16c8b7271f990..51558dc31a5bd 100644 --- a/mozglue/build/replace_malloc.mozbuild +++ b/mozglue/build/replace_malloc.mozbuild @@ -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"] diff --git a/python/mozbuild/mozbuild/test/backend/data/linkage/templates.mozbuild b/python/mozbuild/mozbuild/test/backend/data/linkage/templates.mozbuild index 1f874060df69d..4c360bae80241 100644 --- a/python/mozbuild/mozbuild/test/backend/data/linkage/templates.mozbuild +++ b/python/mozbuild/mozbuild/test/backend/data/linkage/templates.mozbuild @@ -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() \ No newline at end of file + Binary() diff --git a/python/mozbuild/mozbuild/test/frontend/data/templates/templates.mozbuild b/python/mozbuild/mozbuild/test/frontend/data/templates/templates.mozbuild index 290104bc72170..33b4346dfec7d 100644 --- a/python/mozbuild/mozbuild/test/frontend/data/templates/templates.mozbuild +++ b/python/mozbuild/mozbuild/test/frontend/data/templates/templates.mozbuild @@ -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) diff --git a/security/rlbox/rlbox.mozbuild b/security/rlbox/rlbox.mozbuild index bcb9d562e14d5..8e91eff8ae4e1 100644 --- a/security/rlbox/rlbox.mozbuild +++ b/security/rlbox/rlbox.mozbuild @@ -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 += [ diff --git a/test.mozbuild b/test.mozbuild index 9db5f980d69ad..023ec003f97c5 100644 --- a/test.mozbuild +++ b/test.mozbuild @@ -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", ] diff --git a/toolkit/components/telemetry/telemetry-constants.mozbuild b/toolkit/components/telemetry/telemetry-constants.mozbuild index cd0d20157d0d4..5d1e84a23bc17 100644 --- a/toolkit/components/telemetry/telemetry-constants.mozbuild +++ b/toolkit/components/telemetry/telemetry-constants.mozbuild @@ -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 diff --git a/toolkit/crashreporter/crashreporter.mozbuild b/toolkit/crashreporter/crashreporter.mozbuild index 8d94b5a179fd9..56918ae900755 100644 --- a/toolkit/crashreporter/crashreporter.mozbuild +++ b/toolkit/crashreporter/crashreporter.mozbuild @@ -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 diff --git a/toolkit/library/rust/gkrust-features.mozbuild b/toolkit/library/rust/gkrust-features.mozbuild index 656909294619b..7b0724960f9aa 100644 --- a/toolkit/library/rust/gkrust-features.mozbuild +++ b/toolkit/library/rust/gkrust-features.mozbuild @@ -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] diff --git a/toolkit/toolkit.mozbuild b/toolkit/toolkit.mozbuild index 2e3721e8a5807..acc609ff14b31 100644 --- a/toolkit/toolkit.mozbuild +++ b/toolkit/toolkit.mozbuild @@ -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"] diff --git a/tools/crashreporter/injector/app.mozbuild b/tools/crashreporter/injector/app.mozbuild index 3e7a6f9cf139d..2a514db94d6a1 100644 --- a/tools/crashreporter/injector/app.mozbuild +++ b/tools/crashreporter/injector/app.mozbuild @@ -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", + ] diff --git a/tools/fuzzing/libfuzzer-config.mozbuild b/tools/fuzzing/libfuzzer-config.mozbuild index 91998e0050b7a..e7a40c89ac9a9 100644 --- a/tools/fuzzing/libfuzzer-config.mozbuild +++ b/tools/fuzzing/libfuzzer-config.mozbuild @@ -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 diff --git a/tools/fuzzing/libfuzzer-flags.mozbuild b/tools/fuzzing/libfuzzer-flags.mozbuild index 97f9c6cf45a19..258f4a68c2127 100644 --- a/tools/fuzzing/libfuzzer-flags.mozbuild +++ b/tools/fuzzing/libfuzzer-flags.mozbuild @@ -6,6 +6,5 @@ libfuzzer_flags = [] -if CONFIG['LIBFUZZER_FLAGS']: - libfuzzer_flags += CONFIG['LIBFUZZER_FLAGS'] - +if CONFIG["LIBFUZZER_FLAGS"]: + libfuzzer_flags += CONFIG["LIBFUZZER_FLAGS"] diff --git a/tools/rusttests/app.mozbuild b/tools/rusttests/app.mozbuild index 9a4a225cf502b..cdef0623df93b 100644 --- a/tools/rusttests/app.mozbuild +++ b/tools/rusttests/app.mozbuild @@ -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") diff --git a/tools/update-packaging/app.mozbuild b/tools/update-packaging/app.mozbuild index 9053ec17f1dd7..92fd8822e7afd 100644 --- a/tools/update-packaging/app.mozbuild +++ b/tools/update-packaging/app.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", ] diff --git a/tools/update-programs/app.mozbuild b/tools/update-programs/app.mozbuild index 330d9b11ec548..f14be4af89f59 100644 --- a/tools/update-programs/app.mozbuild +++ b/tools/update-programs/app.mozbuild @@ -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", ] diff --git a/xpcom/glue/objs.mozbuild b/xpcom/glue/objs.mozbuild index cae066e0c9ac2..709fd0c121c17 100644 --- a/xpcom/glue/objs.mozbuild +++ b/xpcom/glue/objs.mozbuild @@ -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]