Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_43355755
engine
提交
e65beb89
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,发现更多精彩内容 >>
未验证
提交
e65beb89
编写于
9月 10, 2018
作者:
R
Ryan Macnak
提交者:
GitHub
9月 10, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Roll Dart to ef720983530e04819b6fda0659ed7a3fdb190060. (#6212)
上级
d52e5cca
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
29 addition
and
9 deletion
+29
-9
DEPS
DEPS
+1
-1
ci/licenses_golden/licenses_third_party
ci/licenses_golden/licenses_third_party
+1
-1
lib/snapshot/BUILD.gn
lib/snapshot/BUILD.gn
+9
-0
runtime/dart_vm.cc
runtime/dart_vm.cc
+18
-7
未找到文件。
DEPS
浏览文件 @
e65beb89
...
...
@@ -31,7 +31,7 @@ vars = {
# Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
# You can use //tools/dart/create_updated_flutter_deps.py to produce
# updated revision list of existing dependencies.
'dart_revision': '
cd9a42239f76e110dd73aeaac4c69a057a76ddf1
',
'dart_revision': '
ef720983530e04819b6fda0659ed7a3fdb190060
',
'dart_args_tag': '1.4.4',
'dart_async_tag': '2.0.8',
...
...
ci/licenses_golden/licenses_third_party
浏览文件 @
e65beb89
Signature:
fbcaf0eca04aa4bfacf6dcc71a919be3
Signature:
7e3e1daeb388f5b96234b99e29bf6711
UNUSED LICENSES:
lib/snapshot/BUILD.gn
浏览文件 @
e65beb89
...
...
@@ -86,6 +86,12 @@ action("generate_snapshot_bin") {
"--await_is_keyword",
"--vm_flag",
"--enable_mirrors=false",
"--vm_flag",
"--no-strong",
"--vm_flag",
"--no-sync-async",
"--vm_flag",
"--no-reify-generic-functions",
"--vm_output_bin",
rebase_path(vm_snapshot_data, root_build_dir),
"--vm_instructions_output_bin",
...
...
@@ -289,6 +295,9 @@ template("generate_entry_points_json_with_gen_snapshot") {
output,
]
args = [
"--no-strong",
"--no-sync-async",
"--no-reify-generic-functions",
"--print-precompiler-entry-points=" + rebase_path(output),
"--snapshot-kind=app-aot-blobs",
"--vm_snapshot_data=" + rebase_path("$target_gen_dir/dummy.vm_data.snapshot"),
...
...
runtime/dart_vm.cc
浏览文件 @
e65beb89
...
...
@@ -92,7 +92,15 @@ static const char* kDartCheckedModeArgs[] = {
// clang-format on
};
static
const
char
*
kDartStrongModeArgs
[]
=
{
static
const
char
*
kDartModeArgs
[]
=
{
// clang-format off
"--no-strong"
,
"--no-reify_generic_functions"
,
"--no-sync_async"
,
// clang-format on
};
static
const
char
*
kDart2ModeArgs
[]
=
{
// clang-format off
"--strong"
,
"--reify_generic_functions"
,
...
...
@@ -381,16 +389,19 @@ DartVM::DartVM(const Settings& settings,
<<
isolate_snapshot_is_dart_2
;
if
(
is_preview_dart2
)
{
PushBackAll
(
&
args
,
kDart
StrongModeArgs
,
arraysize
(
kDartStrong
ModeArgs
));
PushBackAll
(
&
args
,
kDart
2ModeArgs
,
arraysize
(
kDart2
ModeArgs
));
if
(
use_checked_mode
)
{
PushBackAll
(
&
args
,
kDartAssertArgs
,
arraysize
(
kDartAssertArgs
));
}
}
else
if
(
use_checked_mode
)
{
FML_DLOG
(
INFO
)
<<
"Checked mode is ON"
;
PushBackAll
(
&
args
,
kDartAssertArgs
,
arraysize
(
kDartAssertArgs
));
PushBackAll
(
&
args
,
kDartCheckedModeArgs
,
arraysize
(
kDartCheckedModeArgs
));
}
else
{
FML_DLOG
(
INFO
)
<<
"Is not Dart 2 and Checked mode is OFF"
;
PushBackAll
(
&
args
,
kDartModeArgs
,
arraysize
(
kDartModeArgs
));
if
(
use_checked_mode
)
{
FML_DLOG
(
INFO
)
<<
"Checked mode is ON"
;
PushBackAll
(
&
args
,
kDartAssertArgs
,
arraysize
(
kDartAssertArgs
));
PushBackAll
(
&
args
,
kDartCheckedModeArgs
,
arraysize
(
kDartCheckedModeArgs
));
}
else
{
FML_DLOG
(
INFO
)
<<
"Is not Dart 2 and Checked mode is OFF"
;
}
}
if
(
settings
.
start_paused
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录