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