dart-sdk/runtime/bin/builtin_impl_sources.gni
Vyacheslav Egorov 14f7622ef4 [vm] Remove bin/*_android{.cc,.h} and use Linux implementations.
Android is based on Linux, so most of the files were identical
sans some subtle discrepancies caused by drift over time.

This discrepancies were making code base harder to maintain and in fact
were hiding bugs. For example, on Android eventhandler's implementation
of timers which relied on passing timeout to `epoll_wait` contained
a bug which was not present on Linux which used `timerfd` instead.

TEST=ci and manual testing of Flutter app on Android device

Fixes https://github.com/dart-lang/sdk/issues/54868

Cq-Include-Trybots: luci.dart.try:vm-aot-android-release-arm64c-try,vm-aot-android-release-arm_x64-try,vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64c-try,vm-ffi-android-product-arm-try,vm-ffi-android-product-arm64c-try,vm-ffi-android-release-arm-try,vm-ffi-android-release-arm64c-try
Bug: b/311165013
Change-Id: Ia166f69c14177ec34160805a0983eafee8ea65f6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/350923
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
2024-02-09 14:10:49 +00:00

73 lines
1.5 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.gni.
builtin_impl_sources = [
"crypto.cc",
"crypto.h",
"crypto_fuchsia.cc",
"crypto_linux.cc",
"crypto_macos.cc",
"crypto_win.cc",
"dartutils.cc",
"dartutils.h",
"directory.cc",
"directory.h",
"directory_fuchsia.cc",
"directory_linux.cc",
"directory_macos.cc",
"directory_win.cc",
"exe_utils.cc",
"exe_utils.h",
"fdutils.h",
"fdutils_fuchsia.cc",
"fdutils_linux.cc",
"fdutils_macos.cc",
"file.cc",
"file.h",
"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_absl.cc",
"thread_absl.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_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",
"snapshot_utils_test.cc",
"test_utils.cc",
]