| # Copyright 2021 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//ui/webui/resources/tools/build_webui.gni") |
| |
| assert(!is_android) |
| |
| build_webui("build") { |
| grd_prefix = "user_education_internals" |
| |
| static_files = [ "index.html" ] |
| |
| web_component_files = [ |
| "user_education_internals.ts", |
| "user_education_internals_card.ts", |
| ] |
| |
| mojo_files_deps = [ "//chrome/browser/ui/webui/internals/user_education:mojo_bindings_ts__generator" ] |
| mojo_files = [ "$root_gen_dir/chrome/browser/ui/webui/internals/user_education/user_education_internals.mojom-webui.ts" ] |
| |
| ts_deps = [ |
| "//third_party/polymer/v3_0:library", |
| "//ui/webui/resources/cr_components/color_change_listener:build_ts", |
| "//ui/webui/resources/cr_components/help_bubble:build_ts", |
| "//ui/webui/resources/cr_elements:build_ts", |
| "//ui/webui/resources/js:build_ts", |
| "//ui/webui/resources/mojo:build_ts", |
| ] |
| |
| generate_grdp = true |
| grd_resource_path_prefix = "user-education" |
| } |