summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/feedback/BUILD.gn
blob: a97f116bb1bc12d2c710e92491d8b02d8a93ba57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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("//build/config/chromeos/ui_mode.gni")
import("//chrome/browser/resources/tools/build_webui.gni")
import("//chrome/common/features.gni")

assert(!is_android)

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

  static_files = [
    "css/common.css",
    "css/feedback.css",
    "css/feedback_shared_styles.css",
    "css/feedback_shared_vars.css",
    "css/sys_info.css",
    "html/default.html",
    "html/sys_info.html",
    "images/2x/button_butter_bar_close_hover.png",
    "images/2x/button_butter_bar_close.png",
    "images/2x/button_butter_bar_close_pressed.png",
    "images/button_butter_bar_close_hover.png",
    "images/button_butter_bar_close.png",
    "images/button_butter_bar_close_pressed.png",
  ]

  if (is_chromeos_ash) {
    static_files += [
      "css/assistant_logs_info.css",
      "html/assistant_logs_info.html",
      "html/bluetooth_logs_info.html",
    ]
  }

  non_web_component_files = [
    "js/feedback.ts",
    "js/feedback_util.ts",
    "js/questionnaire.ts",
    "js/sys_info.ts",
    "js/take_screenshot.ts",
  ]

  ts_definitions = [
    "//tools/typescript/definitions/feedback_private.d.ts",
    "//tools/typescript/definitions/chrome_send.d.ts",
  ]
  ts_deps = [ "//ui/webui/resources:library" ]
  ts_use_local_config = false
}