tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (653B)


      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 GeckoSimplePrograms(
      8     [
      9         "SmokeDMD",
     10     ],
     11     linkage=None,
     12 )
     13 
     14 # See the comment at the top of SmokeDMD.cpp:RunTests().
     15 if CONFIG["CC_TYPE"] == "clang-cl":
     16     CXXFLAGS += ["-Od", "-clang:-fno-lto"]
     17 else:
     18     CXXFLAGS += ["-O0", "-fno-lto"]
     19 
     20 DEFINES["MOZ_NO_MOZALLOC"] = True
     21 
     22 DisableStlWrapping()
     23 
     24 XPCSHELL_TESTS_MANIFESTS += [
     25     "xpcshell.toml",
     26 ]