tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (2543B)


      1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
      2 # vim: set filetype=python:
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      6 EXPORTS.mozilla.intl = [
      7     "src/Bidi.h",
      8     "src/BidiClass.h",
      9     "src/BidiEmbeddingLevel.h",
     10     "src/Calendar.h",
     11     "src/Collator.h",
     12     "src/Currency.h",
     13     "src/DateIntervalFormat.h",
     14     "src/DateTimeFormat.h",
     15     "src/DateTimePart.h",
     16     "src/DateTimePatternGenerator.h",
     17     "src/DisplayNames.h",
     18     "src/FormatBuffer.h",
     19     "src/GeneralCategory.h",
     20     "src/ICU4CGlue.h",
     21     "src/ICU4CLibrary.h",
     22     "src/ICUError.h",
     23     "src/ListFormat.h",
     24     "src/Locale.h",
     25     "src/LocaleCanonicalizer.h",
     26     "src/MeasureUnit.h",
     27     "src/MeasureUnitGenerated.h",
     28     "src/NumberFormat.h",
     29     "src/NumberingSystem.h",
     30     "src/NumberParser.h",
     31     "src/NumberPart.h",
     32     "src/NumberRangeFormat.h",
     33     "src/PluralRules.h",
     34     "src/RelativeTimeFormat.h",
     35     "src/String.h",
     36     "src/TimeZone.h",
     37     "src/UnicodeProperties.h",
     38     "src/UnicodeScriptCodes.h",
     39 ]
     40 
     41 UNIFIED_SOURCES += [
     42     "src/Bidi.cpp",
     43     "src/BidiEmbeddingLevel.cpp",
     44     "src/Calendar.cpp",
     45     "src/Collator.cpp",
     46     "src/Currency.cpp",
     47     "src/DateIntervalFormat.cpp",
     48     "src/DateTimeFormat.cpp",
     49     "src/DateTimeFormatUtils.cpp",
     50     "src/DateTimePatternGenerator.cpp",
     51     "src/DisplayNames.cpp",
     52     "src/ICU4CGlue.cpp",
     53     "src/ICU4CLibrary.cpp",
     54     "src/ListFormat.cpp",
     55     "src/Locale.cpp",
     56     "src/LocaleCanonicalizer.cpp",
     57     "src/LocaleGenerated.cpp",
     58     "src/MeasureUnit.cpp",
     59     "src/NumberFormat.cpp",
     60     "src/NumberFormatFields.cpp",
     61     "src/NumberFormatterSkeleton.cpp",
     62     "src/NumberingSystem.cpp",
     63     "src/NumberParser.cpp",
     64     "src/NumberRangeFormat.cpp",
     65     "src/PluralRules.cpp",
     66     "src/RelativeTimeFormat.cpp",
     67     "src/String.cpp",
     68     "src/TimeZone.cpp",
     69 ]
     70 
     71 if not CONFIG["JS_STANDALONE"]:
     72     TEST_DIRS += ["gtest"]
     73 
     74 LOCAL_INCLUDES += [
     75     "/intl/icu_capi/bindings/cpp",
     76 ]
     77 
     78 if not CONFIG["MOZ_SYSTEM_ICU"]:
     79     DIRS += ["src/calendar"]
     80 
     81 # At the time of this writing the MOZ_HAS_MOZGLUE define must be true in order to
     82 # correctly include ConvertUtf8toUtf16 in certain include paths, otherwise it results
     83 # in a compile time "undeclared identifier" error. See:
     84 # https://searchfox.org/mozilla-central/rev/6371054f6260a5f8844846439297547f7cfeeedd/mfbt/Utf8.h#277
     85 DEFINES["MOZ_HAS_MOZGLUE"] = True
     86 
     87 Library("intlcomponents")