Skip to content

Commit 4e449b0

Browse files
committed
Revert "Add support of cross-building the engine for ARM64 Linux Host (flutter#20254)"
This reverts commit 101d85a.
1 parent ca215f8 commit 4e449b0

File tree

3 files changed

+4
-19
lines changed

3 files changed

+4
-19
lines changed

AUTHORS

-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@ Simon Lightfoot <[email protected]>
1515
Dwayne Slater <[email protected]>
1616
Tetsuhiro Ueda <[email protected]>
1717
shoryukenn <[email protected]>
18-
SOTEC GmbH & Co. KG <[email protected]>
19-
Hidenori Matsubayashi <[email protected]>
2018
Sarbagya Dhaubanjar <[email protected]>

BUILD.gn

+3-7
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,14 @@ group("flutter") {
4646
"//flutter/sky",
4747
]
4848

49-
# Flutter SDK artifacts should only be built when either doing host builds, or
50-
# for cross-compiled desktop targets.
51-
build_engine_artifacts =
52-
current_toolchain == host_toolchain || (is_linux && !is_chromeos)
53-
5449
# If enbaled, compile the SDK / snapshot.
5550
if (!is_fuchsia) {
5651
public_deps += [
5752
"//flutter/lib/snapshot:generate_snapshot_bin",
5853
"//flutter/lib/snapshot:kernel_platform_files",
5954
]
6055

61-
if (build_engine_artifacts) {
56+
if (current_toolchain == host_toolchain) {
6257
public_deps += [
6358
"//flutter/flutter_frontend_server:frontend_server",
6459
"//third_party/dart:create_sdk",
@@ -70,7 +65,8 @@ group("flutter") {
7065
}
7166
}
7267

73-
if (build_engine_artifacts) {
68+
# If on the host, compile tools.
69+
if (current_toolchain == host_toolchain) {
7470
public_deps += [
7571
"//flutter/shell/testing",
7672
"//flutter/tools/const_finder",

DEPS

+1-10
Original file line numberDiff line numberDiff line change
@@ -626,23 +626,14 @@ hooks = [
626626
],
627627
},
628628
{
629-
'name': 'linux_sysroot_x64',
629+
'name': 'linux_sysroot',
630630
'pattern': '.',
631631
'condition': 'download_linux_deps',
632632
'action': [
633633
'python',
634634
'src/build/linux/sysroot_scripts/install-sysroot.py',
635635
'--arch=x64'],
636636
},
637-
{
638-
'name': 'linux_sysroot_arm64',
639-
'pattern': '.',
640-
'condition': 'download_linux_deps',
641-
'action': [
642-
'python',
643-
'src/build/linux/sysroot_scripts/install-sysroot.py',
644-
'--arch=arm64'],
645-
},
646637
{
647638
'name': 'dart package config',
648639
'pattern': '.',

0 commit comments

Comments
 (0)