Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
bingbingbingbing
mono
提交
6c08adb7
M
mono
项目概览
bingbingbingbing
/
mono
与 Fork 源项目一致
从无法访问的项目Fork
通知
35
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mono
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6c08adb7
编写于
12月 03, 2015
作者:
J
Joshua Peterson
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #314 from hkr/unity-staging
Fix NullReferenceExceptions on Android/x86 (L and M)
上级
f9331e1b
73ec3f9d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
35 addition
and
7 deletion
+35
-7
external/buildscripts/PrepareAndroidSDK.pm
external/buildscripts/PrepareAndroidSDK.pm
+15
-1
external/buildscripts/build_runtime_android.sh
external/buildscripts/build_runtime_android.sh
+10
-3
external/buildscripts/build_runtime_android_x86.sh
external/buildscripts/build_runtime_android_x86.sh
+9
-2
mono/mini/mini-x86.h
mono/mini/mini-x86.h
+1
-1
未找到文件。
external/buildscripts/PrepareAndroidSDK.pm
浏览文件 @
6c08adb7
...
...
@@ -138,6 +138,12 @@ our $ndks =
"
macosx
"
=>
"
android-ndk-r9-darwin-x86.tar.bz2
",
"
linux
"
=>
"
android-ndk-r9-linux-x86.tar.bz2
",
},
"
r10e
"
=>
{
"
windows
"
=>
"
android-ndk-r10e-windows-x86.exe
",
"
macosx
"
=>
"
android-ndk-r10e-darwin-x86_64.bin
",
"
linux
"
=>
"
android-ndk-r10e-linux-x86.bin
",
},
};
our
(
$HOST_ENV
,
$TMP
,
$HOME
,
$WINZIP
);
...
...
@@ -241,7 +247,7 @@ if ($ndk)
$export
=
"
set
";
}
if
(
$setenv
and
(
$ENV
{
$SDK_ROOT_ENV
}
or
$ENV
{
$
S
DK_ROOT_ENV
}))
if
(
$setenv
and
(
$ENV
{
$SDK_ROOT_ENV
}
or
$ENV
{
$
N
DK_ROOT_ENV
}))
{
print
"
Outputing updated environment:
\n
";
print
"
\t
'
$setenv
'
\n
";
...
...
@@ -392,6 +398,14 @@ sub DownloadAndUnpackArchive
{
system
("
tar
",
"
-xf
",
$temporary_download_path
,
"
-C
",
$temporary_unpack_path
);
}
elsif
(
lc
$suffix
eq
'
.bin
')
{
chmod
(
0755
,
$temporary_download_path
);
system
(
$temporary_download_path
,
"
-o
"
.
$temporary_unpack_path
);
}
elsif
(
lc
$suffix
eq
'
.exe
')
{
chmod
(
0755
,
$temporary_download_path
);
system
(
$temporary_download_path
,
"
-o
"
.
$temporary_unpack_path
);
}
else
{
die
"
Unknown file extension '
"
.
$suffix
.
"
'
\n
";
...
...
external/buildscripts/build_runtime_android.sh
浏览文件 @
6c08adb7
...
...
@@ -11,7 +11,7 @@ CWD="$(pwd)"
PREFIX
=
"
$CWD
/builds/android"
BUILDSCRIPTSDIR
=
external/buildscripts
perl
${
BUILDSCRIPTSDIR
}
/PrepareAndroidSDK.pl
-ndk
=
r
9
-env
=
envsetup.sh
&&
source
envsetup.sh
perl
${
BUILDSCRIPTSDIR
}
/PrepareAndroidSDK.pl
-ndk
=
r
10e
-env
=
envsetup.sh
&&
source
envsetup.sh
NDK_ROOT
=
`
cd
$ANDROID_NDK_ROOT
&&
pwd
`
...
...
@@ -23,10 +23,10 @@ fi
HOST_ENV
=
`
uname
-s
`
case
"
$HOST_ENV
"
in
Darwin
)
HOST_ENV
=
darwin
-x86
HOST_ENV
=
darwin
;;
Linux
)
HOST_ENV
=
linux
-x86
HOST_ENV
=
linux
;;
CYGWIN
*
|
*
_NT-
*
)
HOST_ENV
=
windows
...
...
@@ -40,6 +40,13 @@ esac
PLATFORM_ROOT
=
$NDK_ROOT
/platforms/
$ANDROID_PLATFORM
/arch-arm
TOOLCHAIN
=
$NDK_ROOT
/toolchains/
$GCC_PREFIX$GCC_VERSION
/prebuilt/
$HOST_ENV
if
[
!
-d
$TOOLCHAIN
]
;
then
TOOLCHAIN
=
${
TOOLCHAIN
}
-x86
if
[
!
-d
$TOOLCHAIN
]
;
then
TOOLCHAIN
=
${
TOOLCHAIN
}
_64
fi
fi
if
[
!
-a
$TOOLCHAIN
-o
!
-a
$PLATFORM_ROOT
]
;
then
NDK_NAME
=
`
basename
$NDK_ROOT
`
echo
"Failed to locate toolchain/platform;
$NDK_NAME
|
$HOST_ENV
|
$GCC_PREFIX$GCC_VERSION
|
$ANDROID_PLATFORM
"
...
...
external/buildscripts/build_runtime_android_x86.sh
浏览文件 @
6c08adb7
...
...
@@ -19,10 +19,10 @@ fi
HOST_ENV
=
`
uname
-s
`
case
"
$HOST_ENV
"
in
Darwin
)
HOST_ENV
=
darwin
-x86
HOST_ENV
=
darwin
;;
Linux
)
HOST_ENV
=
linux
-x86
HOST_ENV
=
linux
;;
CYGWIN
*
|
*
_NT-
*
)
HOST_ENV
=
windows
...
...
@@ -36,6 +36,13 @@ esac
PLATFORM_ROOT
=
$NDK_ROOT
/platforms/
$ANDROID_PLATFORM
/arch-x86
TOOLCHAIN
=
$NDK_ROOT
/toolchains/x86-
$GCC_VERSION
/prebuilt/
$HOST_ENV
if
[
!
-d
$TOOLCHAIN
]
;
then
TOOLCHAIN
=
${
TOOLCHAIN
}
-x86
if
[
!
-d
$TOOLCHAIN
]
;
then
TOOLCHAIN
=
${
TOOLCHAIN
}
_64
fi
fi
if
[
!
-a
$TOOLCHAIN
-o
!
-a
$PLATFORM_ROOT
]
;
then
NDK_NAME
=
`
basename
$NDK_ROOT
`
echo
"Failed to locate toolchain/platform;
$NDK_NAME
|
$HOST_ENV
|
$GCC_VERSION
|
$ANDROID_PLATFORM
"
...
...
mono/mini/mini-x86.h
浏览文件 @
6c08adb7
...
...
@@ -44,7 +44,7 @@ LONG CALLBACK seh_handler(EXCEPTION_POINTERS* ep);
#endif
/* PLATFORM_WIN32 */
#if defined( __linux__)
&& !defined(ANDROID)
|| defined(__sun) || defined(__APPLE__) || defined(__NetBSD__) || \
#if defined( __linux__) || defined(__sun) || defined(__APPLE__) || defined(__NetBSD__) || \
defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__QNXNTO__)
#define MONO_ARCH_USE_SIGACTION
#endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录