Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_43355755
engine
提交
5d67ad10
E
engine
项目概览
weixin_43355755
/
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,体验更适合开发者的 AI 搜索 >>
未验证
提交
5d67ad10
编写于
5月 12, 2021
作者:
Z
Zachary Anderson
提交者:
GitHub
5月 12, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Get licenses check deps from gclient rather than pub (#26077)
上级
b6293383
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
48 addition
and
9 deletion
+48
-9
DEPS
DEPS
+6
-2
ci/licenses.sh
ci/licenses.sh
+0
-1
ci/licenses_golden/tool_signature
ci/licenses_golden/tool_signature
+1
-1
tools/licenses/lib/main.dart
tools/licenses/lib/main.dart
+5
-0
tools/licenses/pubspec.yaml
tools/licenses/pubspec.yaml
+35
-5
tools/pub_get_offline.py
tools/pub_get_offline.py
+1
-0
未找到文件。
DEPS
浏览文件 @
5d67ad10
...
...
@@ -394,10 +394,14 @@ deps = {
'src/third_party/abseil-cpp':
Var('chromium_git') + '/chromium/src/third_party/abseil-cpp.git' + '@' + '2d8c1340f0350828f1287c4eaeebefcf317bcfc9',
# Dart packages
'src/third_party/pkg/archive':
Var('github_git') + '/brendan-duncan/archive.git' + '@' + '3.1.2',
'src/third_party/pkg/when':
Var('dart_git') + '/when.git' + '@' + '0.2.0',
Var('dart_git') + '/when.git' + '@' + '0.2.0',
'src/third_party/android_tools/ndk': {
'src/third_party/android_tools/ndk': {
'packages': [
{
'package': 'flutter/android/ndk/${{platform}}',
...
...
ci/licenses.sh
浏览文件 @
5d67ad10
...
...
@@ -62,7 +62,6 @@ dart --version
# Runs in a subshell.
function
collect_licenses
()
(
cd
"
$SRC_DIR
/flutter/tools/licenses"
pub get
dart
--enable-asserts
lib/main.dart
\
--src
../../..
\
--out
../../../out/license_script_output
\
...
...
ci/licenses_golden/tool_signature
浏览文件 @
5d67ad10
Signature: d
165688a88dd53153d8e32bd26d3fa6d
Signature: d
d0af3be798528c3303ec68043c4785c
tools/licenses/lib/main.dart
浏览文件 @
5d67ad10
...
...
@@ -1662,6 +1662,11 @@ class _RepositoryLibWebpDirectory extends _RepositoryDirectory {
class
_RepositoryPkgDirectory
extends
_RepositoryDirectory
{
_RepositoryPkgDirectory
(
_RepositoryDirectory
parent
,
fs
.
Directory
io
)
:
super
(
parent
,
io
);
@override
bool
shouldRecurse
(
fs
.
IoNode
entry
)
{
return
entry
.
name
!=
'archive'
;
// contains nothing that ends up in the binary executable
}
@override
_RepositoryDirectory
createSubdirectory
(
fs
.
Directory
entry
)
{
if
(
entry
.
name
==
'when'
)
...
...
tools/licenses/pubspec.yaml
浏览文件 @
5d67ad10
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
name
:
licenses
publish_to
:
none
environment
:
sdk
:
'
>=2.8.0
<3.0.0'
# Do not add any dependencies that require more than what is provided in
# //third_party.pkg, //third_party/dart/pkg, or
# //third_party/dart/third_party/pkg. In particular, package:test is not usable
# here.
# If you do add packages here, make sure you can run `pub get --offline`, and
# check the .packages and .package_config to make sure all the paths are
# relative to this directory into //third_party/dart
dependencies
:
archive
:
^2.0.4
args
:
1.5.0
crypto
:
^2.0.2+1
meta
:
^1.1.6
path
:
^1.3.0
archive
:
any
args
:
any
crypto
:
any
meta
:
any
path
:
any
dependency_overrides
:
archive
:
path
:
../../../third_party/pkg/archive
args
:
path
:
../../../third_party/dart/third_party/pkg/args
collection
:
path
:
../../../third_party/dart/third_party/pkg/collection
crypto
:
path
:
../../../third_party/dart/third_party/pkg/crypto
meta
:
path
:
../../../third_party/dart/pkg/meta
path
:
path
:
../../../third_party/dart/third_party/pkg/path
typed_data
:
path
:
../../../third_party/dart/third_party/pkg/typed_data
tools/pub_get_offline.py
浏览文件 @
5d67ad10
...
...
@@ -17,6 +17,7 @@ import sys
ALL_PACKAGES
=
[
os
.
path
.
join
(
"src"
,
"flutter"
,
"flutter_frontend_server"
),
os
.
path
.
join
(
"src"
,
"flutter"
,
"tools"
,
"const_finder"
),
os
.
path
.
join
(
"src"
,
"flutter"
,
"tools"
,
"licenses"
),
]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录