Debian Codegraph @

intl/components/src/calendar/moz.build

raw
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
7 FINAL_LIBRARY = "intlcomponents"
8
9 EXPORTS.mozilla.intl.calendar = [
10 "ICU4XCalendar.h",
11 "ICU4XChineseBasedCalendar.h",
12 "ICU4XChineseCalendar.h",
13 "ICU4XDangiCalendar.h",
14 "ICU4XUniquePtr.h",
15 "ISODate.h",
16 "MonthCode.h",
17 ]
18
19 LOCAL_INCLUDES += [
20 "/intl/icu_capi/bindings/c",
21 ]
22
23 UNIFIED_SOURCES += [
24 "ICU4XCalendar.cpp",
25 "ICU4XChineseBasedCalendar.cpp",
26 "ICU4XChineseCalendar.cpp",
27 "ICU4XDangiCalendar.cpp",
28 "ISODate.cpp",
29 ]
30
31 # ICU requires RTTI
32 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
33 CXXFLAGS += ["-frtti"]
34 elif CONFIG["OS_TARGET"] == "WINNT":
35 CXXFLAGS += ["-GR"]