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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 ], | 131 ], |
132 }, | 132 }, |
133 { | 133 { |
134 'target_name': 'mojo_shell_lib', | 134 'target_name': 'mojo_shell_lib', |
135 'type': 'static_library', | 135 'type': 'static_library', |
136 'dependencies': [ | 136 'dependencies': [ |
137 '../base/base.gyp:base', | 137 '../base/base.gyp:base', |
138 '../net/net.gyp:net', | 138 '../net/net.gyp:net', |
139 '../url/url.gyp:url_lib', | 139 '../url/url.gyp:url_lib', |
140 'mojo_system', | 140 'mojo_system', |
| 141 'mojo_utility', |
141 'native_viewport', | 142 'native_viewport', |
142 ], | 143 ], |
143 'sources': [ | 144 'sources': [ |
144 'shell/app_container.cc', | 145 'shell/app_container.cc', |
145 'shell/app_container.h', | 146 'shell/app_container.h', |
146 'shell/context.cc', | 147 'shell/context.cc', |
147 'shell/context.h', | 148 'shell/context.h', |
148 'shell/loader.cc', | 149 'shell/loader.cc', |
149 'shell/loader.h', | 150 'shell/loader.h', |
150 'shell/network_delegate.cc', | 151 'shell/network_delegate.cc', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 'conditions': [ | 185 'conditions': [ |
185 ['OS == "win"', { | 186 ['OS == "win"', { |
186 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 187 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
187 'msvs_disabled_warnings': [ | 188 'msvs_disabled_warnings': [ |
188 4267, | 189 4267, |
189 ], | 190 ], |
190 }], | 191 }], |
191 ], | 192 ], |
192 }, | 193 }, |
193 { | 194 { |
| 195 'target_name': 'mojo_utility', |
| 196 'type': 'static_library', |
| 197 'dependencies': [ |
| 198 'mojo_system' |
| 199 ], |
| 200 'sources': [ |
| 201 'public/utility/scoped_handle.cc', |
| 202 'public/utility/scoped_handle.h', |
| 203 ], |
| 204 }, |
| 205 { |
194 'target_name': 'sample_app', | 206 'target_name': 'sample_app', |
195 'type': 'shared_library', | 207 'type': 'shared_library', |
196 'dependencies': [ | 208 'dependencies': [ |
197 'mojo_system', | 209 'mojo_system', |
198 ], | 210 ], |
199 'sources': [ | 211 'sources': [ |
200 'examples/sample_app/sample_app.cc', | 212 'examples/sample_app/sample_app.cc', |
201 ], | 213 ], |
202 }, | 214 }, |
203 { | 215 { |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 365 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
354 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 366 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
355 'native_lib_target': 'libmojo_shell', | 367 'native_lib_target': 'libmojo_shell', |
356 }, | 368 }, |
357 'includes': [ '../build/java_apk.gypi' ], | 369 'includes': [ '../build/java_apk.gypi' ], |
358 } | 370 } |
359 ], | 371 ], |
360 }], | 372 }], |
361 ], | 373 ], |
362 } | 374 } |
OLD | NEW |