moz.build (932B)
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", "Security: RLBox") 9 10 EXPORTS.mozilla.rlbox += [ 11 "/third_party/rlbox_wasm2c_sandbox/include/rlbox_wasm2c_sandbox.hpp", 12 "/third_party/rlbox_wasm2c_sandbox/include/rlbox_wasm2c_tls.hpp", 13 ] 14 EXPORTS += [ 15 "/third_party/rlbox_wasm2c_sandbox/include/wasm2c_rt_mem.h", 16 "/third_party/rlbox_wasm2c_sandbox/include/wasm2c_rt_minwasi.h", 17 ] 18 19 SOURCES += [ 20 "/third_party/rlbox_wasm2c_sandbox/src/wasm2c_rt_mem.c", 21 "/third_party/rlbox_wasm2c_sandbox/src/wasm2c_rt_minwasi.c", 22 "rlbox_wasm2c_thread_locals.cpp", 23 ] 24 25 LOCAL_INCLUDES += ["/third_party/wasm2c/wasm2c/"] 26 27 FINAL_LIBRARY = "xul"