Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7697feb

Browse files
authored
Revert "Reland: Roll clang and buildroot (#33325)" (#33337)
This reverts commit fd8b205.
1 parent fd8b205 commit 7697feb

File tree

7 files changed

+13
-33
lines changed

7 files changed

+13
-33
lines changed

BUILD.gn

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Use of this source code is governed by a BSD-style license that can be
33
# found in the LICENSE file.
44

5-
import("//build/toolchain/clang.gni")
65
import("//flutter/common/config.gni")
76
import("//flutter/examples/examples.gni")
87
import("//flutter/shell/platform/config.gni")
@@ -26,21 +25,9 @@ config("config") {
2625
}
2726

2827
config("export_dynamic_symbols") {
29-
# --dynamic-list is the GNU linker syntax supported by ELF linkers.
30-
# -exported_symbols_list is the macOS linker syntax. The different flags
31-
# accept files formatted differently, so we have exported_symbols.sym for GNU
32-
# linker syntax, and exported_symbols_mac.sym for the macOS linker syntax.
3328
if (is_linux || is_fuchsia) {
3429
inputs = [ "//flutter/common/exported_symbols.sym" ]
3530
ldflags = [ "-Wl,--dynamic-list=" + rebase_path(inputs[0], root_build_dir) ]
36-
} else if (is_mac && !use_xcode && flutter_runtime_mode == "debug") {
37-
inputs = [ "//flutter/common/exported_symbols_mac.sym" ]
38-
ldflags = [
39-
"-Xlinker",
40-
"-exported_symbols_list",
41-
"-Xlinker",
42-
rebase_path(inputs[0], root_build_dir),
43-
]
4431
}
4532
}
4633

DEPS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ allowed_hosts = [
111111
]
112112

113113
deps = {
114-
'src': 'https://github.com/flutter/buildroot.git' + '@' + '897fdb3e87b252f03915e20ba276302d8f029632',
114+
'src': 'https://github.com/flutter/buildroot.git' + '@' + '63f03c89282242d3f2938e0cc17038f35276c1e8',
115115

116116
# Fuchsia compatibility
117117
#
@@ -566,7 +566,7 @@ deps = {
566566
'packages': [
567567
{
568568
'package': 'fuchsia/third_party/clang/mac-amd64',
569-
'version': 'pjqtsy0EkprqQK20GImo0tXIwVJ5oygbAPUHOqmGRlwC'
569+
'version': 'gi-ivU51hLEmgL3m_giEo-uJOhzJgdYslQ0dvUvAJxcC'
570570
}
571571
],
572572
'condition': 'host_os == "mac"',
@@ -577,7 +577,7 @@ deps = {
577577
'packages': [
578578
{
579579
'package': 'fuchsia/third_party/clang/linux-amd64',
580-
'version': 'xuUT1-3_9KoN3I7wncLinqPEYOMfQ16o53bxWJp0lIkC'
580+
'version': 'Fn7lDYhKDAwbGQ2SOL_Anwt8fzO1Yho7UjpoS9Hv8N8C'
581581
}
582582
],
583583
'condition': 'host_os == "linux"',
@@ -588,7 +588,7 @@ deps = {
588588
'packages': [
589589
{
590590
'package': 'fuchsia/third_party/clang/windows-amd64',
591-
'version': 'X7Z_tBCdyVsbPRX99U7jBZnMfJ5RS11wocVcia798jwC'
591+
'version': '25xTI5-MiVJ87YWFvdlrwmn4O0DVDz-j3oHlszZAyoQC'
592592
}
593593
],
594594
'condition': 'download_windows_deps',

ci/licenses_golden/licenses_flutter

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ FILE: ../../../flutter/benchmarking/library.cc
2424
FILE: ../../../flutter/benchmarking/library.h
2525
FILE: ../../../flutter/common/constants.h
2626
FILE: ../../../flutter/common/exported_symbols.sym
27-
FILE: ../../../flutter/common/exported_symbols_mac.sym
2827
FILE: ../../../flutter/common/graphics/gl_context_switch.cc
2928
FILE: ../../../flutter/common/graphics/gl_context_switch.h
3029
FILE: ../../../flutter/common/graphics/persistent_cache.cc

common/exported_symbols_mac.sym

Lines changed: 0 additions & 6 deletions
This file was deleted.

shell/platform/darwin/ios/framework/Source/FlutterChannelKeyResponderTest.mm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ - (void)testBasicKeyEvent API_AVAILABLE(ios(13.4)) {
7474
}];
7575

7676
XCTAssertEqual([messages count], 1u);
77-
XCTAssertStrEqual([messages lastObject][@"keymap"], @"ios");
78-
XCTAssertStrEqual([messages lastObject][@"type"], @"keydown");
77+
XCTAssertEqual([messages lastObject][@"keymap"], @"ios");
78+
XCTAssertEqual([messages lastObject][@"type"], @"keydown");
7979
XCTAssertEqual([[messages lastObject][@"keyCode"] intValue], keyACode);
8080
XCTAssertEqual([[messages lastObject][@"modifiers"] intValue], 0x0);
8181
XCTAssertStrEqual([messages lastObject][@"characters"], @"a");
@@ -95,8 +95,8 @@ - (void)testBasicKeyEvent API_AVAILABLE(ios(13.4)) {
9595
}];
9696

9797
XCTAssertEqual([messages count], 1u);
98-
XCTAssertStrEqual([messages lastObject][@"keymap"], @"ios");
99-
XCTAssertStrEqual([messages lastObject][@"type"], @"keyup");
98+
XCTAssertEqual([messages lastObject][@"keymap"], @"ios");
99+
XCTAssertEqual([messages lastObject][@"type"], @"keyup");
100100
XCTAssertEqual([[messages lastObject][@"keyCode"] intValue], keyACode);
101101
XCTAssertEqual([[messages lastObject][@"modifiers"] intValue], 0x0);
102102

@@ -132,8 +132,8 @@ - (void)testEmptyResponseIsTakenAsHandled API_AVAILABLE(ios(13.4)) {
132132
}];
133133

134134
XCTAssertEqual([messages count], 1u);
135-
XCTAssertStrEqual([messages lastObject][@"keymap"], @"ios");
136-
XCTAssertStrEqual([messages lastObject][@"type"], @"keydown");
135+
XCTAssertEqual([messages lastObject][@"keymap"], @"ios");
136+
XCTAssertEqual([messages lastObject][@"type"], @"keydown");
137137
XCTAssertEqual([[messages lastObject][@"keyCode"] intValue], keyACode);
138138
XCTAssertEqual([[messages lastObject][@"modifiers"] intValue], 0x0);
139139
XCTAssertStrEqual([messages lastObject][@"characters"], @"a");

shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponderUnittests.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@
232232
EXPECT_STREQ([[messages lastObject][@"type"] UTF8String], "keydown");
233233
EXPECT_EQ([[messages lastObject][@"keyCode"] intValue], 0);
234234
EXPECT_EQ([[messages lastObject][@"modifiers"] intValue], 0);
235-
EXPECT_STREQ([[messages lastObject][@"characters"] UTF8String], "a");
236-
EXPECT_STREQ([[messages lastObject][@"charactersIgnoringModifiers"] UTF8String], "a");
235+
EXPECT_EQ([[messages lastObject][@"characters"] UTF8String], "a");
236+
EXPECT_EQ([[messages lastObject][@"charactersIgnoringModifiers"] UTF8String], "a");
237237

238238
EXPECT_EQ([responses count], 1u);
239239
EXPECT_EQ([[responses lastObject] boolValue], TRUE);

tools/gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def to_gn_args(args):
287287

288288
if gn_args['target_os'] == 'ios':
289289
gn_args['use_ios_simulator'] = args.simulator
290-
else:
290+
elif gn_args['target_os'] == 'mac':
291291
gn_args['use_ios_simulator'] = False
292292

293293
if args.dart_debug:

0 commit comments

Comments
 (0)