| 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 test_interfaces_mojom = [ |
| 8 "math_calculator.mojom", |
| 9 "no_module.mojom", |
| 10 "ping_service.mojom", |
| 11 "rect.mojom", |
| 12 "regression_tests.mojom", |
| 13 "sample_factory.mojom", |
| 14 "sample_import.mojom", |
| 15 "sample_import2.mojom", |
| 16 "sample_interfaces.mojom", |
| 17 "sample_service.mojom", |
| 18 "scoping.mojom", |
| 19 "serialization_test_structs.mojom", |
| 20 "test_constants.mojom", |
| 21 "test_native_types.mojom", |
| 22 "test_structs.mojom", |
| 23 "test_sync_methods.mojom", |
| 24 "validation_test_interfaces.mojom", |
| 25 ] |
| 26 |
| 7 mojom("test_interfaces") { | 27 mojom("test_interfaces") { |
| 8 testonly = true | 28 testonly = true |
| 9 sources = [ | 29 sources = test_interfaces_mojom |
| 10 "math_calculator.mojom", | |
| 11 "no_module.mojom", | |
| 12 "ping_service.mojom", | |
| 13 "rect.mojom", | |
| 14 "regression_tests.mojom", | |
| 15 "sample_factory.mojom", | |
| 16 "sample_import.mojom", | |
| 17 "sample_import2.mojom", | |
| 18 "sample_interfaces.mojom", | |
| 19 "sample_service.mojom", | |
| 20 "scoping.mojom", | |
| 21 "serialization_test_structs.mojom", | |
| 22 "test_constants.mojom", | |
| 23 "test_structs.mojom", | |
| 24 "test_sync_methods.mojom", | |
| 25 "validation_test_interfaces.mojom", | |
| 26 ] | |
| 27 } | 30 } |
| 28 | 31 |
| 29 mojom("test_struct_traits_interfaces") { | 32 mojom("test_struct_traits_interfaces") { |
| 30 testonly = true | 33 testonly = true |
| 31 sources = [ | 34 sources = [ |
| 32 "struct_with_traits.mojom", | 35 "struct_with_traits.mojom", |
| 33 ] | 36 ] |
| 34 | 37 |
| 35 typemaps = [ "struct_with_traits.typemap" ] | 38 typemaps = [ "struct_with_traits.typemap" ] |
| 36 } | 39 } |
| 37 | 40 |
| 38 mojom("test_interfaces_experimental") { | 41 mojom("test_interfaces_experimental") { |
| 39 testonly = true | 42 testonly = true |
| 40 sources = [ | 43 sources = [ |
| 41 "test_unions.mojom", | 44 "test_unions.mojom", |
| 42 ] | 45 ] |
| 43 } | 46 } |
| 44 | 47 |
| 45 mojom("test_associated_interfaces") { | 48 mojom("test_associated_interfaces") { |
| 46 # These files are not included in the test_interfaces target because | 49 # These files are not included in the test_interfaces target because |
| 47 # associated interfaces are not supported by all bindings languages yet. | 50 # associated interfaces are not supported by all bindings languages yet. |
| 48 testonly = true | 51 testonly = true |
| 49 sources = [ | 52 sources = [ |
| 50 "test_associated_interfaces.mojom", | 53 "test_associated_interfaces.mojom", |
| 51 "validation_test_associated_interfaces.mojom", | 54 "validation_test_associated_interfaces.mojom", |
| 52 ] | 55 ] |
| 53 } | 56 } |
| 54 | 57 |
| 55 mojom("versioning_test_service_interfaces") { | 58 mojom("versioning_test_service_interfaces") { |
| 56 # FIXME: Dart packaged applications cannot depend on testonly mojoms. | 59 testonly = true |
| 57 # testonly = true | |
| 58 sources = [ | 60 sources = [ |
| 59 "versioning_test_service.mojom", | 61 "versioning_test_service.mojom", |
| 60 ] | 62 ] |
| 61 } | 63 } |
| 62 | 64 |
| 63 mojom("versioning_test_client_interfaces") { | 65 mojom("versioning_test_client_interfaces") { |
| 64 # FIXME: Dart packaged applications cannot depend on testonly mojoms. | 66 testonly = true |
| 65 # testonly = true | |
| 66 sources = [ | 67 sources = [ |
| 67 "versioning_test_client.mojom", | 68 "versioning_test_client.mojom", |
| 68 ] | 69 ] |
| 69 } | 70 } |
| 70 | 71 |
| 71 mojom("test_interfaces_chromium") { | 72 mojom("test_interfaces_chromium") { |
| 72 testonly = true | 73 testonly = true |
| 73 | 74 |
| 74 sources = [ | 75 sources = test_interfaces_mojom |
| 75 "test_native_types.mojom", | |
| 76 ] | |
| 77 | 76 |
| 78 variant = "chromium" | 77 variant = "chromium" |
| 79 typemaps = [ "chromium_test.typemap" ] | 78 typemaps = [ "chromium_test.typemap" ] |
| 80 | |
| 81 public_deps = [ | |
| 82 ":test_interfaces", | |
| 83 ] | |
| 84 } | 79 } |
| 85 | 80 |
| 86 mojom("test_interfaces_blink") { | 81 mojom("test_interfaces_blink") { |
| 87 testonly = true | 82 testonly = true |
| 88 | 83 |
| 89 sources = [ | 84 sources = test_interfaces_mojom |
| 90 "test_native_types.mojom", | |
| 91 ] | |
| 92 | 85 |
| 93 variant = "blink" | 86 variant = "blink" |
| 94 typemaps = [ "blink_test.typemap" ] | 87 typemaps = [ "blink_test.typemap" ] |
| 95 | |
| 96 public_deps = [ | |
| 97 ":test_interfaces", | |
| 98 ] | |
| 99 } | 88 } |
| 100 | 89 |
| 101 mojom("test_wtf_types") { | 90 mojom("test_wtf_types") { |
| 102 testonly = true | 91 testonly = true |
| 103 | 92 |
| 104 sources = [ | 93 sources = [ |
| 105 "test_wtf_types.mojom", | 94 "test_wtf_types.mojom", |
| 106 ] | 95 ] |
| 107 } | 96 } |
| 108 | 97 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 120 mojom("test_variant") { | 109 mojom("test_variant") { |
| 121 testonly = true | 110 testonly = true |
| 122 | 111 |
| 123 sources = [ | 112 sources = [ |
| 124 "test_variant.mojom", | 113 "test_variant.mojom", |
| 125 "test_variant_import.mojom", | 114 "test_variant_import.mojom", |
| 126 ] | 115 ] |
| 127 | 116 |
| 128 variant = "variant_test" | 117 variant = "variant_test" |
| 129 } | 118 } |
| OLD | NEW |