Chromium Code Reviews| Index: mojo/mojo.gyp |
| diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp |
| index 567452f54381fc2bc68bb161b229884f365595df..7cbdbd6af950a40d7e726f6dd29f671884cd9a89 100644 |
| --- a/mojo/mojo.gyp |
| +++ b/mojo/mojo.gyp |
| @@ -64,10 +64,13 @@ |
| { |
| 'target_name': 'mojo_system', |
| # TODO(vtl): This should probably be '<(component)'; make it work. |
| - 'type': 'static_library', |
| + 'type': '<(component)', |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| ], |
| + 'defines': [ |
| + 'SYSTEM_IMPLEMENTATION', |
|
Ben Goodger (Google)
2013/10/03 17:45:18
MOJO_SYSTEM_IMPLEMENTATION?
|
| + ], |
| 'sources': [ |
| 'public/system/core.h', |
| 'system/core.cc', |
| @@ -118,5 +121,31 @@ |
| 'system/waiter_unittest.cc', |
| ], |
| }, |
| + { |
| + 'target_name': 'mojo_shell', |
| + 'type': 'executable', |
| + 'dependencies': [ |
| + '../base/base.gyp:base', |
| + 'mojo_system' |
| + ], |
| + 'sources': [ |
| + 'shell/app_container.cc', |
| + 'shell/app_container.h', |
| + 'shell/shell.cc', |
| + 'shell/switches.cc', |
| + 'shell/switches.h', |
| + ], |
| + }, |
| + { |
| + 'target_name': 'sample_app', |
| + 'type': '<(component)', |
| + 'dependencies': [ |
| + '../base/base.gyp:base', |
| + 'mojo_system', |
| + ], |
| + 'sources': [ |
| + 'shell/sample_app.cc', |
| + ], |
| + }, |
| ], |
| } |