# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
with Files("*"):
    BUG_COMPONENT = ("Core", "Machine Learning: On Device")


EXPORTS.mozilla.dom += [
    "InferenceSession.h",
    "onnxruntime_c_api.h",
    "Tensor.h",
]

UNIFIED_SOURCES += [
    "InferenceSession.cpp",
    "Tensor.cpp",
]

include("/ipc/chromium/chromium-config.mozbuild")

LOCAL_INCLUDES += ["/dom/base", "/dom/ipc", "/xpcom/build"]

FINAL_LIBRARY = "xul"
