moz.build (684B)
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 DisableStlWrapping() 8 9 GeckoCppUnitTests( 10 [ 11 "TestCrossProcessWin", 12 "TestSafeThreadLocal", 13 "TestSameBinary", 14 ], 15 linkage=None, 16 ) 17 18 LOCAL_INCLUDES += [ 19 "/browser/app/winlauncher", 20 ] 21 22 OS_LIBS += [ 23 "ntdll", 24 ] 25 26 if CONFIG["CC_TYPE"] in ("gcc", "clang"): 27 # This allows us to use wmain as the entry point on mingw 28 LDFLAGS += [ 29 "-municode", 30 ]