moz.build (668B)
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 with Files("*"): 7 BUG_COMPONENT = ("Core", "Machine Learning: On Device") 8 9 10 EXPORTS.mozilla.dom += [ 11 "InferenceSession.h", 12 "onnxruntime_c_api.h", 13 "Tensor.h", 14 ] 15 16 UNIFIED_SOURCES += [ 17 "InferenceSession.cpp", 18 "Tensor.cpp", 19 ] 20 21 include("/ipc/chromium/chromium-config.mozbuild") 22 23 LOCAL_INCLUDES += ["/dom/base", "/dom/ipc", "/xpcom/build"] 24 25 FINAL_LIBRARY = "xul"