| OLD | NEW |
| 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") { | 7 group("test_data_deps") { |
| 8 testonly = true | 8 testonly = true |
| 9 deps = [ | |
| 10 ":test_interfaces", | |
| 11 ] | |
| 12 data_deps = [ | 9 data_deps = [ |
| 13 ":test_data", | 10 ":test_interfaces_js_data_deps", |
| 14 ":test_data_list", | 11 ":test_associated_interfaces_js_data_deps", |
| 12 ":validation_test_data", |
| 13 ":validation_test_data_list", |
| 15 ] | 14 ] |
| 16 } | 15 } |
| 17 | 16 |
| 18 copy("test_data") { | 17 copy("validation_test_data") { |
| 19 testonly = true | 18 testonly = true |
| 20 sources = [ | 19 sources = [ |
| 21 "data/validation", | 20 "data/validation", |
| 22 ] | 21 ] |
| 23 outputs = [ | 22 outputs = [ |
| 24 "$root_gen_dir/layout_test_data/{{source_root_relative_dir}}/{{source_file_p
art}}", | 23 "$root_gen_dir/layout_test_data/{{source_root_relative_dir}}/{{source_file_p
art}}", |
| 25 ] | 24 ] |
| 26 } | 25 } |
| 27 | 26 |
| 28 action_foreach("test_data_list") { | 27 action_foreach("validation_test_data_list") { |
| 29 testonly = true | 28 testonly = true |
| 30 script = "//mojo/public/tools/bindings/gen_data_files_list.py" | 29 script = "//mojo/public/tools/bindings/gen_data_files_list.py" |
| 31 sources = [ | 30 sources = [ |
| 32 "data/validation", | 31 "data/validation", |
| 33 ] | 32 ] |
| 34 outputs = [ | 33 outputs = [ |
| 35 "$root_gen_dir/layout_test_data/{{source_root_relative_dir}}/{{source_file_p
art}}_index.txt", | 34 "$root_gen_dir/layout_test_data/{{source_root_relative_dir}}/{{source_file_p
art}}_index.txt", |
| 36 ] | 35 ] |
| 37 args = [ | 36 args = [ |
| 38 "-d", | 37 "-d", |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 ] | 243 ] |
| 245 } | 244 } |
| 246 | 245 |
| 247 mojom("echo") { | 246 mojom("echo") { |
| 248 testonly = true | 247 testonly = true |
| 249 sources = [ | 248 sources = [ |
| 250 "echo.mojom", | 249 "echo.mojom", |
| 251 "echo_import/echo_import.mojom", | 250 "echo_import/echo_import.mojom", |
| 252 ] | 251 ] |
| 253 } | 252 } |
| OLD | NEW |