tor-browser

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

moz.build (1263B)


      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 UNIFIED_SOURCES += [
     17     "AllocationLogging.cpp",
     18     "AllocPolicy.cpp",
     19     "CompleteFile.cpp",
     20     "DumpFunctions.cpp",
     21     "Identifier.cpp",
     22     "NativeStack.cpp",
     23     "Printf.cpp",
     24     "StringBuilder.cpp",
     25     "StructuredSpewer.cpp",
     26     "Text.cpp",
     27     "Unicode.cpp",
     28 ]
     29 
     30 # DoubleToString.cpp cannot be built in unified mode because we want to suppress
     31 #   compiler warnings in third-party dtoa.c.
     32 # Utility.cpp cannot be built in unified mode because it is needed for
     33 #   check-vanilla-allocations.
     34 SOURCES += [
     35     "DoubleToString.cpp",
     36     "Utility.cpp",
     37 ]
     38 
     39 # Suppress warnings in third-party code.
     40 SOURCES["DoubleToString.cpp"].flags += ["-Wno-implicit-fallthrough"]
     41 
     42 if CONFIG["FUZZING_JS_FUZZILLI"]:
     43     include("/tools/fuzzing/libfuzzer-config.mozbuild")