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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 '../testing/gtest.gyp:gtest', | 56 '../testing/gtest.gyp:gtest', |
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. | |
67 'type': '<(component)', | 66 'type': '<(component)', |
68 'dependencies': [ | 67 'dependencies': [ |
69 '../base/base.gyp:base', | 68 '../base/base.gyp:base', |
70 ], | 69 ], |
71 'defines': [ | 70 'defines': [ |
72 'MOJO_SYSTEM_IMPLEMENTATION', | 71 'MOJO_SYSTEM_IMPLEMENTATION', |
73 ], | 72 ], |
74 'sources': [ | 73 'sources': [ |
75 'system/core.cc', | 74 'system/core.cc', |
76 'system/core_impl.cc', | 75 'system/core_impl.cc', |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 ], | 131 ], |
133 }, | 132 }, |
134 { | 133 { |
135 'target_name': 'mojo_shell_lib', | 134 'target_name': 'mojo_shell_lib', |
136 'type': 'static_library', | 135 'type': 'static_library', |
137 'dependencies': [ | 136 'dependencies': [ |
138 '../base/base.gyp:base', | 137 '../base/base.gyp:base', |
139 '../net/net.gyp:net', | 138 '../net/net.gyp:net', |
140 '../url/url.gyp:url_lib', | 139 '../url/url.gyp:url_lib', |
141 'mojo_system', | 140 'mojo_system', |
| 141 'native_viewport', |
142 ], | 142 ], |
143 'sources': [ | 143 'sources': [ |
144 'shell/app_container.cc', | 144 'shell/app_container.cc', |
145 'shell/app_container.h', | 145 'shell/app_container.h', |
146 'shell/context.cc', | 146 'shell/context.cc', |
147 'shell/context.h', | 147 'shell/context.h', |
148 'shell/loader.cc', | 148 'shell/loader.cc', |
149 'shell/loader.h', | 149 'shell/loader.h', |
150 'shell/network_delegate.cc', | 150 'shell/network_delegate.cc', |
151 'shell/network_delegate.h', | 151 'shell/network_delegate.h', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 'msvs_disabled_warnings': [ | 187 'msvs_disabled_warnings': [ |
188 4267, | 188 4267, |
189 ], | 189 ], |
190 }], | 190 }], |
191 ], | 191 ], |
192 }, | 192 }, |
193 { | 193 { |
194 'target_name': 'sample_app', | 194 'target_name': 'sample_app', |
195 'type': 'shared_library', | 195 'type': 'shared_library', |
196 'dependencies': [ | 196 'dependencies': [ |
197 '../base/base.gyp:base', | |
198 'mojo_system', | 197 'mojo_system', |
199 ], | 198 ], |
200 'sources': [ | 199 'sources': [ |
201 'examples/sample_app/sample_app.cc', | 200 'examples/sample_app/sample_app.cc', |
202 ], | 201 ], |
203 }, | 202 }, |
204 { | 203 { |
205 'target_name': 'mojo_bindings', | 204 'target_name': 'mojo_bindings', |
206 'type': 'static_library', | 205 'type': 'static_library', |
207 'include_dirs': [ | 206 'include_dirs': [ |
(...skipping 22 matching lines...) Expand all Loading... |
230 'mojo_bindings', | 229 'mojo_bindings', |
231 ], | 230 ], |
232 'sources': [ | 231 'sources': [ |
233 'public/bindings/sample/generated/sample_service.h', | 232 'public/bindings/sample/generated/sample_service.h', |
234 'public/bindings/sample/generated/sample_service_proxy.cc', | 233 'public/bindings/sample/generated/sample_service_proxy.cc', |
235 'public/bindings/sample/generated/sample_service_serialization.h', | 234 'public/bindings/sample/generated/sample_service_serialization.h', |
236 'public/bindings/sample/generated/sample_service_stub.cc', | 235 'public/bindings/sample/generated/sample_service_stub.cc', |
237 'public/bindings/sample/sample_test.cc', | 236 'public/bindings/sample/sample_test.cc', |
238 ], | 237 ], |
239 }, | 238 }, |
| 239 { |
| 240 'target_name': 'native_viewport', |
| 241 'type': 'static_library', |
| 242 'dependencies': [ |
| 243 '../base/base.gyp:base', |
| 244 '../ui/gfx/gfx.gyp:gfx', |
| 245 '../ui/events/events.gyp:events' |
| 246 ], |
| 247 'sources': [ |
| 248 'services/native_viewport/native_viewport.h', |
| 249 'services/native_viewport/native_viewport_delegate.h', |
| 250 'services/native_viewport/native_viewport_win.cc', |
| 251 ], |
| 252 }, |
240 ], | 253 ], |
241 'conditions': [ | 254 'conditions': [ |
242 ['OS=="android"', { | 255 ['OS=="android"', { |
243 'targets': [ | 256 'targets': [ |
244 { | 257 { |
245 'target_name': 'java_set_jni_headers', | 258 'target_name': 'java_set_jni_headers', |
246 'type': 'none', | 259 'type': 'none', |
247 'variables': { | 260 'variables': { |
248 'jni_gen_package': 'mojo', | 261 'jni_gen_package': 'mojo', |
249 'input_java_class': 'java/util/HashSet.class', | 262 'input_java_class': 'java/util/HashSet.class', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 310 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
298 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 311 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
299 'native_lib_target': 'libmojo_shell', | 312 'native_lib_target': 'libmojo_shell', |
300 }, | 313 }, |
301 'includes': [ '../build/java_apk.gypi' ], | 314 'includes': [ '../build/java_apk.gypi' ], |
302 } | 315 } |
303 ], | 316 ], |
304 }], | 317 }], |
305 ], | 318 ], |
306 } | 319 } |
OLD | NEW |