# Copyright 2026 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//mojo/public/tools/bindings/mojom.gni") import("//services/webnn/public/webnn_features.gni") assert(!is_android) mojom("mojo_bindings") { sources = [ "webnn_internals.mojom" ] webui_module_path = "/" public_deps = [ "//mojo/public/mojom/base", "//services/webnn/public/mojom", ] enabled_features = [] if (webnn_enable_graph_dump) { enabled_features += [ "webnn_enable_graph_dump" ] } } source_set("webnn_internals") { public = [ "webnn_internals_ui.h" ] sources = [ "webnn_internals_page_handler_impl.cc", "webnn_internals_page_handler_impl.h", "webnn_internals_ui.cc", ] deps = [ ":mojo_bindings", "//base", "//chrome/browser/profiles:profile", "//chrome/browser/resources/webnn_internals:resources", "//chrome/common", "//content/public/browser", "//ui/base", "//ui/webui", ] }