summaryrefslogtreecommitdiff
path: root/chromium/chrome/test/data/BUILD.gn
blob: 460acc5e756c6690d4628a6cb9beaaa66bec6d71 (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
# Copyright 2015 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.

import("//chrome/common/features.gni")
import("//tools/grit/grit_rule.gni")
import("//mojo/public/tools/bindings/mojom.gni")

grit("webui_test_resources") {
  source = "webui_test_resources.grd"
  defines = chrome_grit_defines
  outputs = [
    "test/data/grit/webui_test_resources.h",
    "webui_test_resources.pak",
  ]

  deps = [
    ":web_ui_test_bindings_js",
  ]

  grit_flags = [
    "-E",
    "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
  ]
  output_dir = "$root_gen_dir/chrome"
}

mojom("web_ui_test_bindings") {
  sources = [
    "webui/web_ui_test.mojom",
  ]
}