[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] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 9 | 'targets': [ |
| 10 | { |
| 11 | 'target_name': 'mojo', |
| 12 | 'type': 'none', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 13 | 'dependencies': [ |
| 14 | 'mojo_public_test_support', |
| 15 | 'mojo_public_unittests', |
| 16 | 'mojo_public_perftests', |
| 17 | 'mojo_system', |
| 18 | 'mojo_system_unittests', |
[email protected] | 1c8951bc | 2013-11-07 06:42:17 | [diff] [blame] | 19 | 'mojo_shell_lib', |
| 20 | 'mojo_shell', |
| 21 | 'mojo_shell_unittests', |
| 22 | 'mojo_utility', |
| 23 | 'sample_app', |
| 24 | 'mojo_bindings', |
| 25 | 'mojo_bindings_test', |
| 26 | 'native_viewport', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 27 | ], |
| 28 | }, |
| 29 | { |
| 30 | 'target_name': 'mojo_public_test_support', |
| 31 | 'type': 'static_library', |
| 32 | 'dependencies': [ |
| 33 | '../base/base.gyp:base', |
| 34 | '../testing/gtest.gyp:gtest', |
| 35 | 'mojo_system', |
| 36 | ], |
| 37 | 'sources': [ |
[email protected] | 658b86b1 | 2013-11-06 21:23:23 | [diff] [blame] | 38 | 'public/tests/simple_bindings_support.cc', |
| 39 | 'public/tests/simple_bindings_support.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 40 | 'public/tests/test_support.cc', |
| 41 | 'public/tests/test_support.h', |
| 42 | ], |
| 43 | }, |
| 44 | { |
| 45 | 'target_name': 'mojo_public_unittests', |
| 46 | 'type': 'executable', |
| 47 | 'dependencies': [ |
| 48 | '../base/base.gyp:run_all_unittests', |
| 49 | '../testing/gtest.gyp:gtest', |
[email protected] | 658b86b1 | 2013-11-06 21:23:23 | [diff] [blame] | 50 | 'mojo_bindings', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 51 | 'mojo_public_test_support', |
| 52 | 'mojo_system', |
| 53 | ], |
| 54 | 'sources': [ |
[email protected] | 658b86b1 | 2013-11-06 21:23:23 | [diff] [blame] | 55 | 'public/tests/bindings_connector_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 56 | 'public/tests/system_core_unittest.cc', |
| 57 | ], |
| 58 | }, |
| 59 | { |
| 60 | 'target_name': 'mojo_public_perftests', |
| 61 | 'type': 'executable', |
| 62 | 'dependencies': [ |
| 63 | '../base/base.gyp:base', |
| 64 | '../base/base.gyp:test_support_perf', |
| 65 | '../testing/gtest.gyp:gtest', |
| 66 | 'mojo_public_test_support', |
| 67 | 'mojo_system', |
| 68 | ], |
| 69 | 'sources': [ |
| 70 | 'public/tests/system_core_perftest.cc', |
| 71 | ], |
| 72 | }, |
| 73 | { |
| 74 | 'target_name': 'mojo_system', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 75 | 'type': '<(component)', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 76 | 'dependencies': [ |
| 77 | '../base/base.gyp:base', |
| 78 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 79 | 'defines': [ |
| 80 | 'MOJO_SYSTEM_IMPLEMENTATION', |
| 81 | ], |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 82 | 'sources': [ |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame^] | 83 | 'system/channel.cc', |
| 84 | 'system/channel.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 85 | 'system/core.cc', |
| 86 | 'system/core_impl.cc', |
| 87 | 'system/core_impl.h', |
| 88 | 'system/dispatcher.cc', |
| 89 | 'system/dispatcher.h', |
| 90 | 'system/limits.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 91 | 'system/local_message_pipe_endpoint.cc', |
| 92 | 'system/local_message_pipe_endpoint.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 93 | 'system/memory.cc', |
| 94 | 'system/memory.h', |
[email protected] | aae74e9 | 2013-10-03 20:52:34 | [diff] [blame] | 95 | 'system/message_in_transit.cc', |
| 96 | 'system/message_in_transit.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 97 | 'system/message_pipe.cc', |
| 98 | 'system/message_pipe.h', |
| 99 | 'system/message_pipe_dispatcher.cc', |
| 100 | 'system/message_pipe_dispatcher.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 101 | 'system/message_pipe_endpoint.cc', |
| 102 | 'system/message_pipe_endpoint.h', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 103 | 'system/platform_channel_handle.h', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame^] | 104 | 'system/proxy_message_pipe_endpoint.cc', |
| 105 | 'system/proxy_message_pipe_endpoint.h', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 106 | 'system/raw_channel.h', |
| 107 | 'system/raw_channel_posix.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame^] | 108 | 'system/raw_channel_win.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 109 | 'system/simple_dispatcher.cc', |
| 110 | 'system/simple_dispatcher.h', |
| 111 | 'system/waiter.cc', |
| 112 | 'system/waiter.h', |
| 113 | 'system/waiter_list.cc', |
| 114 | 'system/waiter_list.h', |
| 115 | ], |
| 116 | 'direct_dependent_settings': { |
| 117 | 'include_dirs': [ |
| 118 | '..', |
| 119 | ], |
| 120 | }, |
| 121 | }, |
| 122 | { |
| 123 | 'target_name': 'mojo_system_unittests', |
| 124 | 'type': 'executable', |
| 125 | 'dependencies': [ |
| 126 | '../base/base.gyp:run_all_unittests', |
| 127 | '../testing/gtest.gyp:gtest', |
| 128 | 'mojo_system', |
| 129 | ], |
| 130 | 'sources': [ |
| 131 | 'system/core_impl_unittest.cc', |
| 132 | 'system/core_test_base.cc', |
| 133 | 'system/core_test_base.h', |
| 134 | 'system/dispatcher_unittest.cc', |
| 135 | 'system/message_pipe_dispatcher_unittest.cc', |
| 136 | 'system/message_pipe_unittest.cc', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 137 | 'system/raw_channel_posix_unittest.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame^] | 138 | 'system/remote_message_pipe_posix_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 139 | 'system/simple_dispatcher_unittest.cc', |
[email protected] | b334246d | 2013-10-24 00:08:57 | [diff] [blame] | 140 | 'system/test_utils.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 141 | 'system/test_utils.h', |
| 142 | 'system/waiter_list_unittest.cc', |
| 143 | 'system/waiter_test_utils.cc', |
| 144 | 'system/waiter_test_utils.h', |
| 145 | 'system/waiter_unittest.cc', |
| 146 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 147 | }, |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 148 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 149 | 'target_name': 'mojo_shell_lib', |
| 150 | 'type': 'static_library', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 151 | 'dependencies': [ |
| 152 | '../base/base.gyp:base', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 153 | '../net/net.gyp:net', |
[email protected] | 3c44830 | 2013-10-22 08:39:08 | [diff] [blame] | 154 | '../url/url.gyp:url_lib', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 155 | 'mojo_system', |
[email protected] | a8729cc | 2013-11-04 19:24:21 | [diff] [blame] | 156 | 'mojo_utility', |
[email protected] | ab900db | 2013-10-31 21:03:40 | [diff] [blame] | 157 | 'native_viewport', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 158 | ], |
| 159 | 'sources': [ |
| 160 | 'shell/app_container.cc', |
| 161 | 'shell/app_container.h', |
[email protected] | 6e50d5e4 | 2013-10-27 02:45:46 | [diff] [blame] | 162 | 'shell/context.cc', |
| 163 | 'shell/context.h', |
[email protected] | 03be76c | 2013-11-04 16:06:29 | [diff] [blame] | 164 | 'shell/handle_watcher.cc', |
| 165 | 'shell/handle_watcher.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 166 | 'shell/loader.cc', |
| 167 | 'shell/loader.h', |
[email protected] | c6c6e565 | 2013-10-29 02:40:30 | [diff] [blame] | 168 | 'shell/network_delegate.cc', |
| 169 | 'shell/network_delegate.h', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 170 | 'shell/run.cc', |
| 171 | 'shell/run.h', |
[email protected] | 03be76c | 2013-11-04 16:06:29 | [diff] [blame] | 172 | 'shell/scoped_message_pipe.cc', |
| 173 | 'shell/scoped_message_pipe.h', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 174 | 'shell/storage.cc', |
| 175 | 'shell/storage.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 176 | 'shell/switches.cc', |
| 177 | 'shell/switches.h', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 178 | 'shell/task_runners.cc', |
| 179 | 'shell/task_runners.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 180 | 'shell/url_request_context_getter.cc', |
| 181 | 'shell/url_request_context_getter.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 182 | ], |
[email protected] | 6838e3c | 2013-10-11 20:16:22 | [diff] [blame] | 183 | 'conditions': [ |
| 184 | ['OS == "win"', { |
| 185 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 186 | 'msvs_disabled_warnings': [ |
| 187 | 4267, |
| 188 | ], |
| 189 | }], |
| 190 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 191 | }, |
| 192 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 193 | 'target_name': 'mojo_shell', |
| 194 | 'type': 'executable', |
| 195 | 'dependencies': [ |
| 196 | '../base/base.gyp:base', |
[email protected] | 4236839 | 2013-11-05 13:45:02 | [diff] [blame] | 197 | '../ui/gl/gl.gyp:gl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 198 | '../url/url.gyp:url_lib', |
| 199 | 'mojo_shell_lib', |
| 200 | 'mojo_system', |
| 201 | ], |
| 202 | 'sources': [ |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 203 | 'shell/desktop/mojo_main.cc', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 204 | ], |
| 205 | 'conditions': [ |
| 206 | ['OS == "win"', { |
| 207 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 208 | 'msvs_disabled_warnings': [ |
| 209 | 4267, |
| 210 | ], |
| 211 | }], |
| 212 | ], |
| 213 | }, |
| 214 | { |
[email protected] | 03be76c | 2013-11-04 16:06:29 | [diff] [blame] | 215 | 'target_name': 'mojo_shell_unittests', |
| 216 | 'type': 'executable', |
| 217 | 'dependencies': [ |
| 218 | '../base/base.gyp:base', |
| 219 | '../base/base.gyp:run_all_unittests', |
| 220 | '../testing/gtest.gyp:gtest', |
| 221 | 'mojo_shell_lib', |
| 222 | 'mojo_system', |
| 223 | ], |
| 224 | 'sources': [ |
| 225 | 'shell/handle_watcher_unittest.cc', |
| 226 | 'shell/test/run_all_unittests.cc', |
| 227 | ], |
| 228 | 'conditions': [ |
| 229 | ['OS == "win"', { |
| 230 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 231 | 'msvs_disabled_warnings': [ |
| 232 | 4267, |
| 233 | ], |
| 234 | }], |
| 235 | ], |
| 236 | }, |
| 237 | { |
[email protected] | a8729cc | 2013-11-04 19:24:21 | [diff] [blame] | 238 | 'target_name': 'mojo_utility', |
| 239 | 'type': 'static_library', |
| 240 | 'dependencies': [ |
| 241 | 'mojo_system' |
| 242 | ], |
| 243 | 'sources': [ |
| 244 | 'public/utility/scoped_handle.cc', |
| 245 | 'public/utility/scoped_handle.h', |
| 246 | ], |
| 247 | }, |
| 248 | { |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 249 | 'target_name': 'sample_app', |
[email protected] | e5fc9bff | 2013-10-27 09:48:47 | [diff] [blame] | 250 | 'type': 'shared_library', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 251 | 'dependencies': [ |
[email protected] | f7374ed | 2013-11-06 18:44:18 | [diff] [blame] | 252 | '../ui/gl/gl.gyp:gl', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 253 | 'mojo_system', |
| 254 | ], |
| 255 | 'sources': [ |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 256 | 'examples/sample_app/sample_app.cc', |
[email protected] | f7374ed | 2013-11-06 18:44:18 | [diff] [blame] | 257 | 'examples/sample_app/spinning_cube.cc', |
| 258 | 'examples/sample_app/spinning_cube.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 259 | ], |
| 260 | }, |
[email protected] | 6838e3c | 2013-10-11 20:16:22 | [diff] [blame] | 261 | { |
| 262 | 'target_name': 'mojo_bindings', |
| 263 | 'type': 'static_library', |
| 264 | 'include_dirs': [ |
| 265 | '..' |
| 266 | ], |
| 267 | 'sources': [ |
| 268 | 'public/bindings/lib/bindings.h', |
| 269 | 'public/bindings/lib/bindings_internal.h', |
| 270 | 'public/bindings/lib/bindings_serialization.cc', |
| 271 | 'public/bindings/lib/bindings_serialization.h', |
[email protected] | 658b86b1 | 2013-11-06 21:23:23 | [diff] [blame] | 272 | 'public/bindings/lib/bindings_support.cc', |
| 273 | 'public/bindings/lib/bindings_support.h', |
[email protected] | 6838e3c | 2013-10-11 20:16:22 | [diff] [blame] | 274 | 'public/bindings/lib/buffer.cc', |
| 275 | 'public/bindings/lib/buffer.h', |
[email protected] | 658b86b1 | 2013-11-06 21:23:23 | [diff] [blame] | 276 | 'public/bindings/lib/connector.cc', |
| 277 | 'public/bindings/lib/connector.h', |
[email protected] | 6838e3c | 2013-10-11 20:16:22 | [diff] [blame] | 278 | 'public/bindings/lib/message.cc', |
| 279 | 'public/bindings/lib/message.h', |
| 280 | 'public/bindings/lib/message_builder.cc', |
| 281 | 'public/bindings/lib/message_builder.h', |
[email protected] | 658b86b1 | 2013-11-06 21:23:23 | [diff] [blame] | 282 | 'public/bindings/lib/message_queue.cc', |
| 283 | 'public/bindings/lib/message_queue.h', |
[email protected] | 6838e3c | 2013-10-11 20:16:22 | [diff] [blame] | 284 | ], |
| 285 | }, |
| 286 | { |
| 287 | 'target_name': 'mojo_bindings_test', |
| 288 | 'type': 'executable', |
| 289 | 'include_dirs': [ |
| 290 | '..' |
| 291 | ], |
| 292 | 'dependencies': [ |
| 293 | 'mojo_bindings', |
| 294 | ], |
| 295 | 'sources': [ |
[email protected] | cbf932bb | 2013-11-06 17:31:32 | [diff] [blame] | 296 | 'public/bindings/sample/generated/sample_service.cc', |
[email protected] | 6838e3c | 2013-10-11 20:16:22 | [diff] [blame] | 297 | 'public/bindings/sample/generated/sample_service.h', |
[email protected] | cbf932bb | 2013-11-06 17:31:32 | [diff] [blame] | 298 | 'public/bindings/sample/generated/sample_service_internal.h', |
[email protected] | 6838e3c | 2013-10-11 20:16:22 | [diff] [blame] | 299 | 'public/bindings/sample/sample_test.cc', |
| 300 | ], |
| 301 | }, |
[email protected] | ab900db | 2013-10-31 21:03:40 | [diff] [blame] | 302 | { |
| 303 | 'target_name': 'native_viewport', |
| 304 | 'type': 'static_library', |
| 305 | 'dependencies': [ |
| 306 | '../base/base.gyp:base', |
[email protected] | 1cd3668 | 2013-11-03 05:25:00 | [diff] [blame] | 307 | '../gpu/gpu.gyp:command_buffer_service', |
| 308 | '../gpu/gpu.gyp:gles2_implementation', |
| 309 | '../ui/events/events.gyp:events', |
[email protected] | ab900db | 2013-10-31 21:03:40 | [diff] [blame] | 310 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | 988e5eb | 2013-11-06 06:01:47 | [diff] [blame] | 311 | '../ui/gl/gl.gyp:gl', |
[email protected] | ab900db | 2013-10-31 21:03:40 | [diff] [blame] | 312 | ], |
| 313 | 'sources': [ |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 314 | 'services/native_viewport/android/mojo_viewport.cc', |
| 315 | 'services/native_viewport/android/mojo_viewport.h', |
[email protected] | ab900db | 2013-10-31 21:03:40 | [diff] [blame] | 316 | 'services/native_viewport/native_viewport.h', |
| 317 | 'services/native_viewport/native_viewport_android.cc', |
| 318 | 'services/native_viewport/native_viewport_controller.cc', |
| 319 | 'services/native_viewport/native_viewport_controller.h', |
[email protected] | 988e5eb | 2013-11-06 06:01:47 | [diff] [blame] | 320 | 'services/native_viewport/native_viewport_mac.mm', |
[email protected] | ab900db | 2013-10-31 21:03:40 | [diff] [blame] | 321 | 'services/native_viewport/native_viewport_stub.cc', |
| 322 | 'services/native_viewport/native_viewport_win.cc', |
| 323 | 'services/native_viewport/native_viewport_x11.cc', |
| 324 | ], |
| 325 | 'conditions': [ |
[email protected] | 988e5eb | 2013-11-06 06:01:47 | [diff] [blame] | 326 | ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', { |
[email protected] | ab900db | 2013-10-31 21:03:40 | [diff] [blame] | 327 | 'sources!': [ |
| 328 | 'services/native_viewport/native_viewport_stub.cc', |
| 329 | ], |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 330 | }], |
| 331 | ['OS=="android"', { |
| 332 | 'dependencies': [ |
| 333 | 'mojo_jni_headers', |
| 334 | ], |
| 335 | }], |
[email protected] | ab900db | 2013-10-31 21:03:40 | [diff] [blame] | 336 | ], |
| 337 | }, |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 338 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 339 | 'conditions': [ |
| 340 | ['OS=="android"', { |
| 341 | 'targets': [ |
| 342 | { |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 343 | 'target_name': 'native_viewport_java', |
| 344 | 'type': 'none', |
| 345 | 'dependencies': [ |
| 346 | '../base/base.gyp:base_java', |
| 347 | ], |
| 348 | 'variables': { |
| 349 | 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', |
| 350 | }, |
| 351 | 'includes': [ '../build/java.gypi' ], |
| 352 | }, |
| 353 | { |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 354 | 'target_name': 'java_set_jni_headers', |
| 355 | 'type': 'none', |
| 356 | 'variables': { |
| 357 | 'jni_gen_package': 'mojo', |
| 358 | 'input_java_class': 'java/util/HashSet.class', |
| 359 | }, |
| 360 | 'includes': [ '../build/jar_file_jni_generator.gypi' ], |
| 361 | }, |
| 362 | { |
| 363 | 'target_name': 'mojo_jni_headers', |
| 364 | 'type': 'none', |
| 365 | 'dependencies': [ |
| 366 | 'java_set_jni_headers', |
| 367 | ], |
| 368 | 'direct_dependent_settings': { |
| 369 | 'include_dirs': [ |
| 370 | '<(SHARED_INTERMEDIATE_DIR)/mojo', |
| 371 | ], |
| 372 | }, |
| 373 | 'sources': [ |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 374 | 'services/native_viewport/android/src/org/chromium/mojo/MojoViewport.java', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 375 | 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 376 | ], |
| 377 | 'variables': { |
| 378 | 'jni_gen_package': 'mojo' |
| 379 | }, |
| 380 | 'includes': [ '../build/jni_generator.gypi' ], |
| 381 | }, |
| 382 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 383 | 'target_name': 'libmojo_shell', |
| 384 | 'type': 'shared_library', |
| 385 | 'dependencies': [ |
| 386 | '../base/base.gyp:base', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 387 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 388 | '../ui/gfx/gfx.gyp:gfx', |
| 389 | '../ui/gl/gl.gyp:gl', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 390 | 'mojo_jni_headers', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 391 | 'mojo_shell_lib', |
| 392 | ], |
| 393 | 'sources': [ |
| 394 | 'shell/android/library_loader.cc', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 395 | 'shell/android/mojo_main.cc', |
| 396 | 'shell/android/mojo_main.h', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 397 | ], |
| 398 | }, |
| 399 | { |
| 400 | 'target_name': 'mojo_shell_apk', |
| 401 | 'type': 'none', |
| 402 | 'dependencies': [ |
| 403 | '../base/base.gyp:base_java', |
| 404 | '../net/net.gyp:net_java', |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 405 | 'native_viewport_java', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 406 | 'libmojo_shell', |
| 407 | ], |
| 408 | 'variables': { |
| 409 | 'apk_name': 'MojoShell', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 410 | 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
| 411 | 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 412 | 'native_lib_target': 'libmojo_shell', |
| 413 | }, |
| 414 | 'includes': [ '../build/java_apk.gypi' ], |
| 415 | } |
| 416 | ], |
| 417 | }], |
| 418 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 419 | } |