1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-03 00:08:46 +00:00

Fix the dart-sdk-linux task by not building analysis server on 32 bit ARM architecture

Dart FFI which is now an analysis server dependency does not yet support 32 bit ARM. I also went ahead and updated dart_api_impl.h to address the TODO about removing the architectures enabled in https://github.com/dart-lang/sdk/issues/35773 from the blocklist.

Change-Id: Id2535520df1069e21eb4fa5818484ae6d92b2efd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111314
Reviewed-by: Samir Jindel <sjindel@google.com>
This commit is contained in:
lambdabaa 2019-07-31 12:54:52 +00:00 committed by Ari Aye
parent 3fa3f0e62d
commit d3fbbf8b5a
3 changed files with 20 additions and 16 deletions

View File

@ -24,12 +24,12 @@ group("default") {
}
group("most") {
import("runtime/runtime_args.gni")
if (targetting_fuchsia) {
# Fuchsia has run_vm_tests marked testonly.
testonly = true
}
deps = [
":analysis_server",
":create_sdk",
":dart2js",
":dartanalyzer",
@ -37,6 +37,9 @@ group("most") {
":runtime",
":samples",
]
if (dart_target_arch != "arm") {
deps += [ ":analysis_server" ]
}
}
group("runtime") {

View File

@ -302,13 +302,6 @@ class Api : AllStatic {
#if defined(TARGET_ARCH_DBC) && !defined(ARCH_IS_64_BIT)
// TODO(36809): Support SimDBC32.
return false;
#elif defined(TARGET_ARCH_DBC) && !defined(HOST_ARCH_X64)
// TODO(35773): Support ia32, arm64, and arm.
return false;
#elif defined(TARGET_ARCH_DBC) && defined(HOST_ARCH_X64) && \
defined(HOST_OS_WINDOWS)
// TODO(35773): Support x64 Windows.
return false;
#elif defined(TARGET_ARCH_ARM) && \
!(defined(TARGET_OS_ANDROID) || defined(TARGET_OS_MACOS_IOS))
// TODO(36309): Support hardfp calling convention.

View File

@ -106,10 +106,6 @@ _scripts = [ "dartdoc" ]
# Snapshots that go under bin/snapshots
_platform_sdk_snapshots = [
[
"analysis_server",
"../utils/analysis_server",
],
[
"dartanalyzer",
"../utils/dartanalyzer:generate_dartanalyzer_snapshot",
@ -135,12 +131,16 @@ if (create_kernel_service_snapshot) {
],
]
}
if (dart_target_arch != "arm") {
_platform_sdk_snapshots += [
[
"analysis_server",
"../utils/analysis_server",
],
]
}
_full_sdk_snapshots = [
[
"analysis_server",
"../utils/analysis_server",
],
[
"dart2js",
"../utils/compiler:dart2js",
@ -178,6 +178,14 @@ if (create_kernel_service_snapshot) {
],
]
}
if (dart_target_arch != "arm") {
_full_sdk_snapshots += [
[
"analysis_server",
"../utils/analysis_server",
],
]
}
# Libraries that go under lib/
_full_sdk_libraries = [