Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_43355755
engine
提交
ae6c5427
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,发现更多精彩内容 >>
提交
ae6c5427
编写于
3月 04, 2016
作者:
E
Eric Seidel
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2455 from eseidelGoogle/android_x86
Support Android x86.
上级
7aa61dc3
49b457f6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
4 deletion
+8
-4
DEPS
DEPS
+1
-1
sky/engine/bindings/dart_runtime_hooks.cc
sky/engine/bindings/dart_runtime_hooks.cc
+1
-1
sky/engine/bindings/jni/jni_array.cc
sky/engine/bindings/jni/jni_array.cc
+3
-2
sky/engine/tonic/dart_converter.h
sky/engine/tonic/dart_converter.h
+3
-0
未找到文件。
DEPS
浏览文件 @
ae6c5427
...
...
@@ -25,7 +25,7 @@ vars = {
# Note: When updating the Dart revision, ensure that all entries that are
# dependencies of dart are also updated
'dart_revision': '
e091d17fd9e94e3f9a0cebab713b27bb8908240f
',
'dart_revision': '
7c2c02d6a6e299124946672eeaf52b71fbd74d3e
',
'dart_observatory_packages_revision': 'cf90eb9077177d3d6b3fd5e8289477c2385c026a',
'dart_root_certificates_revision': 'c3a41df63afacec62fcb8135196177e35fe72f71',
...
...
sky/engine/bindings/dart_runtime_hooks.cc
浏览文件 @
ae6c5427
...
...
@@ -161,7 +161,7 @@ void Logger_PrintString(Dart_NativeArguments args) {
#if defined(OS_ANDROID)
// In addition to writing to the stdout, write to the logcat so that the
// message is discoverable when running on an unrooted device.
__android_log_print
(
ANDROID_LOG_INFO
,
"flutter"
,
"%.*s"
,
length
,
chars
);
__android_log_print
(
ANDROID_LOG_INFO
,
"flutter"
,
"%.*s"
,
(
int
)
length
,
chars
);
#elif __APPLE__
syslog
(
1
/* LOG_ALERT */
,
"%.*s"
,
(
int
)
length
,
chars
);
#endif
...
...
sky/engine/bindings/jni/jni_array.cc
浏览文件 @
ae6c5427
...
...
@@ -425,7 +425,7 @@ int64_t JniLongArray::GetArrayElement(jsize index) {
env
->
GetLongArrayRegion
(
java_array
<
jlongArray
>
(),
index
,
1
,
&
result
);
if
(
CheckJniException
(
env
,
&
exception
))
goto
fail
;
return
result
;
return
static_cast
<
int64_t
>
(
result
)
;
}
fail:
Dart_ThrowException
(
exception
);
...
...
@@ -438,8 +438,9 @@ void JniLongArray::SetArrayElement(jsize index, int64_t value) {
{
ENTER_JNI
();
jlong
jni_value
=
static_cast
<
jlong
>
(
value
);
env
->
SetLongArrayRegion
(
java_array
<
jlongArray
>
(),
index
,
1
,
&
value
);
&
jni_
value
);
if
(
CheckJniException
(
env
,
&
exception
))
goto
fail
;
return
;
...
...
sky/engine/tonic/dart_converter.h
浏览文件 @
ae6c5427
...
...
@@ -88,6 +88,9 @@ struct DartConverterInteger {
template
<
>
struct
DartConverter
<
int
>
:
public
DartConverterInteger
<
int
>
{};
template
<
>
struct
DartConverter
<
long
int
>
:
public
DartConverterInteger
<
long
int
>
{};
template
<
>
struct
DartConverter
<
unsigned
>
:
public
DartConverterInteger
<
unsigned
>
{};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录