Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1339)

Side by Side Diff: mojo/mojo_examples.gypi

Issue 316223002: Include mojo_main_{chromium,standalone}.cc instead of using a target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sort files Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | mojo/mojo_public.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'mojo_sample_app', 8 'target_name': 'mojo_sample_app',
9 'type': 'shared_library', 9 'type': 'shared_library',
10 'dependencies': [ 10 'dependencies': [
11 # TODO(darin): we should not be linking against these libraries! 11 # TODO(darin): we should not be linking against these libraries!
12 '../ui/events/events.gyp:events', 12 '../ui/events/events.gyp:events',
13 '../ui/gfx/gfx.gyp:gfx_geometry', 13 '../ui/gfx/gfx.gyp:gfx_geometry',
14 'mojo_application',
14 'mojo_cpp_bindings', 15 'mojo_cpp_bindings',
15 'mojo_environment_standalone', 16 'mojo_environment_standalone',
16 'mojo_geometry_bindings', 17 'mojo_geometry_bindings',
17 'mojo_gles2', 18 'mojo_gles2',
18 'mojo_main_standalone',
19 'mojo_native_viewport_bindings', 19 'mojo_native_viewport_bindings',
20 'mojo_system', 20 'mojo_system',
21 'mojo_utility', 21 'mojo_utility',
22 ], 22 ],
23 'sources': [ 23 'sources': [
24 'examples/sample_app/gles2_client_impl.cc', 24 'examples/sample_app/gles2_client_impl.cc',
25 'examples/sample_app/gles2_client_impl.cc', 25 'examples/sample_app/gles2_client_impl.cc',
26 'examples/sample_app/sample_app.cc', 26 'examples/sample_app/sample_app.cc',
27 'examples/sample_app/spinning_cube.cc', 27 'examples/sample_app/spinning_cube.cc',
28 'examples/sample_app/spinning_cube.h', 28 'examples/sample_app/spinning_cube.h',
29 'public/cpp/application/lib/mojo_main_standalone.cc',
29 ], 30 ],
30 }, 31 },
31 { 32 {
32 'target_name': 'package_mojo_sample_app', 33 'target_name': 'package_mojo_sample_app',
33 'variables': { 34 'variables': {
34 'app_name': 'mojo_sample_app', 35 'app_name': 'mojo_sample_app',
35 }, 36 },
36 'includes': [ 'build/package_app.gypi' ], 37 'includes': [ 'build/package_app.gypi' ],
37 }, 38 },
38 { 39 {
39 'target_name': 'mojo_compositor_app', 40 'target_name': 'mojo_compositor_app',
40 'type': 'shared_library', 41 'type': 'shared_library',
41 'dependencies': [ 42 'dependencies': [
42 '../base/base.gyp:base', 43 '../base/base.gyp:base',
43 '../cc/cc.gyp:cc', 44 '../cc/cc.gyp:cc',
44 '../ui/gfx/gfx.gyp:gfx', 45 '../ui/gfx/gfx.gyp:gfx',
45 '../ui/gfx/gfx.gyp:gfx_geometry', 46 '../ui/gfx/gfx.gyp:gfx_geometry',
47 'mojo_application',
46 'mojo_cc_support', 48 'mojo_cc_support',
47 'mojo_common_lib', 49 'mojo_common_lib',
48 'mojo_environment_chromium', 50 'mojo_environment_chromium',
49 'mojo_geometry_bindings', 51 'mojo_geometry_bindings',
50 'mojo_geometry_lib', 52 'mojo_geometry_lib',
51 'mojo_gles2', 53 'mojo_gles2',
52 'mojo_main_chromium',
53 'mojo_native_viewport_bindings', 54 'mojo_native_viewport_bindings',
54 'mojo_system_impl', 55 'mojo_system_impl',
55 ], 56 ],
56 'sources': [ 57 'sources': [
57 'examples/compositor_app/compositor_app.cc', 58 'examples/compositor_app/compositor_app.cc',
58 'examples/compositor_app/compositor_host.cc', 59 'examples/compositor_app/compositor_host.cc',
59 'examples/compositor_app/compositor_host.h', 60 'examples/compositor_app/compositor_host.h',
61 'public/cpp/application/lib/mojo_main_chromium.cc',
60 ], 62 ],
61 }, 63 },
62 { 64 {
63 'target_name': 'package_mojo_compositor_app', 65 'target_name': 'package_mojo_compositor_app',
64 'variables': { 66 'variables': {
65 'app_name': 'mojo_compositor_app', 67 'app_name': 'mojo_compositor_app',
66 }, 68 },
67 'includes': [ 'build/package_app.gypi' ], 69 'includes': [ 'build/package_app.gypi' ],
68 }, 70 },
69 { 71 {
70 'target_name': 'mojo_wget', 72 'target_name': 'mojo_wget',
71 'type': 'shared_library', 73 'type': 'shared_library',
72 'dependencies': [ 74 'dependencies': [
75 'mojo_application',
73 'mojo_cpp_bindings', 76 'mojo_cpp_bindings',
74 'mojo_environment_standalone', 77 'mojo_environment_standalone',
75 'mojo_main_standalone',
76 'mojo_network_bindings', 78 'mojo_network_bindings',
77 'mojo_system', 79 'mojo_system',
78 'mojo_utility', 80 'mojo_utility',
79 ], 81 ],
80 'sources': [ 82 'sources': [
81 'examples/wget/wget.cc', 83 'examples/wget/wget.cc',
84 'public/cpp/application/lib/mojo_main_standalone.cc',
82 ], 85 ],
83 }, 86 },
84 { 87 {
85 'target_name': 'package_mojo_wget', 88 'target_name': 'package_mojo_wget',
86 'variables': { 89 'variables': {
87 'app_name': 'mojo_wget', 90 'app_name': 'mojo_wget',
88 }, 91 },
89 'includes': [ 'build/package_app.gypi' ], 92 'includes': [ 'build/package_app.gypi' ],
90 }, 93 },
91 { 94 {
92 'target_name': 'mojo_pepper_container_app', 95 'target_name': 'mojo_pepper_container_app',
93 'type': 'shared_library', 96 'type': 'shared_library',
94 'dependencies': [ 97 'dependencies': [
95 '../base/base.gyp:base', 98 '../base/base.gyp:base',
96 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 99 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
97 '../gpu/gpu.gyp:command_buffer_common', 100 '../gpu/gpu.gyp:command_buffer_common',
98 '../ppapi/ppapi.gyp:ppapi_c', 101 '../ppapi/ppapi.gyp:ppapi_c',
99 '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube', 102 '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
100 '../ui/events/events.gyp:events_base', 103 '../ui/events/events.gyp:events_base',
104 'mojo_application',
101 'mojo_common_lib', 105 'mojo_common_lib',
102 'mojo_environment_chromium', 106 'mojo_environment_chromium',
103 'mojo_geometry_bindings', 107 'mojo_geometry_bindings',
104 'mojo_gles2', 108 'mojo_gles2',
105 'mojo_main_chromium',
106 'mojo_native_viewport_bindings', 109 'mojo_native_viewport_bindings',
107 'mojo_system_impl', 110 'mojo_system_impl',
108 ], 111 ],
109 'defines': [ 112 'defines': [
110 # We don't really want to export. We could change how 113 # We don't really want to export. We could change how
111 # ppapi_{shared,thunk}_export.h are defined to avoid this. 114 # ppapi_{shared,thunk}_export.h are defined to avoid this.
112 'PPAPI_SHARED_IMPLEMENTATION', 115 'PPAPI_SHARED_IMPLEMENTATION',
113 'PPAPI_THUNK_IMPLEMENTATION', 116 'PPAPI_THUNK_IMPLEMENTATION',
114 ], 117 ],
115 'sources': [ 118 'sources': [
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 'examples/pepper_container_app/plugin_instance.cc', 177 'examples/pepper_container_app/plugin_instance.cc',
175 'examples/pepper_container_app/plugin_instance.h', 178 'examples/pepper_container_app/plugin_instance.h',
176 'examples/pepper_container_app/plugin_module.cc', 179 'examples/pepper_container_app/plugin_module.cc',
177 'examples/pepper_container_app/plugin_module.h', 180 'examples/pepper_container_app/plugin_module.h',
178 'examples/pepper_container_app/ppb_core_thunk.cc', 181 'examples/pepper_container_app/ppb_core_thunk.cc',
179 'examples/pepper_container_app/ppb_opengles2_thunk.cc', 182 'examples/pepper_container_app/ppb_opengles2_thunk.cc',
180 'examples/pepper_container_app/resource_creation_impl.cc', 183 'examples/pepper_container_app/resource_creation_impl.cc',
181 'examples/pepper_container_app/resource_creation_impl.h', 184 'examples/pepper_container_app/resource_creation_impl.h',
182 'examples/pepper_container_app/thunk.h', 185 'examples/pepper_container_app/thunk.h',
183 'examples/pepper_container_app/type_converters.h', 186 'examples/pepper_container_app/type_converters.h',
187 'public/cpp/application/lib/mojo_main_chromium.cc',
184 ], 188 ],
185 }, 189 },
186 ], 190 ],
187 'conditions': [ 191 'conditions': [
188 ['use_aura==1', { 192 ['use_aura==1', {
189 'targets': [ 193 'targets': [
190 { 194 {
191 'target_name': 'mojo_aura_demo', 195 'target_name': 'mojo_aura_demo',
192 'type': 'shared_library', 196 'type': 'shared_library',
193 'dependencies': [ 197 'dependencies': [
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 }, 359 },
356 ], 360 ],
357 }], 361 }],
358 ['OS=="linux"', { 362 ['OS=="linux"', {
359 'targets': [ 363 'targets': [
360 { 364 {
361 'target_name': 'mojo_dbus_echo', 365 'target_name': 'mojo_dbus_echo',
362 'type': 'shared_library', 366 'type': 'shared_library',
363 'dependencies': [ 367 'dependencies': [
364 '../base/base.gyp:base', 368 '../base/base.gyp:base',
369 'mojo_application',
365 'mojo_cpp_bindings', 370 'mojo_cpp_bindings',
366 'mojo_environment_standalone', 371 'mojo_environment_standalone',
367 'mojo_echo_bindings', 372 'mojo_echo_bindings',
368 'mojo_main_standalone',
369 'mojo_system', 373 'mojo_system',
370 'mojo_utility', 374 'mojo_utility',
371 ], 375 ],
372 'sources': [ 376 'sources': [
373 'examples/dbus_echo/dbus_echo_app.cc', 377 'examples/dbus_echo/dbus_echo_app.cc',
378 'public/cpp/application/lib/mojo_main_standalone.cc',
374 ], 379 ],
375 }, 380 },
376 ], 381 ],
377 }], 382 }],
378 ], 383 ],
379 } 384 }
OLDNEW
« no previous file with comments | « no previous file | mojo/mojo_public.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698