Skip to content

Commit 18e31c8

Browse files
authored
Resolve freetype symbols locally (#85)
* Revert "Revert "Roll FreeType to 2.10.4 (flutter#23666) (flutter#23887)" (#60)" This reverts commit 582f6fe. * Resolve freetype symbols within the engine binary * Clean up unused build flag
1 parent 9cb8202 commit 18e31c8

File tree

7 files changed

+44
-59
lines changed

7 files changed

+44
-59
lines changed

DEPS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ vars = {
2121
'chromium_git': 'https://chromium.googlesource.com',
2222
'swiftshader_git': 'https://swiftshader.googlesource.com',
2323
'dart_git': 'https://dart.googlesource.com',
24+
'flutter_git': 'https://flutter.googlesource.com',
2425
'fuchsia_git': 'https://fuchsia.googlesource.com',
2526
'github_git': 'https://github.com',
2627
'skia_git': 'https://skia.googlesource.com',
@@ -92,6 +93,7 @@ gclient_gn_args = [
9293
# If you need to add a new host, contact chrome infrastructure team.
9394
allowed_hosts = [
9495
'chromium.googlesource.com',
96+
'flutter.googlesource.com',
9597
'fuchsia.googlesource.com',
9698
'github.com',
9799
'skia.googlesource.com',
@@ -350,7 +352,7 @@ deps = {
350352
Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
351353

352354
'src/third_party/freetype2':
353-
Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'edab12c07ac05d1185616688f338b1ad15936796',
355+
Var('flutter_git') + '/third_party/freetype2' + '@' + '1f03c1b2d7f2ae832a4fbe9d12bd96c3c15bbece',
354356

355357
'src/third_party/root_certificates':
356358
Var('dart_git') + '/root_certificates.git' + '@' + Var('dart_root_certificates_rev'),

ci/licenses_golden/licenses_third_party

Lines changed: 21 additions & 50 deletions
Large diffs are not rendered by default.

ci/licenses_golden/tool_signature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Signature: 164585dad7317491c0f98b96519f87c7
1+
Signature: b8646e680ea27ee6e0e97676ebbe5975
22

shell/platform/embedder/BUILD.gn

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ shared_library("flutter_engine_library") {
266266

267267
output_name = "flutter_engine"
268268

269+
# For Tizen 5.5 or older. See the script file for details.
270+
ldflags = [ "-Wl,--version-script=" + rebase_path("flutter_engine_exports.lst") ]
271+
269272
if (is_mac && !embedder_for_target) {
270273
ldflags = [ "-Wl,-install_name,@rpath/FlutterEmbedder.framework/$_framework_binary_subpath" ]
271274
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2021 Samsung Electronics Co., Ltd. All rights reserved.
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
# Linker script that hides symbols with the prefix "FT_" so that global freetype
6+
# symbols referenced by Skia are not overriden by an external shared library at
7+
# runtime.
8+
9+
{
10+
global:
11+
*;
12+
local:
13+
FT_*;
14+
};

shell/platform/tizen/config.gni

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
# found in the LICENSE file.
44

55
declare_args() {
6-
# Whether to build the Tizen shell for the host platform, if available.
7-
#
8-
# By default, the Tizen shell is not built if there is a native toolkit shell,
9-
# but it can be enabled for supported platforms (Linux)
10-
# as an extra build artifact with this flag. The native toolkit shell will
11-
# still be built as well.
6+
# Whether to build the Tizen shell.
127
build_tizen_shell = false
13-
tizen_sdk_4 = false
148
}

tools/licenses/lib/patterns.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ final List<RegExp> copyrightStatementPatterns = <RegExp>[
8585
RegExp(r'^ *For more info read ([^ ]+)$', caseSensitive: false),
8686
RegExp(r'^(?:Google )?Author\(?s?\)?: .+', caseSensitive: false),
8787
RegExp(r'^Written by .+', caseSensitive: false),
88+
RegExp(r'^Originally written by .+', caseSensitive: false),
8889
RegExp(r'^Based on$', caseSensitive: false),
8990
RegExp(r"^based on (?:code in )?['`][^'`]+['`]$", caseSensitive: false),
9091
RegExp(r'^Based on .+, written by .+, [0-9]+\.$', caseSensitive: false),

0 commit comments

Comments
 (0)