For what it's worth, if this library tries to access local files this
is not going to work inside of blink because of the sandbox
(
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox.md)
You'd probably have to figure out some kind of mojo interface for that.
Christian
On Wed, Mar 22, 2023 at 9:36 AM Sashank Silwal <
sashank...@gmail.com> wrote:
>
> I'm attempting to integrate onnxruntime with the blink renderer in order to categorize all JavaScript code and only download the ones labeled as "required" during subsequent visits to the website.
>
>
> The onnxruntime consists of header files and a dynamic library file (libonnxruntime.so). How can I integrate (build and link) it with the Chromium browser, particularly the blink engine, so that I can utilize its functionality in the ScriptResource.cc file located in the blink/renderer/core/loader/resource directory?
>
> --
> You received this message because you are subscribed to the Google Groups "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
blink-dev+...@chromium.org.
> To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/38231a16-3ca0-49b7-a207-9b3d7f513077n%40chromium.org.