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