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
|
{
'targets': [
{
'target_name': 'mojo_gles2_bindings',
'type': 'static_library',
'sources': [
'services/gles2/gles2.mojom',
],
'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'mojo_bindings',
'mojo_system',
],
},
{
'target_name': 'mojo_gles2_service',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../gpu/gpu.gyp:command_buffer_service',
'../gpu/gpu.gyp:gles2_implementation',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../ui/gl/gl.gyp:gl',
'mojo_gles2_bindings',
],
'export_dependent_settings': [
'mojo_gles2_bindings',
],
'sources': [
'services/gles2/gles2_impl.cc',
'services/gles2/gles2_impl.h',
],
},
{
'target_name': 'mojo_native_viewport_bindings',
'type': 'static_library',
'sources': [
'services/native_viewport/native_viewport.mojom',
],
'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'mojo_bindings',
'mojo_system',
],
},
{
'target_name': 'mojo_native_viewport_service',
'type': '<(component)',
'dependencies': [
'../base/base.gyp:base',
'../ui/events/events.gyp:events',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'mojo_common_lib',
'mojo_environment_chromium',
'mojo_gles2_service',
'mojo_native_viewport_bindings',
'mojo_shell_bindings',
],
'defines': [
'MOJO_NATIVE_VIEWPORT_IMPLEMENTATION',
],
'sources': [
'services/native_viewport/native_viewport.h',
'services/native_viewport/native_viewport_android.cc',
'services/native_viewport/native_viewport_mac.mm',
'services/native_viewport/native_viewport_service.cc',
'services/native_viewport/native_viewport_service.h',
'services/native_viewport/native_viewport_stub.cc',
'services/native_viewport/native_viewport_win.cc',
'services/native_viewport/native_viewport_x11.cc',
],
'conditions': [
['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', {
'sources!': [
'services/native_viewport/native_viewport_stub.cc',
],
}],
['OS=="android"', {
'dependencies': [
'mojo_jni_headers',
],
}],
],
},
],
}
|