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

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

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: test file contents Created 3 years, 8 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_data",
11 ":test_interfaces",
12 ]
13 }
14
15 group("test_data") {
16 deps = [
17 ":validation_test_data",
18 ":validation_test_data_list",
19 ]
20 }
21
22 action("validation_test_data_list") {
23 script = "//mojo/public/tools/bindings/gen_data_files_list.py"
24 sources = [
25 "data/validation",
26 ]
27 outputs = [
28 "$root_gen_dir/layout_test_data/validation_files.txt",
29 ]
30 args = [
31 "-d",
32 rebase_path("data/validation", root_build_dir),
33 "-o",
34 rebase_path(outputs[0], root_build_dir),
35 ]
36 }
37
38 copy("validation_test_data") {
39 sources = [
40 "data/validation",
41 ]
42 outputs = [
43 "$root_gen_dir/layout_test_data/{{source_file_part}}",
44 ]
45 }
46
7 mojom("test_interfaces") { 47 mojom("test_interfaces") {
8 testonly = true 48 testonly = true
9 sources = [ 49 sources = [
10 "math_calculator.mojom", 50 "math_calculator.mojom",
11 "no_module.mojom", 51 "no_module.mojom",
12 "ping_service.mojom", 52 "ping_service.mojom",
13 "rect.mojom", 53 "rect.mojom",
14 "regression_tests.mojom", 54 "regression_tests.mojom",
15 "sample_factory.mojom", 55 "sample_factory.mojom",
16 "sample_interfaces.mojom", 56 "sample_interfaces.mojom",
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } 235 }
196 236
197 mojom("echo") { 237 mojom("echo") {
198 testonly = true 238 testonly = true
199 sources = [ 239 sources = [
200 "echo.mojom", 240 "echo.mojom",
201 "echo_import.mojom", 241 "echo_import.mojom",
202 ] 242 ]
203 use_new_js_bindings = true 243 use_new_js_bindings = true
204 } 244 }
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