This makes sure that __FILE__ path separators are consistent regardless of the build host, which allows us to remove some chromium base/location.cc changes. Add a literal type to make using the appropriate separator less awkward. Document it as matching __FILE__ syntax, which is what it is. Differential Revision: https://phabricator.services.mozilla.com/D297316
58 lines
1.3 KiB
INI
58 lines
1.3 KiB
INI
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# 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/.
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Core", "String")
|
|
|
|
EXPORTS += [
|
|
"nsASCIIMask.h",
|
|
"nsAString.h",
|
|
"nsCharTraits.h",
|
|
"nsDependentString.h",
|
|
"nsDependentSubstring.h",
|
|
"nsFmtString.h",
|
|
"nsLiteralString.h",
|
|
"nsPrintfCString.h",
|
|
"nsPromiseFlatString.h",
|
|
"nsReadableUtils.h",
|
|
"nsString.h",
|
|
"nsStringFlags.h",
|
|
"nsStringFwd.h",
|
|
"nsStringIterator.h",
|
|
"nsTDependentString.h",
|
|
"nsTDependentSubstring.h",
|
|
"nsTextFormatter.h",
|
|
"nsTLiteralString.h",
|
|
"nsTPromiseFlatString.h",
|
|
"nsTString.h",
|
|
"nsTStringHasher.h",
|
|
"nsTStringRepr.h",
|
|
"nsTSubstring.h",
|
|
"nsTSubstringTuple.h",
|
|
"nsUTF8Utils.h",
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
"RustRegex.h",
|
|
"SourcePathLiteral.h",
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
"nsASCIIMask.cpp",
|
|
"nsReadableUtils.cpp",
|
|
"nsTDependentString.cpp",
|
|
"nsTDependentSubstring.cpp",
|
|
"nsTextFormatter.cpp",
|
|
"nsTLiteralString.cpp",
|
|
"nsTPromiseFlatString.cpp",
|
|
"nsTString.cpp",
|
|
"nsTStringComparator.cpp",
|
|
"nsTStringRepr.cpp",
|
|
"nsTSubstring.cpp",
|
|
"nsTSubstringTuple.cpp",
|
|
"RustStringAPI.cpp",
|
|
]
|
|
|
|
FINAL_LIBRARY = "xul"
|