Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_34031325
engine
提交
6e4761d4
E
engine
项目概览
qq_34031325
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
6e4761d4
编写于
2月 26, 2021
作者:
J
Jason Simmons
提交者:
GitHub
2月 26, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add third_party/libpng repository and roll buildroot (#24616)
上级
7d277571
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
30 addition
and
10 deletion
+30
-10
DEPS
DEPS
+4
-1
ci/licenses_golden/licenses_third_party
ci/licenses_golden/licenses_third_party
+4
-5
ci/licenses_golden/tool_signature
ci/licenses_golden/tool_signature
+1
-1
tools/licenses/lib/main.dart
tools/licenses/lib/main.dart
+20
-3
tools/licenses/lib/patterns.dart
tools/licenses/lib/patterns.dart
+1
-0
未找到文件。
DEPS
浏览文件 @
6e4761d4
...
...
@@ -98,7 +98,7 @@ allowed_hosts = [
]
deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + '
47043991a50e1cfda66766009885197a05bb29f1
',
'src': 'https://github.com/flutter/buildroot.git' + '@' + '
d05290fdfb0b8d2aad3c60bf0b4a76f368616452
',
# Fuchsia compatibility
#
...
...
@@ -364,6 +364,9 @@ deps = {
'src/third_party/libjpeg-turbo':
Var('fuchsia_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',
'src/third_party/libpng':
Var('flutter_git') + '/third_party/libpng' + '@' + 'f46faec244dbda5f1d2a5bc370cf83125d6ffab1',
'src/third_party/libwebp':
Var('chromium_git') + '/webm/libwebp.git' + '@' + '0.6.0',
...
...
ci/licenses_golden/licenses_third_party
浏览文件 @
6e4761d4
Signature:
54de652d00d625718e51e472314c598d
Signature:
1d37f1b1764e5561a17007b9cd135f4c
UNUSED LICENSES:
...
...
@@ -22056,7 +22056,6 @@ POSSIBILITY OF SUCH DAMAGE.
LIBRARY: libpng
ORIGIN: ../../../third_party/libpng/LICENSE
TYPE: LicenseType.libpng
FILE: ../../../third_party/libpng/contrib/intel/intel_sse.patch
FILE: ../../../third_party/libpng/pngprefix.h
----------------------------------------------------------------------------------------------------
<THIS BLOCK INTENTIONALLY LEFT BLANK>
...
...
@@ -22069,9 +22068,9 @@ TYPE: LicenseType.libpng
FILE: ../../../third_party/libpng/arm/arm_init.c
FILE: ../../../third_party/libpng/arm/filter_neon.S
FILE: ../../../third_party/libpng/arm/filter_neon_intrinsics.c
FILE: ../../../third_party/libpng/
contrib/intel/filter_sse2
_intrinsics.c
FILE: ../../../third_party/libpng/
contrib/intel/intel_init
.c
FILE: ../../../third_party/libpng/
contrib/intel/intel_sse.patch
FILE: ../../../third_party/libpng/
arm/palette_neon
_intrinsics.c
FILE: ../../../third_party/libpng/
intel/filter_sse2_intrinsics
.c
FILE: ../../../third_party/libpng/
intel/intel_init.c
FILE: ../../../third_party/libpng/png.c
FILE: ../../../third_party/libpng/pngconf.h
FILE: ../../../third_party/libpng/pngdebug.h
ci/licenses_golden/tool_signature
浏览文件 @
6e4761d4
Signature:
697bebe56b09b4db22b6b675536566df
Signature:
f2b15cda839d356d1d2a906e432770d6
tools/licenses/lib/main.dart
浏览文件 @
6e4761d4
...
...
@@ -318,9 +318,8 @@ class _RepositoryLibPngLicenseFile extends _RepositorySingleLicenseFile {
static
void
_verifyLicense
(
fs
.
TextFile
io
)
{
final
String
contents
=
io
.
readString
();
if
(!
contents
.
contains
(
'COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:'
)
||
!
contents
.
contains
(
'png'
)
||
!
contents
.
contains
(
'END OF COPYRIGHT NOTICE, DISCLAIMER, and LICENSE.'
))
if
(!
contents
.
contains
(
RegExp
(
'COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:?'
))
||
!
contents
.
contains
(
'png'
))
throw
'unexpected libpng license file contents:
\n
----8<----
\n
$contents
\n
----<8----'
;
}
...
...
@@ -1628,6 +1627,24 @@ class _RepositoryLibPngDirectory extends _RepositoryDirectory {
return
_RepositoryLibPngLicenseFile
(
this
,
entry
);
return
super
.
createFile
(
entry
);
}
static
final
RegExp
skipFileTypes
=
RegExp
(
r'\.(?:jpg|png|dfa|in|3|5)$'
);
@override
bool
shouldRecurse
(
fs
.
IoNode
entry
)
{
return
entry
.
name
!=
'contrib'
// not linked in
&&
entry
.
name
!=
'mips'
// not linked in
&&
entry
.
name
!=
'powerpc'
// not linked in
&&
entry
.
name
!=
'projects'
// not linked in
&&
entry
.
name
!=
'scripts'
// not linked in
&&
entry
.
name
!=
'tests'
// not linked in
&&
entry
.
name
!=
'ANNOUNCE'
&&
entry
.
name
!=
'CHANGES'
&&
entry
.
name
!=
'TODO'
&&
entry
.
name
!=
'TRADEMARK'
&&
!
entry
.
name
.
contains
(
skipFileTypes
)
&&
super
.
shouldRecurse
(
entry
);
}
}
class
_RepositoryLibWebpDirectory
extends
_RepositoryDirectory
{
...
...
tools/licenses/lib/patterns.dart
浏览文件 @
6e4761d4
...
...
@@ -91,6 +91,7 @@ final List<RegExp> copyrightStatementPatterns = <RegExp>[
RegExp
(
r'^Based on .+, written by .+, [0-9]+\.$'
,
caseSensitive:
false
),
RegExp
(
r'^(?:Based on the )?x86 SIMD extension for IJG JPEG library(?: - version [0-9.]+|,)?$'
),
RegExp
(
r'^This software originally derived from .+\.$'
),
RegExp
(
r'^Derived from [a-z._/]+$'
),
RegExp
(
r'^Derived from .+, which was$'
),
RegExp
(
r'^ *This is part of .+, a .+ library\.$'
),
RegExp
(
r'^This file is part of [^ ]+\.$'
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录