chromium/chrome/browser/resources/sync_file_system_internals/BUILD.gn

# Copyright 2020 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(enable_extensions, "enable extensions check failed")

build_webui("build") {
  grd_prefix = "sync_file_system_internals"

  static_files = [
    "main.html",
    "main.css",
  ]

  non_web_component_files = [
    "dump_database.ts",
    "extension_statuses.ts",
    "file_metadata.ts",
    "sync_service.ts",
    "task_log.ts",
    "utils.ts",
  ]

  ts_deps = [
    "//ui/webui/resources/cr_elements:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
  ts_definitions = [ "//tools/typescript/definitions/chrome_send.d.ts" ]
  webui_context_type = "trusted"
}