OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 'mojo_public_test_interfaces_mojom_files': [ |
| 9 'public/interfaces/bindings/tests/math_calculator.mojom', |
| 10 'public/interfaces/bindings/tests/no_module.mojom', |
| 11 'public/interfaces/bindings/tests/ping_service.mojom', |
| 12 'public/interfaces/bindings/tests/rect.mojom', |
| 13 'public/interfaces/bindings/tests/regression_tests.mojom', |
| 14 'public/interfaces/bindings/tests/sample_factory.mojom', |
| 15 'public/interfaces/bindings/tests/sample_import.mojom', |
| 16 'public/interfaces/bindings/tests/sample_import2.mojom', |
| 17 'public/interfaces/bindings/tests/sample_interfaces.mojom', |
| 18 'public/interfaces/bindings/tests/sample_service.mojom', |
| 19 'public/interfaces/bindings/tests/scoping.mojom', |
| 20 'public/interfaces/bindings/tests/serialization_test_structs.mojom', |
| 21 'public/interfaces/bindings/tests/test_constants.mojom', |
| 22 'public/interfaces/bindings/tests/test_native_types.mojom', |
| 23 'public/interfaces/bindings/tests/test_sync_methods.mojom', |
| 24 ], |
| 25 }, |
| 26 'target_defaults' : { |
| 27 'include_dirs': [ |
| 28 '..', |
| 29 ], |
| 30 }, |
| 31 'targets': [ |
| 32 { |
| 33 'target_name': 'mojo_public_test_interfaces_mojom', |
| 34 'type': 'none', |
| 35 'variables': { |
| 36 'mojom_files': [ |
| 37 'public/interfaces/bindings/tests/test_structs.mojom', |
| 38 'public/interfaces/bindings/tests/test_unions.mojom', |
| 39 'public/interfaces/bindings/tests/validation_test_interfaces.mojom', |
| 40 '<@(mojo_public_test_interfaces_mojom_files)', |
| 41 ], |
| 42 'mojom_typemaps': [ |
| 43 'public/cpp/bindings/tests/rect_chromium.typemap', |
| 44 'public/cpp/bindings/tests/test_native_types_chromium.typemap', |
| 45 ], |
| 46 }, |
| 47 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], |
| 48 }, |
| 49 { |
| 50 'target_name': 'mojo_public_test_interfaces_struct_traits', |
| 51 'type': 'static_library', |
| 52 'variables': { |
| 53 'mojom_typemaps': [ |
| 54 'public/cpp/bindings/tests/struct_with_traits.typemap', |
| 55 ], |
| 56 }, |
| 57 'sources': [ |
| 58 'public/interfaces/bindings/tests/struct_with_traits.mojom', |
| 59 'public/cpp/bindings/tests/struct_with_traits_impl_traits.cc', |
| 60 ], |
| 61 'includes': [ 'mojom_bindings_generator.gypi' ], |
| 62 }, |
| 63 { |
| 64 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces |
| 65 'target_name': 'mojo_public_test_interfaces', |
| 66 'type': 'static_library', |
| 67 'export_dependent_settings': [ |
| 68 'mojo_public.gyp:mojo_cpp_bindings', |
| 69 ], |
| 70 'sources': [ |
| 71 'public/cpp/bindings/tests/pickled_types_chromium.cc', |
| 72 ], |
| 73 'dependencies': [ |
| 74 '../ipc/ipc.gyp:ipc', |
| 75 'mojo_public.gyp:mojo_cpp_bindings', |
| 76 'mojo_public_test_interfaces_mojom', |
| 77 ], |
| 78 }, |
| 79 { |
| 80 'target_name': 'mojo_public_test_associated_interfaces_mojom', |
| 81 'type': 'none', |
| 82 'variables': { |
| 83 # These files are not included in the mojo_public_test_interfaces_mojom |
| 84 # target because associated interfaces are not supported by all bindings |
| 85 # languages yet. |
| 86 'mojom_files': [ |
| 87 'public/interfaces/bindings/tests/test_associated_interfaces.mojom', |
| 88 'public/interfaces/bindings/tests/validation_test_associated_interface
s.mojom', |
| 89 ], |
| 90 }, |
| 91 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], |
| 92 }, |
| 93 { |
| 94 # GN version: //mojo/public/interfaces/bindings/tests:test_associated_inte
rfaces |
| 95 'target_name': 'mojo_public_test_associated_interfaces', |
| 96 'type': 'static_library', |
| 97 'export_dependent_settings': [ |
| 98 'mojo_public.gyp:mojo_cpp_bindings', |
| 99 ], |
| 100 'dependencies': [ |
| 101 'mojo_public.gyp:mojo_cpp_bindings', |
| 102 'mojo_public_test_associated_interfaces_mojom', |
| 103 ], |
| 104 }, |
| 105 { |
| 106 'target_name': 'mojo_public_test_wtf_types', |
| 107 'type': 'static_library', |
| 108 'sources': [ |
| 109 'public/interfaces/bindings/tests/test_wtf_types.mojom', |
| 110 ], |
| 111 'includes': [ 'mojom_bindings_generator.gypi' ], |
| 112 }, |
| 113 ], |
| 114 'conditions': [ |
| 115 ['OS != "ios"', { |
| 116 'targets': [ |
| 117 { |
| 118 'target_name': 'mojo_public_test_interfaces_mojom_blink', |
| 119 'type': 'none', |
| 120 'variables': { |
| 121 'for_blink': 'true', |
| 122 'mojom_typemaps': [ |
| 123 'public/cpp/bindings/tests/rect_blink.typemap', |
| 124 'public/cpp/bindings/tests/test_native_types_blink.typemap', |
| 125 ], |
| 126 'mojom_files': '<(mojo_public_test_interfaces_mojom_files)', |
| 127 }, |
| 128 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], |
| 129 }, |
| 130 { |
| 131 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_
blink |
| 132 'target_name': 'mojo_public_test_interfaces_blink', |
| 133 'type': 'static_library', |
| 134 'export_dependent_settings': [ |
| 135 'mojo_public.gyp:mojo_cpp_bindings', |
| 136 'mojo_public_test_interfaces_mojom_blink', |
| 137 ], |
| 138 'sources': [ |
| 139 'public/cpp/bindings/tests/pickled_types_blink.cc', |
| 140 ], |
| 141 'dependencies': [ |
| 142 '../ipc/ipc.gyp:ipc', |
| 143 'mojo_public.gyp:mojo_cpp_bindings', |
| 144 'mojo_public_test_interfaces_mojom_blink', |
| 145 ], |
| 146 }, |
| 147 { |
| 148 'target_name': 'mojo_public_test_wtf_types_blink', |
| 149 'type': 'static_library', |
| 150 'variables': { |
| 151 'for_blink': 'true', |
| 152 }, |
| 153 'sources': [ |
| 154 'public/interfaces/bindings/tests/test_wtf_types.mojom', |
| 155 ], |
| 156 'includes': [ 'mojom_bindings_generator.gypi' ], |
| 157 }, |
| 158 ], |
| 159 }], |
| 160 ], |
| 161 } |
| 162 |
OLD | NEW |