Bug 1869043 add a main thread record of track audio outputs r=padenot
[gecko.git] / gfx / wgpu_bindings / moz.build
blobdacf117377e0717d9a25b3ae87063290fd41290c
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/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "Graphics: WebGPU")
10 EXPORTS.mozilla.webgpu.ffi += [
11     "wgpu.h",
14 UNIFIED_SOURCES += []
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     )
27     EXPORTS.mozilla.webgpu.ffi += [
28         "!wgpu_ffi_generated.h",
29     ]
32 include("/ipc/chromium/chromium-config.mozbuild")
34 FINAL_LIBRARY = "xul"