| # 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", |
| ] |
| } |