moz.build (739B)
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 EXPORTS += [ 8 "mar.h", 9 "mar_cmdline.h", 10 ] 11 12 HOST_SOURCES += [ 13 "mar_create.c", 14 "mar_extract.c", 15 "mar_read.c", 16 ] 17 HostLibrary("hostmar") 18 19 LOCAL_INCLUDES += [ 20 "../../../other-licenses/nsis/Contrib/CityHash/cityhash", 21 ] 22 23 if CONFIG["MOZ_BUILD_APP"] != "tools/update-packaging": 24 Library("mar") 25 26 UNIFIED_SOURCES += HOST_SOURCES 27 28 FORCE_STATIC_LIB = True 29 30 if CONFIG["OS_ARCH"] == "WINNT": 31 USE_STATIC_MSVCRT = True