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

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

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: . 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 "$target_gen_dir/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 "$target_gen_dir/data/{{source_file_part}}",
Dirk Pranke 2017/04/01 01:30:56 Can these be in a common directory under root_buil
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ] 225 ]
186 } 226 }
187 227
188 mojom("test_no_sources") { 228 mojom("test_no_sources") {
189 testonly = true 229 testonly = true
190 230
191 public_deps = [ 231 public_deps = [
192 ":test_interfaces", 232 ":test_interfaces",
193 ] 233 ]
194 } 234 }
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