OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'defines': ['MOJO_IMPLEMENTATION'], | 10 'defines': ['MOJO_IMPLEMENTATION'], |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 'mojo_public_test_support', | 57 'mojo_public_test_support', |
58 'mojo_system', | 58 'mojo_system', |
59 ], | 59 ], |
60 'sources': [ | 60 'sources': [ |
61 'public/tests/system_core_perftest.cc', | 61 'public/tests/system_core_perftest.cc', |
62 ], | 62 ], |
63 }, | 63 }, |
64 { | 64 { |
65 'target_name': 'mojo_system', | 65 'target_name': 'mojo_system', |
66 # TODO(vtl): This should probably be '<(component)'; make it work. | 66 # TODO(vtl): This should probably be '<(component)'; make it work. |
67 'type': 'static_library', | 67 'type': '<(component)', |
68 'dependencies': [ | 68 'dependencies': [ |
69 '../base/base.gyp:base', | 69 '../base/base.gyp:base', |
70 ], | 70 ], |
| 71 'defines': [ |
| 72 'MOJO_SYSTEM_IMPLEMENTATION', |
| 73 ], |
71 'sources': [ | 74 'sources': [ |
72 'public/system/core.h', | 75 'public/system/core.h', |
73 'system/core.cc', | 76 'system/core.cc', |
74 'system/core_impl.cc', | 77 'system/core_impl.cc', |
75 'system/core_impl.h', | 78 'system/core_impl.h', |
76 'system/dispatcher.cc', | 79 'system/dispatcher.cc', |
77 'system/dispatcher.h', | 80 'system/dispatcher.h', |
78 'system/limits.h', | 81 'system/limits.h', |
79 'system/memory.cc', | 82 'system/memory.cc', |
80 'system/memory.h', | 83 'system/memory.h', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 'system/message_pipe_dispatcher_unittest.cc', | 116 'system/message_pipe_dispatcher_unittest.cc', |
114 'system/message_pipe_unittest.cc', | 117 'system/message_pipe_unittest.cc', |
115 'system/simple_dispatcher_unittest.cc', | 118 'system/simple_dispatcher_unittest.cc', |
116 'system/test_utils.h', | 119 'system/test_utils.h', |
117 'system/waiter_list_unittest.cc', | 120 'system/waiter_list_unittest.cc', |
118 'system/waiter_test_utils.cc', | 121 'system/waiter_test_utils.cc', |
119 'system/waiter_test_utils.h', | 122 'system/waiter_test_utils.h', |
120 'system/waiter_unittest.cc', | 123 'system/waiter_unittest.cc', |
121 ], | 124 ], |
122 }, | 125 }, |
| 126 { |
| 127 'target_name': 'mojo_shell', |
| 128 'type': 'executable', |
| 129 'dependencies': [ |
| 130 '../base/base.gyp:base', |
| 131 'mojo_system', |
| 132 ], |
| 133 'sources': [ |
| 134 'shell/app_container.cc', |
| 135 'shell/app_container.h', |
| 136 'shell/shell.cc', |
| 137 'shell/switches.cc', |
| 138 'shell/switches.h', |
| 139 ], |
| 140 }, |
| 141 { |
| 142 'target_name': 'sample_app', |
| 143 'type': '<(component)', |
| 144 'dependencies': [ |
| 145 '../base/base.gyp:base', |
| 146 'mojo_system', |
| 147 ], |
| 148 'sources': [ |
| 149 'shell/sample_app.cc', |
| 150 ], |
| 151 }, |
123 ], | 152 ], |
124 } | 153 } |
OLD | NEW |