tor-browser

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

moz.build (962B)


      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 with Files("**"):
      8     BUG_COMPONENT = ("Core", "DOM: Core & HTML")
      9 
     10 if CONFIG["COMPILE_ENVIRONMENT"]:
     11     EXPORTS.mozilla += [
     12         "!origin_trials_ffi_generated.h",
     13     ]
     14 
     15     CbindgenHeader(
     16         "origin_trials_ffi_generated.h",
     17         inputs=["ffi"],
     18     )
     19 
     20     GeneratedFile(
     21         "keys.inc",
     22         inputs=["test.pub", "prod.pub"],
     23         script="gen-keys.py",
     24         entry_point="generate",
     25     )
     26 
     27 MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.toml"]
     28 
     29 EXPORTS.mozilla += [
     30     "OriginTrials.h",
     31     "OriginTrialsIPCUtils.h",
     32 ]
     33 
     34 UNIFIED_SOURCES += [
     35     "OriginTrials.cpp",
     36 ]
     37 
     38 include("/ipc/chromium/chromium-config.mozbuild")
     39 
     40 FINAL_LIBRARY = "xul"