| 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 13 matching lines...) Expand all Loading... |
| 24 "test_structs.mojom", | 24 "test_structs.mojom", |
| 25 "test_sync_methods.mojom", | 25 "test_sync_methods.mojom", |
| 26 "validation_test_interfaces.mojom", | 26 "validation_test_interfaces.mojom", |
| 27 ] | 27 ] |
| 28 public_deps = [ | 28 public_deps = [ |
| 29 ":test_mojom_import", | 29 ":test_mojom_import", |
| 30 ":test_mojom_import2", | 30 ":test_mojom_import2", |
| 31 ] | 31 ] |
| 32 } | 32 } |
| 33 | 33 |
| 34 component("test_export_component") { |
| 35 testonly = true |
| 36 deps = [ |
| 37 ":test_export", |
| 38 ] |
| 39 } |
| 40 |
| 41 mojom("test_export") { |
| 42 testonly = true |
| 43 sources = [ |
| 44 "test_export.mojom", |
| 45 ] |
| 46 export_class_attribute = "MOJO_TEST_EXPORT" |
| 47 export_define = "MOJO_TEST_IMPLEMENTATION=1" |
| 48 export_header = "mojo/public/cpp/bindings/tests/mojo_test_export.h" |
| 49 } |
| 50 |
| 34 mojom("test_mojom_import") { | 51 mojom("test_mojom_import") { |
| 35 testonly = true | 52 testonly = true |
| 36 sources = [ | 53 sources = [ |
| 37 "sample_import.mojom", | 54 "sample_import.mojom", |
| 38 ] | 55 ] |
| 39 } | 56 } |
| 40 | 57 |
| 41 mojom("test_mojom_import_wrapper") { | 58 mojom("test_mojom_import_wrapper") { |
| 42 testonly = true | 59 testonly = true |
| 43 public_deps = [ | 60 public_deps = [ |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 ] | 126 ] |
| 110 } | 127 } |
| 111 | 128 |
| 112 mojom("test_no_sources") { | 129 mojom("test_no_sources") { |
| 113 testonly = true | 130 testonly = true |
| 114 | 131 |
| 115 public_deps = [ | 132 public_deps = [ |
| 116 ":test_interfaces", | 133 ":test_interfaces", |
| 117 ] | 134 ] |
| 118 } | 135 } |
| OLD | NEW |