0
Files
src/content/app
Reilly Grant 2776ee7be4 webnn: Enable the XNNPACK delegate in the TFLite backend
The code to enable the XNNPACK delegate when the right build flags are
set was accidentally removed in the final version of r1266242.

This change restores that code and refactors the buildflag header target
so that the state of the build_tflite_with_xnnpack flag defined in
//third_party/tflite/features.gni is available in a buildflag header
without depending on //components/optimization_guide.

Bug: 326356909
Change-Id: I609488f260b6844452416a592edcb7cd455cb40e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5363635
Reviewed-by: Robert Ogden <robertogden@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1272511}
2024-03-13 23:56:14 +00:00
..