| # Copyright 2023 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 = "side_panel_user_notes" |
| |
| static_files = [ |
| "images/user_notes_empty.svg", |
| "images/user_notes_empty_dark.svg", |
| "user_notes.html", |
| ] |
| |
| web_component_files = [ |
| "app.ts", |
| "user_note.ts", |
| "user_note_menu.ts", |
| "user_notes_list.ts", |
| "user_note_overview_row.ts", |
| "user_note_overview_row_menu.ts", |
| "user_note_overviews_list.ts", |
| ] |
| |
| non_web_component_files = [ "user_notes_api_proxy.ts" ] |
| |
| icons_html_files = [ "icons.html" ] |
| |
| mojo_files_deps = [ "//chrome/browser/ui/webui/side_panel/user_notes:mojo_bindings_ts__generator" ] |
| mojo_files = [ "$root_gen_dir/chrome/browser/ui/webui/side_panel/user_notes/user_notes.mojom-webui.ts" ] |
| |
| ts_composite = true |
| ts_deps = [ |
| "//third_party/polymer/v3_0:library", |
| "//ui/webui/resources/cr_elements:build_ts", |
| "//ui/webui/resources/js:build_ts", |
| "//ui/webui/resources/mojo:build_ts", |
| ] |
| } |