| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 ], | 170 ], |
| 171 }, | 171 }, |
| 172 { | 172 { |
| 173 'target_name': 'mojo_shell', | 173 'target_name': 'mojo_shell', |
| 174 'type': 'executable', | 174 'type': 'executable', |
| 175 'dependencies': [ | 175 'dependencies': [ |
| 176 '../base/base.gyp:base', | 176 '../base/base.gyp:base', |
| 177 '../url/url.gyp:url_lib', | 177 '../url/url.gyp:url_lib', |
| 178 'mojo_shell_lib', | 178 'mojo_shell_lib', |
| 179 'mojo_system', | 179 'mojo_system', |
| 180 'mojo_utility', |
| 180 ], | 181 ], |
| 181 'sources': [ | 182 'sources': [ |
| 182 'shell/desktop/mojo_main.cc', | 183 'shell/desktop/mojo_main.cc', |
| 183 ], | 184 ], |
| 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 |