| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 8 | 8 |
| 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', | 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', |
| 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', | 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 'vmservice_dartium.h', | 215 'vmservice_dartium.h', |
| 216 'vmservice_dartium.cc', | 216 'vmservice_dartium.cc', |
| 217 'vmservice_impl.cc', | 217 'vmservice_impl.cc', |
| 218 'vmservice_impl.h', | 218 'vmservice_impl.h', |
| 219 '<(resources_cc_file)', | 219 '<(resources_cc_file)', |
| 220 ], | 220 ], |
| 221 'sources/': [ | 221 'sources/': [ |
| 222 ['exclude', '_test\\.(cc|h)$'], | 222 ['exclude', '_test\\.(cc|h)$'], |
| 223 ], | 223 ], |
| 224 'conditions': [ | 224 'conditions': [ |
| 225 ['dart_io_support==1 and dart_io_secure_socket==1', { | |
| 226 'dependencies': [ | |
| 227 'bin/net/ssl.gyp:libssl_dart', | |
| 228 ], | |
| 229 }], | |
| 230 ['dart_io_secure_socket==0', { | 225 ['dart_io_secure_socket==0', { |
| 231 'defines': [ | 226 'defines': [ |
| 232 'DART_IO_SECURE_SOCKET_DISABLED' | 227 'DART_IO_SECURE_SOCKET_DISABLED' |
| 233 ], | 228 ], |
| 234 }], | 229 }], |
| 235 ['OS=="win"', { | 230 ['OS=="win"', { |
| 236 'sources/' : [ | 231 'sources/' : [ |
| 237 ['exclude', 'fdutils.h'], | 232 ['exclude', 'fdutils.h'], |
| 238 ], | 233 ], |
| 239 # TODO(antonm): fix the implementation. | 234 # TODO(antonm): fix the implementation. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 '../../third_party', | 280 '../../third_party', |
| 286 ], | 281 ], |
| 287 'includes': [ | 282 'includes': [ |
| 288 'io_impl_sources.gypi', | 283 'io_impl_sources.gypi', |
| 289 ], | 284 ], |
| 290 'sources': [ | 285 'sources': [ |
| 291 'io_natives.h', | 286 'io_natives.h', |
| 292 'io_natives.cc', | 287 'io_natives.cc', |
| 293 ], | 288 ], |
| 294 'conditions': [ | 289 'conditions': [ |
| 295 ['dart_io_support==1 and dart_io_secure_socket==1', { | 290 ['dart_io_support==1', { |
| 296 'dependencies': [ | |
| 297 'bin/net/ssl.gyp:libssl_dart', | |
| 298 ], | |
| 299 }], | |
| 300 ['dart_io_support==1 and dart_io_secure_socket==0', { | |
| 301 'dependencies': [ | 291 'dependencies': [ |
| 302 'bin/net/zlib.gyp:zlib_dart', | 292 'bin/net/zlib.gyp:zlib_dart', |
| 303 ], | 293 ], |
| 304 }], | 294 }], |
| 295 ['dart_io_support==1 and dart_io_secure_socket==1', { |
| 296 'dependencies': [ |
| 297 '../third_party/boringssl/boringssl_dart.gyp:boringssl', |
| 298 ], |
| 299 }], |
| 305 ['dart_io_secure_socket==0', { | 300 ['dart_io_secure_socket==0', { |
| 306 'defines': [ | 301 'defines': [ |
| 307 'DART_IO_SECURE_SOCKET_DISABLED' | 302 'DART_IO_SECURE_SOCKET_DISABLED' |
| 308 ], | 303 ], |
| 309 }], | 304 }], |
| 310 ['OS=="win"', { | 305 ['OS=="win"', { |
| 311 'link_settings': { | 306 'link_settings': { |
| 312 'libraries': [ '-liphlpapi.lib' ], | 307 'libraries': [ '-liphlpapi.lib' ], |
| 313 }, | 308 }, |
| 314 # TODO(antonm): fix the implementation. | 309 # TODO(antonm): fix the implementation. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 326 }], | 321 }], |
| 327 ['OS=="mac"', { | 322 ['OS=="mac"', { |
| 328 'link_settings': { | 323 'link_settings': { |
| 329 'libraries': [ | 324 'libraries': [ |
| 330 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 325 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 331 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework', | 326 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework', |
| 332 ], | 327 ], |
| 333 }, | 328 }, |
| 334 }], | 329 }], |
| 335 ], | 330 ], |
| 336 'configurations': { | |
| 337 'Dart_Android_Base': { | |
| 338 'target_conditions': [ | |
| 339 ['_toolset=="target"', { | |
| 340 'defines': [ | |
| 341 # Needed for sources outside of nss that include pr and ssl | |
| 342 # header files. | |
| 343 'MDCPUCFG="md/_linux.cfg"', | |
| 344 ], | |
| 345 }], | |
| 346 ], | |
| 347 }, | |
| 348 }, | |
| 349 }, | 331 }, |
| 350 { | 332 { |
| 351 'target_name': 'libdart_nosnapshot', | 333 'target_name': 'libdart_nosnapshot', |
| 352 'type': 'static_library', | 334 'type': 'static_library', |
| 353 'toolsets':['target','host'], | 335 'toolsets':['target','host'], |
| 354 'dependencies': [ | 336 'dependencies': [ |
| 355 'libdart_lib_nosnapshot', | 337 'libdart_lib_nosnapshot', |
| 356 'libdart_vm_nosnapshot', | 338 'libdart_vm_nosnapshot', |
| 357 'libdouble_conversion', | 339 'libdouble_conversion', |
| 358 'generate_version_cc_file#host', | 340 'generate_version_cc_file#host', |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 }], | 800 }], |
| 819 ['OS=="linux"', { | 801 ['OS=="linux"', { |
| 820 'cflags': [ | 802 'cflags': [ |
| 821 '-fPIC', | 803 '-fPIC', |
| 822 ], | 804 ], |
| 823 }], | 805 }], |
| 824 ], | 806 ], |
| 825 }, | 807 }, |
| 826 ], | 808 ], |
| 827 } | 809 } |
| OLD | NEW |