forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmojo_examples.gypi
125 lines (124 loc) · 3.92 KB
/
mojo_examples.gypi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'mojo_sample_app',
'type': 'shared_library',
'dependencies': [
'../gpu/gpu.gyp:gles2_c_lib',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../ui/gl/gl.gyp:gl',
'mojo_environment_standalone',
'mojo_gles2',
'mojo_gles2_bindings',
'mojo_native_viewport_bindings',
'mojo_shell_bindings',
'mojo_system',
'mojo_utility',
],
'sources': [
'examples/sample_app/gles2_client_impl.cc',
'examples/sample_app/gles2_client_impl.cc',
'examples/sample_app/sample_app.cc',
'examples/sample_app/spinning_cube.cc',
'examples/sample_app/spinning_cube.h',
],
},
{
'target_name': 'package_mojo_sample_app',
'variables': {
'app_name': 'mojo_sample_app',
},
'includes': [ 'build/package_app.gypi' ],
},
{
'target_name': 'mojo_compositor_app',
'type': 'shared_library',
'dependencies': [
'../base/base.gyp:base',
'../cc/cc.gyp:cc',
'../gpu/gpu.gyp:gles2_c_lib',
'../gpu/gpu.gyp:gles2_implementation',
'../skia/skia.gyp:skia',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../ui/gl/gl.gyp:gl',
'mojo_common_lib',
'mojo_environment_chromium',
'mojo_gles2',
'mojo_gles2_bindings',
'mojo_native_viewport_bindings',
'mojo_shell_bindings',
'mojo_system',
],
'sources': [
'examples/compositor_app/compositor_app.cc',
'examples/compositor_app/compositor_host.cc',
'examples/compositor_app/compositor_host.h',
'examples/compositor_app/gles2_client_impl.cc',
'examples/compositor_app/gles2_client_impl.cc',
],
},
{
'target_name': 'package_mojo_compositor_app',
'variables': {
'app_name': 'mojo_compositor_app',
},
'includes': [ 'build/package_app.gypi' ],
},
],
'conditions': [
['use_aura==1', {
'targets': [
{
'target_name': 'mojo_aura_demo',
'type': 'shared_library',
'dependencies': [
'../base/base.gyp:base',
'../cc/cc.gyp:cc',
'../gpu/gpu.gyp:gles2_c_lib',
'../gpu/gpu.gyp:gles2_implementation',
'../skia/skia.gyp:skia',
'../ui/aura/aura.gyp:aura',
'../ui/compositor/compositor.gyp:compositor',
'../ui/events/events.gyp:events',
'../ui/events/events.gyp:events_base',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../ui/gl/gl.gyp:gl',
'../ui/ui.gyp:ui',
'../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
'mojo_common_lib',
'mojo_environment_chromium',
'mojo_gles2',
'mojo_gles2_bindings',
'mojo_native_viewport_bindings',
'mojo_shell_bindings',
'mojo_system',
],
'sources': [
'examples/aura_demo/aura_demo.cc',
'examples/aura_demo/demo_context_factory.cc',
'examples/aura_demo/demo_context_factory.h',
'examples/aura_demo/demo_screen.cc',
'examples/aura_demo/demo_screen.h',
'examples/aura_demo/root_window_host_mojo.cc',
'examples/aura_demo/root_window_host_mojo.h',
'examples/compositor_app/gles2_client_impl.cc',
'examples/compositor_app/gles2_client_impl.cc',
],
},
{
'target_name': 'package_mojo_aura_demo',
'variables': {
'app_name': 'mojo_aura_demo',
},
'includes': [ 'build/package_app.gypi' ],
},
],
}],
],
}