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 'SYSTEM_IMPLEMENTATION', | |
Ben Goodger (Google)
2013/10/03 17:45:18
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 30 matching lines...) Expand all Loading... | |
111 'system/message_pipe_dispatcher_unittest.cc', | 114 'system/message_pipe_dispatcher_unittest.cc', |
112 'system/message_pipe_unittest.cc', | 115 'system/message_pipe_unittest.cc', |
113 'system/simple_dispatcher_unittest.cc', | 116 'system/simple_dispatcher_unittest.cc', |
114 'system/test_utils.h', | 117 'system/test_utils.h', |
115 'system/waiter_list_unittest.cc', | 118 'system/waiter_list_unittest.cc', |
116 'system/waiter_test_utils.cc', | 119 'system/waiter_test_utils.cc', |
117 'system/waiter_test_utils.h', | 120 'system/waiter_test_utils.h', |
118 'system/waiter_unittest.cc', | 121 'system/waiter_unittest.cc', |
119 ], | 122 ], |
120 }, | 123 }, |
124 { | |
125 'target_name': 'mojo_shell', | |
126 'type': 'executable', | |
127 'dependencies': [ | |
128 '../base/base.gyp:base', | |
129 'mojo_system' | |
130 ], | |
131 'sources': [ | |
132 'shell/app_container.cc', | |
133 'shell/app_container.h', | |
134 'shell/shell.cc', | |
135 'shell/switches.cc', | |
136 'shell/switches.h', | |
137 ], | |
138 }, | |
139 { | |
140 'target_name': 'sample_app', | |
141 'type': '<(component)', | |
142 'dependencies': [ | |
143 '../base/base.gyp:base', | |
144 'mojo_system', | |
145 ], | |
146 'sources': [ | |
147 'shell/sample_app.cc', | |
148 ], | |
149 }, | |
121 ], | 150 ], |
122 } | 151 } |
OLD | NEW |