moz.build (678B)
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 if CONFIG["COMPILE_ENVIRONMENT"]: 8 # This tells mach to run cbindgen and that this header-file should be created 9 CbindgenHeader( 10 "midir_impl_ffi_generated.h", 11 inputs=["/dom/midi/midir_impl"], 12 ) 13 14 # This tells mach to copy that generated file to obj/dist/includes/mozilla/dom/midi 15 EXPORTS.mozilla.dom.midi += [ 16 "!midir_impl_ffi_generated.h", 17 ]