OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'mojo_apps.gypi', | 10 'mojo_apps.gypi', |
11 'mojo_examples.gypi', | 11 'mojo_examples.gypi', |
12 'mojo_public.gypi', | 12 'mojo_public.gypi', |
13 'mojo_services.gypi', | 13 'mojo_services.gypi', |
14 ], | 14 ], |
15 'targets': [ | 15 'targets': [ |
16 { | 16 { |
17 'target_name': 'mojo', | 17 'target_name': 'mojo', |
18 'type': 'none', | 18 'type': 'none', |
19 'dependencies': [ | 19 'dependencies': [ |
20 'hello_world_service_impl', | 20 'hello_world_service', |
21 'mojo_bindings', | 21 'mojo_bindings', |
22 'mojo_bindings_unittests', | 22 'mojo_bindings_unittests', |
23 'mojo_common_lib', | 23 'mojo_common_lib', |
24 'mojo_common_unittests', | 24 'mojo_common_unittests', |
25 'mojo_js', | 25 'mojo_js', |
26 'mojo_js_unittests', | 26 'mojo_js_unittests', |
27 'mojo_public_perftests', | 27 'mojo_public_perftests', |
28 'mojo_public_test_support', | 28 'mojo_public_test_support', |
29 'mojo_public_unittests', | 29 'mojo_public_unittests', |
30 'mojo_shell', | 30 'mojo_shell', |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 'system/simple_dispatcher_unittest.cc', | 132 'system/simple_dispatcher_unittest.cc', |
133 'system/test_utils.cc', | 133 'system/test_utils.cc', |
134 'system/test_utils.h', | 134 'system/test_utils.h', |
135 'system/waiter_list_unittest.cc', | 135 'system/waiter_list_unittest.cc', |
136 'system/waiter_test_utils.cc', | 136 'system/waiter_test_utils.cc', |
137 'system/waiter_test_utils.h', | 137 'system/waiter_test_utils.h', |
138 'system/waiter_unittest.cc', | 138 'system/waiter_unittest.cc', |
139 ], | 139 ], |
140 }, | 140 }, |
141 { | 141 { |
| 142 'target_name': 'mojo_gles2', |
| 143 'type': '<(component)', |
| 144 'dependencies': [ |
| 145 '../gpu/gpu.gyp:gles2_c_lib', |
| 146 ], |
| 147 'defines': [ |
| 148 'MOJO_GLES2_IMPLEMENTATION', |
| 149 ], |
| 150 'sources': [ |
| 151 'gles2/gles2.cc', |
| 152 ], |
| 153 }, |
| 154 { |
142 'target_name': 'mojo_common_lib', | 155 'target_name': 'mojo_common_lib', |
143 'type': '<(component)', | 156 'type': '<(component)', |
144 'defines': [ | 157 'defines': [ |
145 'MOJO_COMMON_IMPLEMENTATION', | 158 'MOJO_COMMON_IMPLEMENTATION', |
146 ], | 159 ], |
147 'dependencies': [ | 160 'dependencies': [ |
148 '../base/base.gyp:base', | 161 '../base/base.gyp:base', |
149 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 162 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
150 'mojo_system', | 163 'mojo_system', |
151 ], | 164 ], |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 }, | 212 }, |
200 { | 213 { |
201 'target_name': 'mojo_shell_lib', | 214 'target_name': 'mojo_shell_lib', |
202 'type': 'static_library', | 215 'type': 'static_library', |
203 'dependencies': [ | 216 'dependencies': [ |
204 '../base/base.gyp:base', | 217 '../base/base.gyp:base', |
205 '../net/net.gyp:net', | 218 '../net/net.gyp:net', |
206 '../url/url.gyp:url_lib', | 219 '../url/url.gyp:url_lib', |
207 'mojo_bindings', | 220 'mojo_bindings', |
208 'mojo_system', | 221 'mojo_system', |
209 'native_viewport_impl', | 222 'mojo_native_viewport_service', |
210 ], | 223 ], |
211 'sources': [ | 224 'sources': [ |
212 'shell/app_container.cc', | 225 'shell/app_container.cc', |
213 'shell/app_container.h', | 226 'shell/app_container.h', |
214 'shell/context.cc', | 227 'shell/context.cc', |
215 'shell/context.h', | 228 'shell/context.h', |
216 'shell/init.cc', | 229 'shell/init.cc', |
217 'shell/init.h', | 230 'shell/init.h', |
218 'shell/loader.cc', | 231 'shell/loader.cc', |
219 'shell/loader.h', | 232 'shell/loader.h', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 4267, | 273 4267, |
261 ], | 274 ], |
262 }], | 275 }], |
263 ], | 276 ], |
264 }, | 277 }, |
265 ], | 278 ], |
266 'conditions': [ | 279 'conditions': [ |
267 ['OS=="android"', { | 280 ['OS=="android"', { |
268 'targets': [ | 281 'targets': [ |
269 { | 282 { |
270 'target_name': 'native_viewport_java', | 283 'target_name': 'mojo_native_viewport_java', |
271 'type': 'none', | 284 'type': 'none', |
272 'dependencies': [ | 285 'dependencies': [ |
273 '../base/base.gyp:base_java', | 286 '../base/base.gyp:base_java', |
274 ], | 287 ], |
275 'variables': { | 288 'variables': { |
276 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', | 289 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', |
277 }, | 290 }, |
278 'includes': [ '../build/java.gypi' ], | 291 'includes': [ '../build/java.gypi' ], |
279 }, | 292 }, |
280 { | 293 { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 'shell/android/mojo_main.cc', | 336 'shell/android/mojo_main.cc', |
324 'shell/android/mojo_main.h', | 337 'shell/android/mojo_main.h', |
325 ], | 338 ], |
326 }, | 339 }, |
327 { | 340 { |
328 'target_name': 'mojo_shell_apk', | 341 'target_name': 'mojo_shell_apk', |
329 'type': 'none', | 342 'type': 'none', |
330 'dependencies': [ | 343 'dependencies': [ |
331 '../base/base.gyp:base_java', | 344 '../base/base.gyp:base_java', |
332 '../net/net.gyp:net_java', | 345 '../net/net.gyp:net_java', |
333 'native_viewport_java', | 346 'mojo_native_viewport_java', |
334 'libmojo_shell', | 347 'libmojo_shell', |
335 ], | 348 ], |
336 'variables': { | 349 'variables': { |
337 'apk_name': 'MojoShell', | 350 'apk_name': 'MojoShell', |
338 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 351 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
339 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 352 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
340 'native_lib_target': 'libmojo_shell', | 353 'native_lib_target': 'libmojo_shell', |
341 }, | 354 }, |
342 'includes': [ '../build/java_apk.gypi' ], | 355 'includes': [ '../build/java_apk.gypi' ], |
343 } | 356 } |
344 ], | 357 ], |
345 }], | 358 }], |
346 ], | 359 ], |
347 } | 360 } |
OLD | NEW |