moz.build (1038B)
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 = "js" 8 9 # Includes should be relative to parent path 10 LOCAL_INCLUDES += ["!../..", "../.."] 11 12 include("../../js-compileflags.mozbuild") 13 include("../../js-config.mozbuild") 14 include("../../js-cxxflags.mozbuild") 15 16 LOCAL_INCLUDES += [ 17 "/intl/icu_capi/bindings/cpp", 18 ] 19 20 UNIFIED_SOURCES += [ 21 "Calendar.cpp", 22 "CalendarFields.cpp", 23 "Duration.cpp", 24 "Instant.cpp", 25 "Int96.cpp", 26 "PlainDate.cpp", 27 "PlainDateTime.cpp", 28 "PlainMonthDay.cpp", 29 "PlainTime.cpp", 30 "PlainYearMonth.cpp", 31 "Temporal.cpp", 32 "TemporalNow.cpp", 33 "TemporalParser.cpp", 34 "TimeZone.cpp", 35 "ToString.cpp", 36 "ZonedDateTime.cpp", 37 ] 38 39 if CONFIG["FUZZING_JS_FUZZILLI"]: 40 include("/tools/fuzzing/libfuzzer-config.mozbuild")