e190a85f49
Dart code did not expect OSError as a return value from Socket_GetPort. This CL ensures that Dart code handles OSError in addition to int gracefully as a result of Socket_GetPort call. Fixes https://github.com/dart-lang/sdk/issues/45116 TEST=run dart ci socket tests on mac with transparent proxy running Change-Id: I198d99107729ccefecd9a16b71474ccdbfc0039b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193221 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
83 lines
1.8 KiB
Plaintext
83 lines
1.8 KiB
Plaintext
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
# This file contains all C++ sources for the dart:_builtin library and
|
|
# some of the C++ sources for the dart:io library. The rest are in
|
|
# io_impl_sources.gypi.
|
|
|
|
builtin_impl_sources = [
|
|
"crypto.cc",
|
|
"crypto.h",
|
|
"crypto_android.cc",
|
|
"crypto_fuchsia.cc",
|
|
"crypto_linux.cc",
|
|
"crypto_macos.cc",
|
|
"crypto_win.cc",
|
|
"dartutils.cc",
|
|
"dartutils.h",
|
|
"directory.cc",
|
|
"directory.h",
|
|
"directory_android.cc",
|
|
"directory_fuchsia.cc",
|
|
"directory_linux.cc",
|
|
"directory_macos.cc",
|
|
"directory_win.cc",
|
|
"exe_utils.cc",
|
|
"exe_utils.h",
|
|
"extensions.cc",
|
|
"extensions.h",
|
|
"extensions_android.cc",
|
|
"extensions_fuchsia.cc",
|
|
"extensions_linux.cc",
|
|
"extensions_macos.cc",
|
|
"extensions_win.cc",
|
|
"fdutils.h",
|
|
"fdutils_android.cc",
|
|
"fdutils_fuchsia.cc",
|
|
"fdutils_linux.cc",
|
|
"fdutils_macos.cc",
|
|
"file.cc",
|
|
"file.h",
|
|
"file_android.cc",
|
|
"file_fuchsia.cc",
|
|
"file_linux.cc",
|
|
"file_macos.cc",
|
|
"file_support.cc",
|
|
"file_win.cc",
|
|
"file_win.h",
|
|
"io_buffer.cc",
|
|
"io_buffer.h",
|
|
"isolate_data.cc",
|
|
"isolate_data.h",
|
|
"lockers.h",
|
|
"thread.h",
|
|
"thread_android.cc",
|
|
"thread_android.h",
|
|
"thread_fuchsia.cc",
|
|
"thread_fuchsia.h",
|
|
"thread_linux.cc",
|
|
"thread_linux.h",
|
|
"thread_macos.cc",
|
|
"thread_macos.h",
|
|
"thread_win.cc",
|
|
"thread_win.h",
|
|
"utils.cc",
|
|
"utils.h",
|
|
"utils_android.cc",
|
|
"utils_fuchsia.cc",
|
|
"utils_linux.cc",
|
|
"utils_macos.cc",
|
|
"utils_win.cc",
|
|
"utils_win.h",
|
|
]
|
|
|
|
builtin_impl_tests = [
|
|
"crypto_test.cc",
|
|
"directory_test.cc",
|
|
"eventhandler_test.cc",
|
|
"file_test.cc",
|
|
"hashmap_test.cc",
|
|
"priority_heap_test.cc",
|
|
]
|