tor-browser

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

moz.build (863B)


      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", "Graphics: WebGPU")
      9 
     10 EXPORTS.mozilla.webgpu.ffi += [
     11     "wgpu.h",
     12 ]
     13 
     14 UNIFIED_SOURCES += []
     15 
     16 if CONFIG["COMPILE_ENVIRONMENT"]:
     17     CbindgenHeader(
     18         "wgpu_ffi_generated.h",
     19         inputs=[
     20             "/gfx/wgpu_bindings",
     21             "/third_party/rust/wgpu-core",
     22             "/third_party/rust/wgpu-hal",
     23             "/third_party/rust/wgpu-types",
     24         ],
     25     )
     26 
     27     EXPORTS.mozilla.webgpu.ffi += [
     28         "!wgpu_ffi_generated.h",
     29     ]
     30 
     31 
     32 include("/ipc/chromium/chromium-config.mozbuild")
     33 
     34 FINAL_LIBRARY = "xul"