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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 'system/simple_dispatcher_unittest.cc', | 125 'system/simple_dispatcher_unittest.cc', |
126 'system/test_utils.cc', | 126 'system/test_utils.cc', |
127 'system/test_utils.h', | 127 'system/test_utils.h', |
128 'system/waiter_list_unittest.cc', | 128 'system/waiter_list_unittest.cc', |
129 'system/waiter_test_utils.cc', | 129 'system/waiter_test_utils.cc', |
130 'system/waiter_test_utils.h', | 130 'system/waiter_test_utils.h', |
131 'system/waiter_unittest.cc', | 131 'system/waiter_unittest.cc', |
132 ], | 132 ], |
133 }, | 133 }, |
134 { | 134 { |
135 'target_name': 'mojo_shell', | 135 'target_name': 'mojo_shell_lib', |
136 'type': 'executable', | 136 'type': 'static_library', |
137 'dependencies': [ | 137 'dependencies': [ |
138 '../base/base.gyp:base', | 138 '../base/base.gyp:base', |
139 '../net/net.gyp:net', | 139 '../net/net.gyp:net', |
140 '../url/url.gyp:url_lib', | 140 '../url/url.gyp:url_lib', |
141 'mojo_system', | 141 'mojo_system', |
142 ], | 142 ], |
143 'sources': [ | 143 'sources': [ |
144 'loader/job.cc', | 144 'loader/job.cc', |
145 'loader/job.h', | 145 'loader/job.h', |
146 'loader/loader.cc', | 146 'loader/loader.cc', |
147 'loader/loader.h', | 147 'loader/loader.h', |
148 'loader/url_request_context_getter.cc', | 148 'loader/url_request_context_getter.cc', |
149 'loader/url_request_context_getter.h', | 149 'loader/url_request_context_getter.h', |
150 'shell/app_container.cc', | 150 'shell/app_container.cc', |
151 'shell/app_container.h', | 151 'shell/app_container.h', |
152 'shell/shell.cc', | |
153 'shell/storage.cc', | 152 'shell/storage.cc', |
154 'shell/storage.h', | 153 'shell/storage.h', |
155 'shell/switches.cc', | 154 'shell/switches.cc', |
156 'shell/switches.h', | 155 'shell/switches.h', |
157 'shell/task_runners.cc', | 156 'shell/task_runners.cc', |
158 'shell/task_runners.h', | 157 'shell/task_runners.h', |
159 ], | 158 ], |
160 'conditions': [ | 159 'conditions': [ |
161 ['OS == "win"', { | 160 ['OS == "win"', { |
162 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 161 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
163 'msvs_disabled_warnings': [ | 162 'msvs_disabled_warnings': [ |
164 4267, | 163 4267, |
165 ], | 164 ], |
166 }], | 165 }], |
167 ], | 166 ], |
168 }, | 167 }, |
169 { | 168 { |
| 169 'target_name': 'mojo_shell', |
| 170 'type': 'executable', |
| 171 'dependencies': [ |
| 172 '../base/base.gyp:base', |
| 173 '../url/url.gyp:url_lib', |
| 174 'mojo_shell_lib', |
| 175 'mojo_system', |
| 176 ], |
| 177 'sources': [ |
| 178 'shell/shell.cc', |
| 179 ], |
| 180 'conditions': [ |
| 181 ['OS == "win"', { |
| 182 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 183 'msvs_disabled_warnings': [ |
| 184 4267, |
| 185 ], |
| 186 }], |
| 187 ], |
| 188 }, |
| 189 { |
170 'target_name': 'sample_app', | 190 'target_name': 'sample_app', |
171 'type': '<(component)', | 191 'type': '<(component)', |
172 'dependencies': [ | 192 'dependencies': [ |
173 '../base/base.gyp:base', | 193 '../base/base.gyp:base', |
174 'mojo_system', | 194 'mojo_system', |
175 ], | 195 ], |
176 'sources': [ | 196 'sources': [ |
177 'shell/sample_app.cc', | 197 'shell/sample_app.cc', |
178 ], | 198 ], |
179 }, | 199 }, |
(...skipping 27 matching lines...) Expand all Loading... |
207 ], | 227 ], |
208 'sources': [ | 228 'sources': [ |
209 'public/bindings/sample/generated/sample_service.h', | 229 'public/bindings/sample/generated/sample_service.h', |
210 'public/bindings/sample/generated/sample_service_proxy.cc', | 230 'public/bindings/sample/generated/sample_service_proxy.cc', |
211 'public/bindings/sample/generated/sample_service_serialization.h', | 231 'public/bindings/sample/generated/sample_service_serialization.h', |
212 'public/bindings/sample/generated/sample_service_stub.cc', | 232 'public/bindings/sample/generated/sample_service_stub.cc', |
213 'public/bindings/sample/sample_test.cc', | 233 'public/bindings/sample/sample_test.cc', |
214 ], | 234 ], |
215 }, | 235 }, |
216 ], | 236 ], |
| 237 'conditions': [ |
| 238 ['OS=="android"', { |
| 239 'targets': [ |
| 240 { |
| 241 'target_name': 'libmojo_shell', |
| 242 'type': 'shared_library', |
| 243 'dependencies': [ |
| 244 '../base/base.gyp:base', |
| 245 'mojo_shell_lib', |
| 246 ], |
| 247 'sources': [ |
| 248 'shell/android/library_loader.cc', |
| 249 ], |
| 250 }, |
| 251 { |
| 252 'target_name': 'mojo_shell_apk', |
| 253 'type': 'none', |
| 254 'dependencies': [ |
| 255 '../base/base.gyp:base_java', |
| 256 '../net/net.gyp:net_java', |
| 257 'libmojo_shell', |
| 258 ], |
| 259 'variables': { |
| 260 'apk_name': 'MojoShell', |
| 261 'java_in_dir': '<(DEPTH)/mojo/shell/android/shell_apk', |
| 262 'resource_dir': '<(DEPTH)/mojo/shell/android/shell_apk/res', |
| 263 'native_lib_target': 'libmojo_shell', |
| 264 }, |
| 265 'includes': [ '../build/java_apk.gypi' ], |
| 266 } |
| 267 ], |
| 268 }], |
| 269 ], |
217 } | 270 } |
OLD | NEW |