Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: mojo/public/interfaces/bindings/tests/BUILD.gn

Issue 2853293003: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: moves index file outside data dir Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/edk/js/tests/run_js_unittests.cc ('k') | mojo/public/js/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("../../../tools/bindings/mojom.gni") 5 import("../../../tools/bindings/mojom.gni")
6 6
7 group("tests") {
8 testonly = true
9 deps = [
10 ":test_interfaces",
11 ]
12 data_deps = [
13 ":test_data",
14 ":test_data_list",
15 ]
16 }
17
18 copy("test_data") {
19 testonly = true
20 sources = [
21 "data/validation",
22 ]
23 outputs = [
24 "$root_gen_dir/layout_test_data/{{source_root_relative_dir}}/{{source_file_p art}}",
25 ]
26 }
27
28 action_foreach("test_data_list") {
29 testonly = true
30 script = "//mojo/public/tools/bindings/gen_data_files_list.py"
31 sources = [
32 "data/validation",
33 ]
34 outputs = [
35 "$root_gen_dir/layout_test_data/{{source_root_relative_dir}}/{{source_file_p art}}_index.txt",
36 ]
37 args = [
38 "-d",
39 rebase_path(sources[0], root_build_dir),
40 "-o",
41 rebase_path(outputs[0], root_build_dir),
42 ]
43 }
44
7 mojom("test_interfaces") { 45 mojom("test_interfaces") {
8 testonly = true 46 testonly = true
9 sources = [ 47 sources = [
10 "math_calculator.mojom", 48 "math_calculator.mojom",
11 "no_module.mojom", 49 "no_module.mojom",
12 "ping_service.mojom", 50 "ping_service.mojom",
13 "rect.mojom", 51 "rect.mojom",
14 "regression_tests.mojom", 52 "regression_tests.mojom",
15 "sample_factory.mojom", 53 "sample_factory.mojom",
16 "sample_interfaces.mojom", 54 "sample_interfaces.mojom",
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } 233 }
196 234
197 mojom("echo") { 235 mojom("echo") {
198 testonly = true 236 testonly = true
199 sources = [ 237 sources = [
200 "echo.mojom", 238 "echo.mojom",
201 "echo_import.mojom", 239 "echo_import.mojom",
202 ] 240 ]
203 use_new_js_bindings = true 241 use_new_js_bindings = true
204 } 242 }
OLDNEW
« no previous file with comments | « mojo/edk/js/tests/run_js_unittests.cc ('k') | mojo/public/js/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698