summaryrefslogtreecommitdiffstats
path: root/chrome/third_party/chromevox/BUILD.gn
blob: 3e161c65543de85b6e611f1e7b5cf3b2c6f17475 (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
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

if (is_chromeos) {
  import("//chrome/browser/resources/chromeos/chromevox/chromevox.gni")

  chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox"

  group("chromevox_third_party_resources") {
    deps = [
      ":chromevox_third_party_background_resources",
      ":chromevox_third_party_injected_resources",
    ]
  }

  copy("chromevox_third_party_background_resources") {
    sources = [
      "chromevox/background/chrome_shared2.css",
      "chromevox/background/options.css",
      "chromevox/background/options_widgets.css",
    ]
    outputs = [
      "$chromevox_out_dir/chromevox/background/{{source_file_part}}",
    ]
  }

  copy("chromevox_third_party_injected_resources") {
    sources = [
      "chromevox/injected/mathjax.js",
      "chromevox/injected/mathjax_external_util.js",
    ]
    outputs = [
      "$chromevox_out_dir/chromevox/injected/{{source_file_part}}",
    ]
  }
}