Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Side by Side Diff: runtime/bin/bin.gypi

Issue 1721283002: Implements secure sockets on Mac OS with SecureTransport API (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/bin/io_impl_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 'vmservice_dartium.cc', 218 'vmservice_dartium.cc',
219 'vmservice_impl.cc', 219 'vmservice_impl.cc',
220 'vmservice_impl.h', 220 'vmservice_impl.h',
221 '<(resources_cc_file)', 221 '<(resources_cc_file)',
222 '<(observatory_assets_cc_file)', 222 '<(observatory_assets_cc_file)',
223 ], 223 ],
224 'sources/': [ 224 'sources/': [
225 ['exclude', '_test\\.(cc|h)$'], 225 ['exclude', '_test\\.(cc|h)$'],
226 ], 226 ],
227 'conditions': [ 227 'conditions': [
228 ['dart_io_support==1 and dart_io_secure_socket==1', { 228 ['OS != "mac" and dart_io_support==1 and dart_io_secure_socket==1', {
229 'dependencies': [ 229 'dependencies': [
230 '../third_party/boringssl/boringssl_dart.gyp:boringssl', 230 '../third_party/boringssl/boringssl_dart.gyp:boringssl',
231 ], 231 ],
232 }], 232 }],
233 ['dart_io_secure_socket==0', { 233 ['dart_io_secure_socket==0', {
234 'defines': [ 234 'defines': [
235 'DART_IO_SECURE_SOCKET_DISABLED' 235 'DART_IO_SECURE_SOCKET_DISABLED'
236 ], 236 ],
237 }], 237 }],
238 ['OS=="win"', { 238 ['OS=="win"', {
(...skipping 14 matching lines...) Expand all
253 }, 253 },
254 'link_settings': { 254 'link_settings': {
255 'libraries': [ '-liphlpapi.lib', '-lws2_32.lib', '-lRpcrt4.lib' ], 255 'libraries': [ '-liphlpapi.lib', '-lws2_32.lib', '-lRpcrt4.lib' ],
256 }, 256 },
257 }], 257 }],
258 ['OS=="mac"', { 258 ['OS=="mac"', {
259 'link_settings': { 259 'link_settings': {
260 'libraries': [ 260 'libraries': [
261 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', 261 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
262 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework', 262 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework',
263 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
263 ], 264 ],
264 }, 265 },
265 }], 266 }],
266 ['OS=="linux"', { 267 ['OS=="linux"', {
267 'link_settings': { 268 'link_settings': {
268 'libraries': [ 269 'libraries': [
269 '-ldl', 270 '-ldl',
270 ], 271 ],
271 }, 272 },
272 }], 273 }],
(...skipping 20 matching lines...) Expand all
293 'sources': [ 294 'sources': [
294 'io_natives.h', 295 'io_natives.h',
295 'io_natives.cc', 296 'io_natives.cc',
296 ], 297 ],
297 'conditions': [ 298 'conditions': [
298 ['dart_io_support==1', { 299 ['dart_io_support==1', {
299 'dependencies': [ 300 'dependencies': [
300 'bin/zlib.gyp:zlib_dart', 301 'bin/zlib.gyp:zlib_dart',
301 ], 302 ],
302 }], 303 }],
303 ['dart_io_support==1 and dart_io_secure_socket==1', { 304 ['OS != "mac" and dart_io_support==1 and dart_io_secure_socket==1', {
304 'dependencies': [ 305 'dependencies': [
305 '../third_party/boringssl/boringssl_dart.gyp:boringssl', 306 '../third_party/boringssl/boringssl_dart.gyp:boringssl',
306 ], 307 ],
307 }], 308 }],
308 ['dart_io_secure_socket==0', { 309 ['dart_io_secure_socket==0', {
309 'defines': [ 310 'defines': [
310 'DART_IO_SECURE_SOCKET_DISABLED' 311 'DART_IO_SECURE_SOCKET_DISABLED'
311 ], 312 ],
312 }], 313 }],
313 ['OS=="win"', { 314 ['OS=="win"', {
(...skipping 11 matching lines...) Expand all
325 'CharacterSet': '0', 326 'CharacterSet': '0',
326 }, 327 },
327 }, 328 },
328 }, 329 },
329 }], 330 }],
330 ['OS=="mac"', { 331 ['OS=="mac"', {
331 'link_settings': { 332 'link_settings': {
332 'libraries': [ 333 'libraries': [
333 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', 334 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
334 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework', 335 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework',
336 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
335 ], 337 ],
336 }, 338 },
337 }], 339 }],
338 ], 340 ],
339 }, 341 },
340 { 342 {
341 'target_name': 'libdart_nosnapshot', 343 'target_name': 'libdart_nosnapshot',
342 'type': 'static_library', 344 'type': 'static_library',
343 'toolsets':['target','host'], 345 'toolsets':['target','host'],
344 'dependencies': [ 346 'dependencies': [
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 }], 904 }],
903 ['OS=="linux"', { 905 ['OS=="linux"', {
904 'cflags': [ 906 'cflags': [
905 '-fPIC', 907 '-fPIC',
906 ], 908 ],
907 }], 909 }],
908 ], 910 ],
909 }, 911 },
910 ], 912 ],
911 } 913 }
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/bin/io_impl_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698