[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', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 5 | 'type': 'static_library', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 6 | 'defines': [ |
| 7 | 'MOJO_SYSTEM_IMPLEMENTATION', |
| 8 | ], |
| 9 | 'include_dirs': [ |
| 10 | '..', |
| 11 | ], |
| 12 | 'direct_dependent_settings': { |
| 13 | 'include_dirs': [ |
| 14 | '..', |
| 15 | ], |
| 16 | }, |
[email protected] | 8c17298b | 2014-04-21 21:12:08 | [diff] [blame] | 17 | 'all_dependent_settings': { |
| 18 | 'conditions': [ |
| 19 | # We need to be able to call the MojoSetSystemThunks() function in |
| 20 | # system_thunks.cc |
| 21 | ['OS=="android"', { |
| 22 | 'ldflags!': [ |
| 23 | '-Wl,--exclude-libs=ALL', |
| 24 | ], |
| 25 | }], |
| 26 | ], |
| 27 | }, |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 28 | 'sources': [ |
[email protected] | db55395 | 2014-05-28 19:14:10 | [diff] [blame] | 29 | 'public/c/system/buffer.h', |
[email protected] | 90ab1a49 | 2014-03-26 23:52:04 | [diff] [blame] | 30 | 'public/c/system/core.h', |
[email protected] | 41a705e | 2014-05-28 16:55:06 | [diff] [blame] | 31 | 'public/c/system/data_pipe.h', |
[email protected] | a1de80b | 2014-05-27 21:35:55 | [diff] [blame] | 32 | 'public/c/system/functions.h', |
[email protected] | 90ab1a49 | 2014-03-26 23:52:04 | [diff] [blame] | 33 | 'public/c/system/macros.h', |
[email protected] | 3f3b2b1 | 2014-05-28 00:11:43 | [diff] [blame] | 34 | 'public/c/system/message_pipe.h', |
[email protected] | 90ab1a49 | 2014-03-26 23:52:04 | [diff] [blame] | 35 | 'public/c/system/system_export.h', |
[email protected] | 54453fc | 2014-05-27 19:30:55 | [diff] [blame] | 36 | 'public/c/system/types.h', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 37 | 'public/platform/native/system_thunks.cc', |
| 38 | 'public/platform/native/system_thunks.h', |
[email protected] | 35c5566 | 2014-03-08 18:28:57 | [diff] [blame] | 39 | ], |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 40 | }, |
| 41 | { |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 42 | 'target_name': 'mojo_gles2', |
| 43 | 'type': 'shared_library', |
| 44 | 'defines': [ |
| 45 | 'MOJO_GLES2_IMPLEMENTATION', |
| 46 | 'GLES2_USE_MOJO', |
| 47 | ], |
| 48 | 'include_dirs': [ |
| 49 | '..', |
| 50 | ], |
| 51 | 'dependencies': [ |
| 52 | '../third_party/khronos/khronos.gyp:khronos_headers' |
| 53 | ], |
| 54 | 'direct_dependent_settings': { |
| 55 | 'include_dirs': [ |
| 56 | '..', |
| 57 | ], |
| 58 | 'defines': [ |
| 59 | 'GLES2_USE_MOJO', |
| 60 | ], |
| 61 | }, |
| 62 | 'sources': [ |
[email protected] | 487622d | 2014-03-30 20:40:17 | [diff] [blame] | 63 | 'public/c/gles2/gles2.h', |
| 64 | 'public/c/gles2/gles2_export.h', |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 65 | 'public/gles2/gles2_private.cc', |
| 66 | 'public/gles2/gles2_private.h', |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 67 | ], |
[email protected] | 35c5566 | 2014-03-08 18:28:57 | [diff] [blame] | 68 | 'conditions': [ |
| 69 | ['OS=="mac"', { |
| 70 | 'xcode_settings': { |
[email protected] | f77f0cab | 2014-03-28 17:19:30 | [diff] [blame] | 71 | # Make it a run-path dependent library. |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 72 | 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
[email protected] | 9eb072b6 | 2014-03-19 20:35:16 | [diff] [blame] | 73 | }, |
[email protected] | 35c5566 | 2014-03-08 18:28:57 | [diff] [blame] | 74 | }], |
| 75 | ], |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 76 | }, |
| 77 | { |
| 78 | 'target_name': 'mojo_test_support', |
| 79 | 'type': 'shared_library', |
| 80 | 'defines': [ |
| 81 | 'MOJO_TEST_SUPPORT_IMPLEMENTATION', |
| 82 | ], |
| 83 | 'include_dirs': [ |
| 84 | '..', |
| 85 | ], |
| 86 | 'direct_dependent_settings': { |
| 87 | 'include_dirs': [ |
| 88 | '..', |
| 89 | ], |
| 90 | }, |
| 91 | 'sources': [ |
[email protected] | 3b9dd37 | 2014-03-31 16:22:47 | [diff] [blame] | 92 | 'public/c/test_support/test_support.h', |
| 93 | 'public/c/test_support/test_support_export.h', |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 94 | 'public/tests/test_support_private.cc', |
| 95 | 'public/tests/test_support_private.h', |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 96 | ], |
[email protected] | 35c5566 | 2014-03-08 18:28:57 | [diff] [blame] | 97 | 'conditions': [ |
| 98 | ['OS=="mac"', { |
| 99 | 'xcode_settings': { |
[email protected] | f77f0cab | 2014-03-28 17:19:30 | [diff] [blame] | 100 | # Make it a run-path dependent library. |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 101 | 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
[email protected] | 9eb072b6 | 2014-03-19 20:35:16 | [diff] [blame] | 102 | }, |
[email protected] | 35c5566 | 2014-03-08 18:28:57 | [diff] [blame] | 103 | }], |
| 104 | ], |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 105 | }, |
| 106 | { |
[email protected] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 107 | 'target_name': 'mojo_public_test_utils', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 108 | 'type': 'static_library', |
| 109 | 'dependencies': [ |
| 110 | '../base/base.gyp:base', |
| 111 | '../testing/gtest.gyp:gtest', |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 112 | 'mojo_test_support', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 113 | ], |
| 114 | 'sources': [ |
[email protected] | 1eebc07 | 2014-05-01 18:24:29 | [diff] [blame] | 115 | 'public/cpp/test_support/lib/test_support.cc', |
[email protected] | 3b9dd37 | 2014-03-31 16:22:47 | [diff] [blame] | 116 | 'public/cpp/test_support/lib/test_utils.cc', |
| 117 | 'public/cpp/test_support/test_utils.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 118 | ], |
| 119 | }, |
[email protected] | 5dddd19 | 2014-03-28 00:53:27 | [diff] [blame] | 120 | # TODO(vtl): Reorganize the mojo_public_*_unittests. |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 121 | { |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 122 | 'target_name': 'mojo_public_bindings_unittests', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 123 | 'type': 'executable', |
| 124 | 'dependencies': [ |
| 125 | '../testing/gtest.gyp:gtest', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 126 | 'mojo_cpp_bindings', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 127 | 'mojo_environment_standalone', |
[email protected] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 128 | 'mojo_public_test_utils', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 129 | 'mojo_run_all_unittests', |
[email protected] | e1e974b | 2014-04-16 02:05:57 | [diff] [blame] | 130 | 'mojo_public_test_interfaces', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 131 | 'mojo_utility', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 132 | ], |
| 133 | 'sources': [ |
[email protected] | 25a70c7 | 2014-04-01 20:20:43 | [diff] [blame] | 134 | 'public/cpp/bindings/tests/array_unittest.cc', |
[email protected] | 72eabec | 2014-05-31 04:07:04 | [diff] [blame] | 135 | 'public/cpp/bindings/tests/bounds_checker_unittest.cc', |
[email protected] | 25a70c7 | 2014-04-01 20:20:43 | [diff] [blame] | 136 | 'public/cpp/bindings/tests/buffer_unittest.cc', |
| 137 | 'public/cpp/bindings/tests/connector_unittest.cc', |
| 138 | 'public/cpp/bindings/tests/handle_passing_unittest.cc', |
[email protected] | 5e1a832 | 2014-05-09 22:35:51 | [diff] [blame] | 139 | 'public/cpp/bindings/tests/interface_ptr_unittest.cc', |
[email protected] | 25a70c7 | 2014-04-01 20:20:43 | [diff] [blame] | 140 | 'public/cpp/bindings/tests/request_response_unittest.cc', |
| 141 | 'public/cpp/bindings/tests/router_unittest.cc', |
| 142 | 'public/cpp/bindings/tests/sample_service_unittest.cc', |
[email protected] | 2b4e10f | 2014-05-29 19:00:36 | [diff] [blame] | 143 | 'public/cpp/bindings/tests/string_unittest.cc', |
| 144 | 'public/cpp/bindings/tests/struct_unittest.cc', |
[email protected] | 25a70c7 | 2014-04-01 20:20:43 | [diff] [blame] | 145 | 'public/cpp/bindings/tests/type_conversion_unittest.cc', |
[email protected] | 99f91ce | 2014-06-09 17:30:39 | [diff] [blame] | 146 | 'public/cpp/bindings/tests/validation_test_input_parser.cc', |
| 147 | 'public/cpp/bindings/tests/validation_test_input_parser.h', |
[email protected] | 1eebc07 | 2014-05-01 18:24:29 | [diff] [blame] | 148 | 'public/cpp/bindings/tests/validation_unittest.cc', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 149 | ], |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 150 | }, |
| 151 | { |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 152 | 'target_name': 'mojo_public_environment_unittests', |
| 153 | 'type': 'executable', |
| 154 | 'dependencies': [ |
| 155 | '../base/base.gyp:base', |
| 156 | '../testing/gtest.gyp:gtest', |
| 157 | 'mojo_environment_standalone', |
[email protected] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 158 | 'mojo_public_test_utils', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 159 | 'mojo_run_all_unittests', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 160 | 'mojo_utility', |
| 161 | ], |
| 162 | 'sources': [ |
[email protected] | b866788 | 2014-03-29 04:28:31 | [diff] [blame] | 163 | 'public/cpp/environment/tests/async_waiter_unittest.cc', |
[email protected] | 497d61d | 2014-06-14 07:24:33 | [diff] [blame] | 164 | 'public/cpp/environment/tests/logger_unittest.cc', |
[email protected] | e5e69c1 | 2014-06-19 22:10:49 | [diff] [blame] | 165 | 'public/cpp/environment/tests/logging_unittest.cc', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 166 | ], |
| 167 | }, |
| 168 | { |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 169 | 'target_name': 'mojo_public_system_unittests', |
| 170 | 'type': 'executable', |
| 171 | 'dependencies': [ |
| 172 | '../base/base.gyp:base', |
| 173 | '../testing/gtest.gyp:gtest', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 174 | 'mojo_cpp_bindings', |
[email protected] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 175 | 'mojo_public_test_utils', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 176 | 'mojo_run_all_unittests', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 177 | ], |
| 178 | 'sources': [ |
[email protected] | 6e067c3 | 2014-03-29 03:06:58 | [diff] [blame] | 179 | 'public/c/system/tests/core_unittest.cc', |
| 180 | 'public/c/system/tests/core_unittest_pure_c.c', |
| 181 | 'public/c/system/tests/macros_unittest.cc', |
| 182 | 'public/cpp/system/tests/core_unittest.cc', |
| 183 | 'public/cpp/system/tests/macros_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 184 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 185 | }, |
| 186 | { |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 187 | 'target_name': 'mojo_public_utility_unittests', |
| 188 | 'type': 'executable', |
| 189 | 'dependencies': [ |
| 190 | '../base/base.gyp:base', |
| 191 | '../testing/gtest.gyp:gtest', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 192 | 'mojo_cpp_bindings', |
[email protected] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 193 | 'mojo_public_test_utils', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 194 | 'mojo_run_all_unittests', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 195 | 'mojo_utility', |
| 196 | ], |
| 197 | 'sources': [ |
[email protected] | 6e067c3 | 2014-03-29 03:06:58 | [diff] [blame] | 198 | 'public/cpp/utility/tests/mutex_unittest.cc', |
| 199 | 'public/cpp/utility/tests/run_loop_unittest.cc', |
| 200 | 'public/cpp/utility/tests/thread_unittest.cc', |
[email protected] | c024087 | 2014-02-12 04:31:18 | [diff] [blame] | 201 | ], |
| 202 | 'conditions': [ |
| 203 | # See crbug.com/342893: |
| 204 | ['OS=="win"', { |
| 205 | 'sources!': [ |
[email protected] | 6e067c3 | 2014-03-29 03:06:58 | [diff] [blame] | 206 | 'public/cpp/utility/tests/mutex_unittest.cc', |
| 207 | 'public/cpp/utility/tests/thread_unittest.cc', |
[email protected] | c024087 | 2014-02-12 04:31:18 | [diff] [blame] | 208 | ], |
| 209 | }], |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 210 | ], |
| 211 | }, |
| 212 | { |
| 213 | 'target_name': 'mojo_public_system_perftests', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 214 | 'type': 'executable', |
| 215 | 'dependencies': [ |
| 216 | '../base/base.gyp:base', |
| 217 | '../testing/gtest.gyp:gtest', |
[email protected] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 218 | 'mojo_public_test_utils', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 219 | 'mojo_run_all_perftests', |
[email protected] | eca02f7 | 2014-02-14 02:41:07 | [diff] [blame] | 220 | 'mojo_utility', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 221 | ], |
| 222 | 'sources': [ |
[email protected] | 6e067c3 | 2014-03-29 03:06:58 | [diff] [blame] | 223 | 'public/c/system/tests/core_perftest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 224 | ], |
| 225 | }, |
| 226 | { |
[email protected] | b506cdf | 2014-06-09 17:13:21 | [diff] [blame] | 227 | # GN version: //mojo/public/cpp/bindings |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 228 | 'target_name': 'mojo_cpp_bindings', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 229 | 'type': 'static_library', |
| 230 | 'include_dirs': [ |
| 231 | '..' |
| 232 | ], |
| 233 | 'sources': [ |
[email protected] | 0c8b2399 | 2014-04-01 14:49:17 | [diff] [blame] | 234 | 'public/cpp/bindings/array.h', |
[email protected] | 0c8b2399 | 2014-04-01 14:49:17 | [diff] [blame] | 235 | 'public/cpp/bindings/callback.h', |
| 236 | 'public/cpp/bindings/error_handler.h', |
[email protected] | bed08f3 | 2014-05-10 00:06:42 | [diff] [blame] | 237 | 'public/cpp/bindings/interface_impl.h', |
[email protected] | 5e1a832 | 2014-05-09 22:35:51 | [diff] [blame] | 238 | 'public/cpp/bindings/interface_ptr.h', |
[email protected] | 8465435 | 2014-05-30 05:22:26 | [diff] [blame] | 239 | 'public/cpp/bindings/interface_request.h', |
[email protected] | 0c8b2399 | 2014-04-01 14:49:17 | [diff] [blame] | 240 | 'public/cpp/bindings/message.h', |
[email protected] | 5329f12 | 2014-05-15 23:48:51 | [diff] [blame] | 241 | 'public/cpp/bindings/message_filter.h', |
[email protected] | 5e1a832 | 2014-05-09 22:35:51 | [diff] [blame] | 242 | 'public/cpp/bindings/no_interface.h', |
[email protected] | 2b4e10f | 2014-05-29 19:00:36 | [diff] [blame] | 243 | 'public/cpp/bindings/string.h', |
[email protected] | 0c8b2399 | 2014-04-01 14:49:17 | [diff] [blame] | 244 | 'public/cpp/bindings/sync_dispatcher.h', |
| 245 | 'public/cpp/bindings/type_converter.h', |
[email protected] | 388ba91f | 2014-04-01 16:38:46 | [diff] [blame] | 246 | 'public/cpp/bindings/lib/array_internal.h', |
| 247 | 'public/cpp/bindings/lib/array_internal.cc', |
[email protected] | 2b4e10f | 2014-05-29 19:00:36 | [diff] [blame] | 248 | 'public/cpp/bindings/lib/array_serialization.h', |
[email protected] | 388ba91f | 2014-04-01 16:38:46 | [diff] [blame] | 249 | 'public/cpp/bindings/lib/bindings_internal.h', |
| 250 | 'public/cpp/bindings/lib/bindings_serialization.cc', |
| 251 | 'public/cpp/bindings/lib/bindings_serialization.h', |
[email protected] | 72eabec | 2014-05-31 04:07:04 | [diff] [blame] | 252 | 'public/cpp/bindings/lib/bounds_checker.cc', |
| 253 | 'public/cpp/bindings/lib/bounds_checker.h', |
[email protected] | b154fe7 | 2014-05-29 19:23:48 | [diff] [blame] | 254 | 'public/cpp/bindings/lib/buffer.h', |
[email protected] | 388ba91f | 2014-04-01 16:38:46 | [diff] [blame] | 255 | 'public/cpp/bindings/lib/callback_internal.h', |
| 256 | 'public/cpp/bindings/lib/connector.cc', |
| 257 | 'public/cpp/bindings/lib/connector.h', |
[email protected] | 5329f12 | 2014-05-15 23:48:51 | [diff] [blame] | 258 | 'public/cpp/bindings/lib/filter_chain.cc', |
| 259 | 'public/cpp/bindings/lib/filter_chain.h', |
[email protected] | 388ba91f | 2014-04-01 16:38:46 | [diff] [blame] | 260 | 'public/cpp/bindings/lib/fixed_buffer.cc', |
| 261 | 'public/cpp/bindings/lib/fixed_buffer.h', |
[email protected] | bed08f3 | 2014-05-10 00:06:42 | [diff] [blame] | 262 | 'public/cpp/bindings/lib/interface_impl_internal.h', |
[email protected] | 5e1a832 | 2014-05-09 22:35:51 | [diff] [blame] | 263 | 'public/cpp/bindings/lib/interface_ptr_internal.h', |
[email protected] | 388ba91f | 2014-04-01 16:38:46 | [diff] [blame] | 264 | 'public/cpp/bindings/lib/message.cc', |
| 265 | 'public/cpp/bindings/lib/message_builder.cc', |
| 266 | 'public/cpp/bindings/lib/message_builder.h', |
[email protected] | 5329f12 | 2014-05-15 23:48:51 | [diff] [blame] | 267 | 'public/cpp/bindings/lib/message_filter.cc', |
[email protected] | 1eebc07 | 2014-05-01 18:24:29 | [diff] [blame] | 268 | 'public/cpp/bindings/lib/message_header_validator.cc', |
| 269 | 'public/cpp/bindings/lib/message_header_validator.h', |
[email protected] | 388ba91f | 2014-04-01 16:38:46 | [diff] [blame] | 270 | 'public/cpp/bindings/lib/message_internal.h', |
| 271 | 'public/cpp/bindings/lib/message_queue.cc', |
| 272 | 'public/cpp/bindings/lib/message_queue.h', |
[email protected] | 5e1a832 | 2014-05-09 22:35:51 | [diff] [blame] | 273 | 'public/cpp/bindings/lib/no_interface.cc', |
[email protected] | 388ba91f | 2014-04-01 16:38:46 | [diff] [blame] | 274 | 'public/cpp/bindings/lib/router.cc', |
| 275 | 'public/cpp/bindings/lib/router.h', |
[email protected] | 388ba91f | 2014-04-01 16:38:46 | [diff] [blame] | 276 | 'public/cpp/bindings/lib/shared_data.h', |
| 277 | 'public/cpp/bindings/lib/shared_ptr.h', |
[email protected] | 2b4e10f | 2014-05-29 19:00:36 | [diff] [blame] | 278 | 'public/cpp/bindings/lib/string_serialization.h', |
| 279 | 'public/cpp/bindings/lib/string_serialization.cc', |
[email protected] | 388ba91f | 2014-04-01 16:38:46 | [diff] [blame] | 280 | 'public/cpp/bindings/lib/sync_dispatcher.cc', |
[email protected] | 664e97e | 2014-06-04 17:29:22 | [diff] [blame] | 281 | 'public/cpp/bindings/lib/validation_errors.cc', |
| 282 | 'public/cpp/bindings/lib/validation_errors.h', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 283 | ], |
| 284 | }, |
| 285 | { |
[email protected] | b506cdf | 2014-06-09 17:13:21 | [diff] [blame] | 286 | # GN version: //mojo/public/js/bindings |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 287 | 'target_name': 'mojo_js_bindings', |
| 288 | 'type': 'static_library', |
| 289 | 'include_dirs': [ |
| 290 | '..' |
| 291 | ], |
| 292 | 'sources': [ |
[email protected] | 0203e05a | 2014-04-04 04:55:37 | [diff] [blame] | 293 | 'public/js/bindings/constants.cc', |
| 294 | 'public/js/bindings/constants.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 295 | ], |
| 296 | }, |
| 297 | { |
[email protected] | e1e974b | 2014-04-16 02:05:57 | [diff] [blame] | 298 | 'target_name': 'mojo_public_test_interfaces', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 299 | 'type': 'static_library', |
| 300 | 'sources': [ |
[email protected] | e1e974b | 2014-04-16 02:05:57 | [diff] [blame] | 301 | 'public/interfaces/bindings/tests/math_calculator.mojom', |
| 302 | 'public/interfaces/bindings/tests/sample_factory.mojom', |
[email protected] | e370ebc0 | 2014-04-01 22:30:20 | [diff] [blame] | 303 | 'public/interfaces/bindings/tests/sample_import.mojom', |
| 304 | 'public/interfaces/bindings/tests/sample_import2.mojom', |
[email protected] | e1e974b | 2014-04-16 02:05:57 | [diff] [blame] | 305 | 'public/interfaces/bindings/tests/sample_interfaces.mojom', |
| 306 | 'public/interfaces/bindings/tests/sample_service.mojom', |
| 307 | 'public/interfaces/bindings/tests/test_structs.mojom', |
[email protected] | d457e9f | 2014-06-15 18:38:24 | [diff] [blame] | 308 | 'public/interfaces/bindings/tests/validation_test_interfaces.mojom', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 309 | ], |
[email protected] | 352ed67c | 2014-04-04 21:11:21 | [diff] [blame] | 310 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 311 | 'export_dependent_settings': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 312 | 'mojo_cpp_bindings', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 313 | ], |
[email protected] | 88579880 | 2014-03-12 16:14:21 | [diff] [blame] | 314 | 'dependencies': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 315 | 'mojo_cpp_bindings', |
[email protected] | 88579880 | 2014-03-12 16:14:21 | [diff] [blame] | 316 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 317 | }, |
| 318 | { |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 319 | 'target_name': 'mojo_environment_standalone', |
| 320 | 'type': 'static_library', |
| 321 | 'sources': [ |
[email protected] | 497d61d | 2014-06-14 07:24:33 | [diff] [blame] | 322 | 'public/c/environment/async_waiter.h', |
| 323 | 'public/c/environment/logger.h', |
[email protected] | e5e69c1 | 2014-06-19 22:10:49 | [diff] [blame] | 324 | 'public/c/environment/logging.h', |
[email protected] | b866788 | 2014-03-29 04:28:31 | [diff] [blame] | 325 | 'public/cpp/environment/environment.h', |
| 326 | 'public/cpp/environment/lib/default_async_waiter.cc', |
[email protected] | 252e660 | 2014-06-19 16:29:24 | [diff] [blame] | 327 | 'public/cpp/environment/lib/default_async_waiter.h', |
[email protected] | 497d61d | 2014-06-14 07:24:33 | [diff] [blame] | 328 | 'public/cpp/environment/lib/default_logger.cc', |
[email protected] | 252e660 | 2014-06-19 16:29:24 | [diff] [blame] | 329 | 'public/cpp/environment/lib/default_logger.h', |
[email protected] | b866788 | 2014-03-29 04:28:31 | [diff] [blame] | 330 | 'public/cpp/environment/lib/environment.cc', |
[email protected] | e5e69c1 | 2014-06-19 22:10:49 | [diff] [blame] | 331 | 'public/cpp/environment/lib/logging.cc', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 332 | ], |
| 333 | 'include_dirs': [ |
| 334 | '..', |
| 335 | ], |
| 336 | }, |
| 337 | { |
[email protected] | 273e217 | 2013-12-10 07:24:16 | [diff] [blame] | 338 | 'target_name': 'mojo_utility', |
| 339 | 'type': 'static_library', |
| 340 | 'sources': [ |
[email protected] | 3b3c644 | 2014-03-29 00:39:26 | [diff] [blame] | 341 | 'public/cpp/utility/mutex.h', |
| 342 | 'public/cpp/utility/run_loop.h', |
| 343 | 'public/cpp/utility/run_loop_handler.h', |
| 344 | 'public/cpp/utility/thread.h', |
| 345 | 'public/cpp/utility/lib/mutex.cc', |
| 346 | 'public/cpp/utility/lib/run_loop.cc', |
| 347 | 'public/cpp/utility/lib/thread.cc', |
| 348 | 'public/cpp/utility/lib/thread_local.h', |
| 349 | 'public/cpp/utility/lib/thread_local_posix.cc', |
| 350 | 'public/cpp/utility/lib/thread_local_win.cc', |
[email protected] | c024087 | 2014-02-12 04:31:18 | [diff] [blame] | 351 | ], |
| 352 | 'conditions': [ |
| 353 | # See crbug.com/342893: |
| 354 | ['OS=="win"', { |
| 355 | 'sources!': [ |
[email protected] | 3b3c644 | 2014-03-29 00:39:26 | [diff] [blame] | 356 | 'public/cpp/utility/mutex.h', |
| 357 | 'public/cpp/utility/thread.h', |
| 358 | 'public/cpp/utility/lib/mutex.cc', |
| 359 | 'public/cpp/utility/lib/thread.cc', |
[email protected] | c024087 | 2014-02-12 04:31:18 | [diff] [blame] | 360 | ], |
| 361 | }], |
[email protected] | 273e217 | 2013-12-10 07:24:16 | [diff] [blame] | 362 | ], |
| 363 | 'include_dirs': [ |
| 364 | '..', |
| 365 | ], |
| 366 | }, |
[email protected] | 265a08c7 | 2014-01-30 22:08:10 | [diff] [blame] | 367 | { |
[email protected] | 0af2769 | 2014-06-11 10:58:30 | [diff] [blame] | 368 | # GN version: //mojo/public/interfaces/interface_provider:interface_provider |
| 369 | 'target_name': 'mojo_interface_provider_bindings', |
| 370 | 'type': 'static_library', |
| 371 | 'sources': [ |
| 372 | 'public/interfaces/interface_provider/interface_provider.mojom', |
| 373 | ], |
| 374 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 375 | 'dependencies': [ |
| 376 | 'mojo_cpp_bindings', |
| 377 | ], |
| 378 | 'export_dependent_settings': [ |
| 379 | 'mojo_cpp_bindings', |
| 380 | ], |
| 381 | }, |
| 382 | { |
[email protected] | b506cdf | 2014-06-09 17:13:21 | [diff] [blame] | 383 | # GN version: //mojo/public/interfaces/service_provider:service_provider |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 384 | 'target_name': 'mojo_service_provider_bindings', |
[email protected] | 265a08c7 | 2014-01-30 22:08:10 | [diff] [blame] | 385 | 'type': 'static_library', |
| 386 | 'sources': [ |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 387 | 'public/interfaces/service_provider/service_provider.mojom', |
[email protected] | 265a08c7 | 2014-01-30 22:08:10 | [diff] [blame] | 388 | ], |
[email protected] | 352ed67c | 2014-04-04 21:11:21 | [diff] [blame] | 389 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
[email protected] | 88579880 | 2014-03-12 16:14:21 | [diff] [blame] | 390 | 'dependencies': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 391 | 'mojo_cpp_bindings', |
[email protected] | 88579880 | 2014-03-12 16:14:21 | [diff] [blame] | 392 | ], |
[email protected] | 265a08c7 | 2014-01-30 22:08:10 | [diff] [blame] | 393 | 'export_dependent_settings': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 394 | 'mojo_cpp_bindings', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 395 | ], |
| 396 | }, |
| 397 | { |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 398 | 'target_name': 'mojo_application', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 399 | 'type': 'static_library', |
| 400 | 'sources': [ |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 401 | 'public/cpp/application/application.h', |
| 402 | 'public/cpp/application/connect.h', |
| 403 | 'public/cpp/application/lib/application.cc', |
| 404 | 'public/cpp/application/lib/service_connector.cc', |
| 405 | 'public/cpp/application/lib/service_connector.h', |
[email protected] | 183a050 | 2014-06-13 00:07:25 | [diff] [blame] | 406 | 'public/cpp/application/lib/service_registry.cc', |
| 407 | 'public/cpp/application/lib/service_registry.h', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 408 | ], |
| 409 | 'dependencies': [ |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 410 | 'mojo_service_provider_bindings', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 411 | ], |
| 412 | 'export_dependent_settings': [ |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 413 | 'mojo_service_provider_bindings', |
[email protected] | 265a08c7 | 2014-01-30 22:08:10 | [diff] [blame] | 414 | ], |
| 415 | }, |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 416 | ], |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 417 | 'conditions': [ |
| 418 | ['OS == "android"', { |
| 419 | 'targets': [ |
| 420 | { |
| 421 | 'target_name': 'mojo_public_java', |
| 422 | 'type': 'none', |
| 423 | 'variables': { |
| 424 | 'java_in_dir': 'public/java', |
| 425 | }, |
| 426 | 'includes': [ '../build/java.gypi' ], |
| 427 | }, |
[email protected] | 230db69d | 2014-05-15 18:54:04 | [diff] [blame] | 428 | { |
| 429 | 'target_name': 'mojo_bindings_java', |
| 430 | 'type': 'none', |
| 431 | 'variables': { |
| 432 | 'java_in_dir': 'bindings/java', |
| 433 | }, |
| 434 | 'dependencies': [ |
| 435 | 'mojo_public_java', |
| 436 | ], |
| 437 | 'includes': [ '../build/java.gypi' ], |
| 438 | }, |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 439 | ], |
| 440 | }], |
| 441 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 442 | } |