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 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", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 mojom("versioning_test_client_interfaces") { | 62 mojom("versioning_test_client_interfaces") { |
63 # FIXME: Dart packaged applications cannot depend on testonly mojoms. | 63 # FIXME: Dart packaged applications cannot depend on testonly mojoms. |
64 # testonly = true | 64 # testonly = true |
65 sources = [ | 65 sources = [ |
66 "versioning_test_client.mojom", | 66 "versioning_test_client.mojom", |
67 ] | 67 ] |
68 | 68 |
69 with_environment = false | 69 with_environment = false |
70 } | 70 } |
| 71 |
| 72 mojom("test_interfaces_chromium") { |
| 73 testonly = true |
| 74 |
| 75 sources = [ |
| 76 "test_native_types.mojom", |
| 77 ] |
| 78 |
| 79 variant = "chromium" |
| 80 typemaps = [ "chromium_test.typemap" ] |
| 81 |
| 82 with_environment = false |
| 83 |
| 84 public_deps = [ |
| 85 ":test_interfaces", |
| 86 ] |
| 87 } |
| 88 |
| 89 mojom("test_interfaces_blink") { |
| 90 testonly = true |
| 91 |
| 92 sources = [ |
| 93 "test_native_types.mojom", |
| 94 ] |
| 95 |
| 96 variant = "blink" |
| 97 typemaps = [ "blink_test.typemap" ] |
| 98 |
| 99 with_environment = false |
| 100 |
| 101 public_deps = [ |
| 102 ":test_interfaces", |
| 103 ] |
| 104 } |
OLD | NEW |