moz.build (781B)
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 Library("icui18n") 8 FINAL_LIBRARY = "icu" 9 10 DEFINES["U_I18N_IMPLEMENTATION"] = True 11 DEFINES["_LIBCPP_DISABLE_DEPRECATION_WARNINGS"] = True 12 13 LOCAL_INCLUDES += ["/intl/icu/source/common"] 14 LOCAL_INCLUDES += ["/mfbt/double-conversion"] 15 16 include("../defs.mozbuild") 17 include("sources.mozbuild") 18 19 SOURCES += sources 20 21 if CONFIG["TARGET_ENDIANNESS"] == "big": 22 HostLibrary("host_icui18n") 23 HOST_DEFINES["U_I18N_IMPLEMENTATION"] = True 24 HOST_SOURCES += sources 25 HOST_SOURCES += other_sources