[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 1 | # Copyright 2013 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': { |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 7 | 'chromium_code': 1, |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 8 | }, |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 9 | 'includes': [ |
[email protected] | de3d0b0 | 2013-12-03 23:18:25 | [diff] [blame] | 10 | 'mojo_apps.gypi', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 11 | 'mojo_examples.gypi', |
| 12 | 'mojo_public.gypi', |
| 13 | 'mojo_services.gypi', |
| 14 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 15 | 'targets': [ |
| 16 | { |
| 17 | 'target_name': 'mojo', |
| 18 | 'type': 'none', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 19 | 'dependencies': [ |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 20 | 'mojo_bindings', |
| 21 | 'mojo_bindings_unittests', |
[email protected] | cbf7e96 | 2013-11-07 20:35:52 | [diff] [blame] | 22 | 'mojo_common_lib', |
| 23 | 'mojo_common_unittests', |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 24 | 'mojo_hello_world_service', |
[email protected] | 9383074 | 2013-11-08 12:17:24 | [diff] [blame] | 25 | 'mojo_js', |
[email protected] | de3d0b0 | 2013-12-03 23:18:25 | [diff] [blame] | 26 | 'mojo_js_unittests', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 27 | 'mojo_public_perftests', |
| 28 | 'mojo_public_test_support', |
| 29 | 'mojo_public_unittests', |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 30 | 'mojo_sample_app', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 31 | 'mojo_shell', |
| 32 | 'mojo_shell_lib', |
| 33 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 34 | 'mojo_system_impl', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 35 | 'mojo_system_unittests', |
[email protected] | 273e217 | 2013-12-10 07:24:16 | [diff] [blame] | 36 | 'mojo_utility', |
| 37 | 'mojo_utility_unittests', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 38 | ], |
| 39 | }, |
| 40 | { |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 41 | 'target_name': 'mojo_run_all_unittests', |
| 42 | 'type': 'static_library', |
| 43 | 'dependencies': [ |
| 44 | '../base/base.gyp:base', |
| 45 | '../base/base.gyp:test_support_base', |
[email protected] | d16a5b4 | 2013-12-03 17:47:24 | [diff] [blame] | 46 | '../testing/gtest.gyp:gtest', |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 47 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 48 | 'mojo_system_impl', |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 49 | ], |
| 50 | 'sources': [ |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 51 | 'common/test/run_all_unittests.cc', |
| 52 | ], |
| 53 | }, |
| 54 | { |
[email protected] | 5f8471fb | 2013-11-26 23:07:24 | [diff] [blame] | 55 | 'target_name': 'mojo_run_all_perftests', |
| 56 | 'type': 'static_library', |
| 57 | 'dependencies': [ |
| 58 | '../base/base.gyp:test_support_base', |
| 59 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 60 | 'mojo_system_impl', |
[email protected] | 5f8471fb | 2013-11-26 23:07:24 | [diff] [blame] | 61 | ], |
| 62 | 'sources': [ |
| 63 | 'common/test/run_all_perftests.cc', |
| 64 | ], |
| 65 | }, |
| 66 | { |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 67 | 'target_name': 'mojo_system_impl', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 68 | 'type': '<(component)', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 69 | 'dependencies': [ |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 70 | 'mojo_system', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 71 | '../base/base.gyp:base', |
| 72 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 73 | 'defines': [ |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 74 | 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 75 | ], |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 76 | 'sources': [ |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 77 | 'system/channel.cc', |
| 78 | 'system/channel.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 79 | 'system/core_impl.cc', |
| 80 | 'system/core_impl.h', |
| 81 | 'system/dispatcher.cc', |
| 82 | 'system/dispatcher.h', |
| 83 | 'system/limits.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 84 | 'system/local_message_pipe_endpoint.cc', |
| 85 | 'system/local_message_pipe_endpoint.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 86 | 'system/memory.cc', |
| 87 | 'system/memory.h', |
[email protected] | aae74e9 | 2013-10-03 20:52:34 | [diff] [blame] | 88 | 'system/message_in_transit.cc', |
| 89 | 'system/message_in_transit.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 90 | 'system/message_pipe.cc', |
| 91 | 'system/message_pipe.h', |
| 92 | 'system/message_pipe_dispatcher.cc', |
| 93 | 'system/message_pipe_dispatcher.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 94 | 'system/message_pipe_endpoint.cc', |
| 95 | 'system/message_pipe_endpoint.h', |
[email protected] | 072b8d48 | 2013-12-02 18:51:43 | [diff] [blame] | 96 | 'system/platform_channel.cc', |
| 97 | 'system/platform_channel.h', |
[email protected] | 2f8f0c0 | 2013-12-03 23:44:57 | [diff] [blame] | 98 | 'system/platform_channel_handle.cc', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 99 | 'system/platform_channel_handle.h', |
[email protected] | 072b8d48 | 2013-12-02 18:51:43 | [diff] [blame] | 100 | 'system/platform_channel_posix.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 101 | 'system/proxy_message_pipe_endpoint.cc', |
| 102 | 'system/proxy_message_pipe_endpoint.h', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 103 | 'system/raw_channel.h', |
| 104 | 'system/raw_channel_posix.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 105 | 'system/raw_channel_win.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 106 | 'system/simple_dispatcher.cc', |
| 107 | 'system/simple_dispatcher.h', |
| 108 | 'system/waiter.cc', |
| 109 | 'system/waiter.h', |
| 110 | 'system/waiter_list.cc', |
| 111 | 'system/waiter_list.h', |
| 112 | ], |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 113 | }, |
| 114 | { |
| 115 | 'target_name': 'mojo_system_unittests', |
| 116 | 'type': 'executable', |
| 117 | 'dependencies': [ |
| 118 | '../base/base.gyp:run_all_unittests', |
| 119 | '../testing/gtest.gyp:gtest', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame^] | 120 | 'mojo_common_test_support', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 121 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 122 | 'mojo_system_impl', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 123 | ], |
| 124 | 'sources': [ |
| 125 | 'system/core_impl_unittest.cc', |
| 126 | 'system/core_test_base.cc', |
| 127 | 'system/core_test_base.h', |
| 128 | 'system/dispatcher_unittest.cc', |
| 129 | 'system/message_pipe_dispatcher_unittest.cc', |
| 130 | 'system/message_pipe_unittest.cc', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame^] | 131 | 'system/multiprocess_message_pipe_unittest.cc', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 132 | 'system/raw_channel_posix_unittest.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 133 | 'system/remote_message_pipe_posix_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 134 | 'system/simple_dispatcher_unittest.cc', |
[email protected] | b334246d | 2013-10-24 00:08:57 | [diff] [blame] | 135 | 'system/test_utils.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 136 | 'system/test_utils.h', |
| 137 | 'system/waiter_list_unittest.cc', |
| 138 | 'system/waiter_test_utils.cc', |
| 139 | 'system/waiter_test_utils.h', |
| 140 | 'system/waiter_unittest.cc', |
| 141 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 142 | }, |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 143 | { |
[email protected] | e161119 | 2013-12-11 22:23:49 | [diff] [blame] | 144 | 'target_name': 'mojo_gles2_impl', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 145 | 'type': '<(component)', |
| 146 | 'dependencies': [ |
| 147 | '../gpu/gpu.gyp:gles2_c_lib', |
[email protected] | e161119 | 2013-12-11 22:23:49 | [diff] [blame] | 148 | 'mojo_gles2', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 149 | ], |
| 150 | 'defines': [ |
[email protected] | e161119 | 2013-12-11 22:23:49 | [diff] [blame] | 151 | 'MOJO_GLES2_IMPL_IMPLEMENTATION', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 152 | ], |
| 153 | 'sources': [ |
[email protected] | e161119 | 2013-12-11 22:23:49 | [diff] [blame] | 154 | 'gles2/export.h', |
| 155 | 'gles2/gles2_impl.cc', |
| 156 | 'gles2/gles2_impl.h', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 157 | ], |
| 158 | }, |
| 159 | { |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 160 | 'target_name': 'mojo_common_lib', |
| 161 | 'type': '<(component)', |
| 162 | 'defines': [ |
| 163 | 'MOJO_COMMON_IMPLEMENTATION', |
| 164 | ], |
| 165 | 'dependencies': [ |
| 166 | '../base/base.gyp:base', |
| 167 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 168 | 'mojo_system', |
| 169 | ], |
| 170 | 'sources': [ |
| 171 | 'common/bindings_support_impl.cc', |
| 172 | 'common/bindings_support_impl.h', |
[email protected] | 2229d425 | 2013-12-08 06:53:47 | [diff] [blame] | 173 | 'common/common_type_converters.cc', |
| 174 | 'common/common_type_converters.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 175 | 'common/handle_watcher.cc', |
| 176 | 'common/handle_watcher.h', |
| 177 | 'common/message_pump_mojo.cc', |
| 178 | 'common/message_pump_mojo.h', |
| 179 | 'common/message_pump_mojo_handler.h', |
| 180 | ], |
| 181 | 'conditions': [ |
| 182 | ['OS == "win"', { |
| 183 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 184 | 'msvs_disabled_warnings': [ |
| 185 | 4267, |
| 186 | ], |
| 187 | }], |
| 188 | ], |
| 189 | }, |
| 190 | { |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame^] | 191 | 'target_name': 'mojo_common_test_support', |
| 192 | 'type': 'static_library', |
| 193 | 'dependencies': [ |
| 194 | '../base/base.gyp:base', |
| 195 | '../base/base.gyp:test_support_base', |
| 196 | '../testing/gtest.gyp:gtest', |
| 197 | 'mojo_system', |
| 198 | 'mojo_system_impl', |
| 199 | ], |
| 200 | 'sources': [ |
| 201 | 'common/test/multiprocess_test_base.cc', |
| 202 | 'common/test/multiprocess_test_base.h', |
| 203 | ], |
| 204 | }, |
| 205 | { |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 206 | 'target_name': 'mojo_common_unittests', |
| 207 | 'type': 'executable', |
| 208 | 'dependencies': [ |
| 209 | '../base/base.gyp:base', |
| 210 | '../base/base.gyp:base_message_loop_tests', |
| 211 | '../testing/gtest.gyp:gtest', |
[email protected] | c2a52bf | 2013-12-02 13:55:36 | [diff] [blame] | 212 | 'mojo_bindings', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 213 | 'mojo_common_lib', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame^] | 214 | 'mojo_common_test_support', |
[email protected] | c2a52bf | 2013-12-02 13:55:36 | [diff] [blame] | 215 | 'mojo_public_test_support', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 216 | 'mojo_run_all_unittests', |
| 217 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 218 | 'mojo_system_impl', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 219 | ], |
| 220 | 'sources': [ |
[email protected] | 2229d425 | 2013-12-08 06:53:47 | [diff] [blame] | 221 | 'common/common_type_converters_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 222 | 'common/handle_watcher_unittest.cc', |
| 223 | 'common/message_pump_mojo_unittest.cc', |
[email protected] | d16a5b4 | 2013-12-03 17:47:24 | [diff] [blame] | 224 | 'common/test/multiprocess_test_base_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 225 | ], |
| 226 | 'conditions': [ |
| 227 | ['OS == "win"', { |
| 228 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 229 | 'msvs_disabled_warnings': [ |
| 230 | 4267, |
| 231 | ], |
| 232 | }], |
| 233 | ], |
| 234 | }, |
| 235 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 236 | 'target_name': 'mojo_shell_lib', |
| 237 | 'type': 'static_library', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 238 | 'dependencies': [ |
| 239 | '../base/base.gyp:base', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 240 | '../net/net.gyp:net', |
[email protected] | 3c44830 | 2013-10-22 08:39:08 | [diff] [blame] | 241 | '../url/url.gyp:url_lib', |
[email protected] | c1e5c78 | 2013-11-12 05:10:07 | [diff] [blame] | 242 | 'mojo_bindings', |
[email protected] | e161119 | 2013-12-11 22:23:49 | [diff] [blame] | 243 | 'mojo_gles2_impl', |
| 244 | 'mojo_native_viewport_service', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 245 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 246 | 'mojo_system_impl', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 247 | ], |
| 248 | 'sources': [ |
| 249 | 'shell/app_container.cc', |
| 250 | 'shell/app_container.h', |
[email protected] | 6e50d5e4 | 2013-10-27 02:45:46 | [diff] [blame] | 251 | 'shell/context.cc', |
| 252 | 'shell/context.h', |
[email protected] | 4093270 | 2013-11-20 22:29:30 | [diff] [blame] | 253 | 'shell/init.cc', |
| 254 | 'shell/init.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 255 | 'shell/loader.cc', |
| 256 | 'shell/loader.h', |
[email protected] | c6c6e565 | 2013-10-29 02:40:30 | [diff] [blame] | 257 | 'shell/network_delegate.cc', |
| 258 | 'shell/network_delegate.h', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 259 | 'shell/run.cc', |
| 260 | 'shell/run.h', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 261 | 'shell/storage.cc', |
| 262 | 'shell/storage.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 263 | 'shell/switches.cc', |
| 264 | 'shell/switches.h', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 265 | 'shell/task_runners.cc', |
| 266 | 'shell/task_runners.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 267 | 'shell/url_request_context_getter.cc', |
| 268 | 'shell/url_request_context_getter.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 269 | ], |
[email protected] | 6838e3c | 2013-10-11 20:16:22 | [diff] [blame] | 270 | 'conditions': [ |
| 271 | ['OS == "win"', { |
| 272 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 273 | 'msvs_disabled_warnings': [ |
| 274 | 4267, |
| 275 | ], |
| 276 | }], |
| 277 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 278 | }, |
| 279 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 280 | 'target_name': 'mojo_shell', |
| 281 | 'type': 'executable', |
| 282 | 'dependencies': [ |
| 283 | '../base/base.gyp:base', |
[email protected] | 4236839 | 2013-11-05 13:45:02 | [diff] [blame] | 284 | '../ui/gl/gl.gyp:gl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 285 | '../url/url.gyp:url_lib', |
[email protected] | c1e5c78 | 2013-11-12 05:10:07 | [diff] [blame] | 286 | 'mojo_common_lib', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 287 | 'mojo_shell_lib', |
| 288 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 289 | 'mojo_system_impl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 290 | ], |
| 291 | 'sources': [ |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 292 | 'shell/desktop/mojo_main.cc', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 293 | ], |
| 294 | 'conditions': [ |
| 295 | ['OS == "win"', { |
| 296 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 297 | 'msvs_disabled_warnings': [ |
| 298 | 4267, |
| 299 | ], |
| 300 | }], |
| 301 | ], |
| 302 | }, |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 303 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 304 | 'conditions': [ |
| 305 | ['OS=="android"', { |
| 306 | 'targets': [ |
| 307 | { |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 308 | 'target_name': 'mojo_native_viewport_java', |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 309 | 'type': 'none', |
| 310 | 'dependencies': [ |
| 311 | '../base/base.gyp:base_java', |
| 312 | ], |
| 313 | 'variables': { |
| 314 | 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', |
| 315 | }, |
| 316 | 'includes': [ '../build/java.gypi' ], |
| 317 | }, |
| 318 | { |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 319 | 'target_name': 'mojo_java_set_jni_headers', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 320 | 'type': 'none', |
| 321 | 'variables': { |
| 322 | 'jni_gen_package': 'mojo', |
| 323 | 'input_java_class': 'java/util/HashSet.class', |
| 324 | }, |
| 325 | 'includes': [ '../build/jar_file_jni_generator.gypi' ], |
| 326 | }, |
| 327 | { |
| 328 | 'target_name': 'mojo_jni_headers', |
| 329 | 'type': 'none', |
| 330 | 'dependencies': [ |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 331 | 'mojo_java_set_jni_headers', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 332 | ], |
| 333 | 'direct_dependent_settings': { |
| 334 | 'include_dirs': [ |
| 335 | '<(SHARED_INTERMEDIATE_DIR)/mojo', |
| 336 | ], |
| 337 | }, |
| 338 | 'sources': [ |
[email protected] | 92aa30ec | 2013-12-05 06:39:18 | [diff] [blame] | 339 | 'services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 340 | 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 341 | ], |
| 342 | 'variables': { |
| 343 | 'jni_gen_package': 'mojo' |
| 344 | }, |
| 345 | 'includes': [ '../build/jni_generator.gypi' ], |
| 346 | }, |
| 347 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 348 | 'target_name': 'libmojo_shell', |
| 349 | 'type': 'shared_library', |
| 350 | 'dependencies': [ |
| 351 | '../base/base.gyp:base', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 352 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 353 | '../ui/gfx/gfx.gyp:gfx', |
| 354 | '../ui/gl/gl.gyp:gl', |
[email protected] | c1e5c78 | 2013-11-12 05:10:07 | [diff] [blame] | 355 | 'mojo_common_lib', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 356 | 'mojo_jni_headers', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 357 | 'mojo_shell_lib', |
| 358 | ], |
| 359 | 'sources': [ |
| 360 | 'shell/android/library_loader.cc', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 361 | 'shell/android/mojo_main.cc', |
| 362 | 'shell/android/mojo_main.h', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 363 | ], |
| 364 | }, |
| 365 | { |
| 366 | 'target_name': 'mojo_shell_apk', |
| 367 | 'type': 'none', |
| 368 | 'dependencies': [ |
| 369 | '../base/base.gyp:base_java', |
| 370 | '../net/net.gyp:net_java', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 371 | 'mojo_native_viewport_java', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 372 | 'libmojo_shell', |
| 373 | ], |
| 374 | 'variables': { |
| 375 | 'apk_name': 'MojoShell', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 376 | 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
| 377 | 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 378 | 'native_lib_target': 'libmojo_shell', |
| 379 | }, |
| 380 | 'includes': [ '../build/java_apk.gypi' ], |
| 381 | } |
| 382 | ], |
| 383 | }], |
| 384 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 385 | } |