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

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

Issue 2759563004: Mojo JS bindings: change module loading solution. (Closed)
Patch Set: Make sure mojo_bindings.js is packaged in build result for running layout tests. 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
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 mojom("test_interfaces") { 7 mojom("test_interfaces") {
8 testonly = true 8 testonly = true
9 sources = [ 9 sources = [
10 "math_calculator.mojom", 10 "math_calculator.mojom",
11 "no_module.mojom", 11 "no_module.mojom",
12 "ping_service.mojom", 12 "ping_service.mojom",
13 "rect.mojom", 13 "rect.mojom",
14 "regression_tests.mojom", 14 "regression_tests.mojom",
15 "sample_factory.mojom", 15 "sample_factory.mojom",
16 "sample_interfaces.mojom", 16 "sample_interfaces.mojom",
17 "sample_service.mojom", 17 "sample_service.mojom",
18 "scoping.mojom", 18 "scoping.mojom",
19 "serialization_test_structs.mojom", 19 "serialization_test_structs.mojom",
20 "test_bad_messages.mojom", 20 "test_bad_messages.mojom",
21 "test_constants.mojom", 21 "test_constants.mojom",
22 "test_data_view.mojom", 22 "test_data_view.mojom",
23 "test_native_types.mojom", 23 "test_native_types.mojom",
24 "test_structs.mojom", 24 "test_structs.mojom",
25 "test_sync_methods.mojom", 25 "test_sync_methods.mojom",
26 "test_unions.mojom", 26 "test_unions.mojom",
27 "validation_test_interfaces.mojom", 27 "validation_test_interfaces.mojom",
28 ] 28 ]
29 public_deps = [ 29 public_deps = [
30 ":echo",
30 ":test_mojom_import", 31 ":test_mojom_import",
31 ":test_mojom_import2", 32 ":test_mojom_import2",
32 ] 33 ]
33 } 34 }
34 35
35 component("test_export_component") { 36 component("test_export_component") {
36 testonly = true 37 testonly = true
37 deps = [ 38 deps = [
38 ":test_export", 39 ":test_export",
39 ] 40 ]
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ] 186 ]
186 } 187 }
187 188
188 mojom("test_no_sources") { 189 mojom("test_no_sources") {
189 testonly = true 190 testonly = true
190 191
191 public_deps = [ 192 public_deps = [
192 ":test_interfaces", 193 ":test_interfaces",
193 ] 194 ]
194 } 195 }
196
197 mojom("echo") {
198 testonly = true
199 sources = [
200 "echo.mojom",
201 "echo_import.mojom",
202 ]
203 use_new_js_bindings = true
204 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698