[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 4 | 'target_name': 'mojo_system', |
| 5 | 'type': 'shared_library', |
| 6 | 'defines': [ |
| 7 | 'MOJO_SYSTEM_IMPLEMENTATION', |
| 8 | ], |
| 9 | 'include_dirs': [ |
| 10 | '..', |
| 11 | ], |
| 12 | 'direct_dependent_settings': { |
| 13 | 'include_dirs': [ |
| 14 | '..', |
| 15 | ], |
| 16 | }, |
| 17 | 'sources': [ |
| 18 | 'public/system/core.h', |
| 19 | 'public/system/core_cpp.h', |
| 20 | 'public/system/core_private.cc', |
| 21 | 'public/system/core_private.h', |
| 22 | 'public/system/macros.h', |
| 23 | 'public/system/system_export.h', |
| 24 | ], |
| 25 | }, |
| 26 | { |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 27 | 'target_name': 'mojo_public_test_support', |
| 28 | 'type': 'static_library', |
| 29 | 'dependencies': [ |
| 30 | '../base/base.gyp:base', |
| 31 | '../testing/gtest.gyp:gtest', |
| 32 | 'mojo_system', |
| 33 | ], |
| 34 | 'sources': [ |
| 35 | 'public/tests/simple_bindings_support.cc', |
| 36 | 'public/tests/simple_bindings_support.h', |
| 37 | 'public/tests/test_support.cc', |
| 38 | 'public/tests/test_support.h', |
| 39 | ], |
| 40 | }, |
| 41 | { |
| 42 | 'target_name': 'mojo_public_unittests', |
| 43 | 'type': 'executable', |
| 44 | 'dependencies': [ |
| 45 | '../testing/gtest.gyp:gtest', |
| 46 | 'mojo_bindings', |
| 47 | 'mojo_public_test_support', |
| 48 | 'mojo_run_all_unittests', |
| 49 | 'mojo_system', |
| 50 | ], |
| 51 | 'sources': [ |
[email protected] | 2d85e63 | 2013-12-10 07:02:46 | [diff] [blame] | 52 | 'public/tests/bindings_array_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 53 | 'public/tests/bindings_connector_unittest.cc', |
[email protected] | 82f8b0f | 2013-12-04 05:58:58 | [diff] [blame] | 54 | 'public/tests/bindings_handle_passing_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 55 | 'public/tests/bindings_remote_ptr_unittest.cc', |
| 56 | 'public/tests/bindings_type_conversion_unittest.cc', |
| 57 | 'public/tests/buffer_unittest.cc', |
| 58 | 'public/tests/math_calculator.mojom', |
[email protected] | 82f8b0f | 2013-12-04 05:58:58 | [diff] [blame] | 59 | 'public/tests/sample_factory.mojom', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 60 | 'public/tests/system_core_cpp_unittest.cc', |
| 61 | 'public/tests/system_core_unittest.cc', |
| 62 | 'public/tests/test_structs.mojom', |
| 63 | ], |
| 64 | 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
| 65 | }, |
| 66 | { |
| 67 | 'target_name': 'mojo_public_perftests', |
| 68 | 'type': 'executable', |
| 69 | 'dependencies': [ |
| 70 | '../base/base.gyp:base', |
| 71 | '../testing/gtest.gyp:gtest', |
| 72 | 'mojo_public_test_support', |
| 73 | 'mojo_run_all_perftests', |
| 74 | 'mojo_system', |
| 75 | ], |
| 76 | 'sources': [ |
| 77 | 'public/tests/system_core_perftest.cc', |
| 78 | ], |
| 79 | }, |
| 80 | { |
| 81 | 'target_name': 'mojo_bindings', |
| 82 | 'type': 'static_library', |
| 83 | 'include_dirs': [ |
| 84 | '..' |
| 85 | ], |
| 86 | 'sources': [ |
[email protected] | 2d85e63 | 2013-12-10 07:02:46 | [diff] [blame] | 87 | 'public/bindings/lib/array.cc', |
| 88 | 'public/bindings/lib/array.h', |
| 89 | 'public/bindings/lib/array_internal.h', |
| 90 | 'public/bindings/lib/array_internal.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 91 | 'public/bindings/lib/bindings.h', |
| 92 | 'public/bindings/lib/bindings_internal.h', |
| 93 | 'public/bindings/lib/bindings_serialization.cc', |
| 94 | 'public/bindings/lib/bindings_serialization.h', |
| 95 | 'public/bindings/lib/bindings_support.cc', |
| 96 | 'public/bindings/lib/bindings_support.h', |
| 97 | 'public/bindings/lib/buffer.cc', |
| 98 | 'public/bindings/lib/buffer.h', |
| 99 | 'public/bindings/lib/connector.cc', |
| 100 | 'public/bindings/lib/connector.h', |
| 101 | 'public/bindings/lib/message.cc', |
| 102 | 'public/bindings/lib/message.h', |
| 103 | 'public/bindings/lib/message_builder.cc', |
| 104 | 'public/bindings/lib/message_builder.h', |
| 105 | 'public/bindings/lib/message_queue.cc', |
| 106 | 'public/bindings/lib/message_queue.h', |
| 107 | ], |
| 108 | }, |
| 109 | { |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame^] | 110 | 'target_name': 'mojo_sample_service', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 111 | 'type': 'static_library', |
| 112 | 'sources': [ |
| 113 | 'public/bindings/sample/sample_service.mojom', |
| 114 | ], |
| 115 | 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
| 116 | 'export_dependent_settings': [ |
| 117 | 'mojo_bindings', |
| 118 | 'mojo_system', |
| 119 | ], |
| 120 | }, |
| 121 | { |
| 122 | 'target_name': 'mojo_bindings_unittests', |
| 123 | 'type': 'executable', |
| 124 | 'sources': [ |
| 125 | 'public/bindings/sample/sample_service_unittests.cc', |
| 126 | ], |
| 127 | 'dependencies': [ |
| 128 | '../testing/gtest.gyp:gtest', |
| 129 | 'mojo_public_test_support', |
| 130 | 'mojo_run_all_unittests', |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame^] | 131 | 'mojo_sample_service', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 132 | ], |
| 133 | }, |
[email protected] | 273e217 | 2013-12-10 07:24:16 | [diff] [blame] | 134 | { |
| 135 | 'target_name': 'mojo_utility', |
| 136 | 'type': 'static_library', |
| 137 | 'sources': [ |
| 138 | 'public/utility/bindings_support_impl.cc', |
| 139 | 'public/utility/bindings_support_impl.h', |
| 140 | 'public/utility/environment.cc', |
| 141 | 'public/utility/environment.h', |
| 142 | 'public/utility/run_loop.cc', |
| 143 | 'public/utility/run_loop.h', |
| 144 | 'public/utility/run_loop_handler.h', |
| 145 | 'public/utility/thread_local.h', |
| 146 | 'public/utility/thread_local_posix.cc', |
| 147 | 'public/utility/thread_local_win.cc', |
| 148 | ], |
| 149 | 'include_dirs': [ |
| 150 | '..', |
| 151 | ], |
| 152 | }, |
| 153 | { |
| 154 | 'target_name': 'mojo_utility_unittests', |
| 155 | 'type': 'executable', |
| 156 | 'dependencies': [ |
| 157 | '../base/base.gyp:base', |
| 158 | '../testing/gtest.gyp:gtest', |
| 159 | 'mojo_bindings', |
| 160 | 'mojo_public_test_support', |
| 161 | 'mojo_run_all_unittests', |
| 162 | 'mojo_system', |
| 163 | 'mojo_utility', |
| 164 | ], |
| 165 | 'sources': [ |
| 166 | 'public/utility/bindings_support_impl_unittest.cc', |
| 167 | 'public/utility/run_loop_unittest.cc', |
| 168 | 'public/utility/thread_local_unittest.cc', |
| 169 | ], |
| 170 | }, |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 171 | ], |
| 172 | } |