1 { 2 'targets': [ 3 { 4 'target_name': 'mojo_sample_app', 5 'type': 'shared_library', 6 'dependencies': [ 7 '../base/base.gyp:base', 8 '../gpu/gpu.gyp:gles2_c_lib', 9 '../ui/gfx/gfx.gyp:gfx', 10 '../ui/gl/gl.gyp:gl', 11 'mojo_common_lib', 12 'mojo_gles2', 13 'mojo_gles2_bindings', 14 'mojo_native_viewport_bindings', 15 'mojo_system', 16 ], 17 'sources': [ 18 'examples/sample_app/gles2_client_impl.cc', 19 'examples/sample_app/gles2_client_impl.cc', 20 'examples/sample_app/native_viewport_client_impl.cc', 21 'examples/sample_app/native_viewport_client_impl.h', 22 'examples/sample_app/sample_app.cc', 23 'examples/sample_app/spinning_cube.cc', 24 'examples/sample_app/spinning_cube.h', 25 ], 26 }, 27 { 28 'target_name': 'package_mojo_sample_app', 29 'variables': { 30 'app_name': 'mojo_sample_app', 31 }, 32 'includes': [ 'build/package_app.gypi' ], 33 }, 34 { 35 'target_name': 'mojo_hello_world_bindings', 36 'type': 'static_library', 37 'sources': [ 38 'examples/hello_world_service/hello_world_service.mojom', 39 ], 40 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], 41 'export_dependent_settings': [ 42 'mojo_bindings', 43 'mojo_system', 44 ], 45 }, 46 { 47 'target_name': 'mojo_hello_world_service', 48 'type': 'static_library', 49 'dependencies': [ 50 '../base/base.gyp:base', 51 'mojo_hello_world_bindings', 52 ], 53 'export_dependent_settings': [ 54 'mojo_hello_world_bindings', 55 ], 56 'sources': [ 57 'examples/hello_world_service/hello_world_service_impl.cc', 58 'examples/hello_world_service/hello_world_service_impl.h', 59 ], 60 }, 61 ], 62 } 63