Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
anbox
提交
d9177f62
A
anbox
项目概览
openeuler
/
anbox
通知
24
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
anbox
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
d9177f62
编写于
9月 09, 2018
作者:
S
Simon Fels
提交者:
GitHub
9月 09, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into master
上级
2d76da96
8febc166
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
45 addition
and
6 deletion
+45
-6
.github/stale.yml
.github/stale.yml
+34
-0
external/cpu_features/CMakeLists.txt
external/cpu_features/CMakeLists.txt
+4
-0
src/anbox/cmds/check_features.cpp
src/anbox/cmds/check_features.cpp
+1
-1
src/anbox/dbus/bus.cpp
src/anbox/dbus/bus.cpp
+1
-3
src/anbox/dbus/bus.h
src/anbox/dbus/bus.h
+0
-1
src/anbox/dbus/stub/application_manager.cpp
src/anbox/dbus/stub/application_manager.cpp
+5
-0
src/anbox/graphics/emugl/RenderApi.cpp
src/anbox/graphics/emugl/RenderApi.cpp
+0
-1
未找到文件。
.github/stale.yml
0 → 100644
浏览文件 @
d9177f62
# Number of days of inactivity before an issue becomes stale
daysUntilStale
:
120
# Number of days of inactivity before a stale issue is closed
daysUntilClose
:
7
# Issues with these labels will never be considered stale
exemptLabels
:
-
android
-
app-support
-
bug
-
build
-
container
-
distro-support
-
documentation
-
duplicate
-
enhancement
-
help wanted
-
kernel
-
not-snap
-
question
-
session manager
-
sigill
-
startup
-
tools
-
undecided
-
upstream-bug
# Label to use when marking an issue as stale
staleLabel
:
decaying
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment
:
>
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment
:
false
external/cpu_features/CMakeLists.txt
浏览文件 @
d9177f62
...
...
@@ -5,6 +5,10 @@ project(CpuFeatures VERSION 0.1.0)
# ANBOX allow to build in our more strict build environment
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wno-error=switch-default -Wno-error=unused-parameter -Wno-error=overflow"
)
if
(
"
${
CMAKE_C_COMPILER_ID
}
"
STREQUAL
"Clang"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wno-error=cast-align"
)
endif
()
# Default Build Type to be Release
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE
"Release"
CACHE STRING
...
...
src/anbox/cmds/check_features.cpp
浏览文件 @
d9177f62
...
...
@@ -46,7 +46,7 @@ anbox::cmds::CheckFeatures::CheckFeatures()
cli
::
Name
{
"check-features"
},
cli
::
Usage
{
"check-features"
},
cli
::
Description
{
"Check that the host system supports all necessary features"
}}
{
action
([
this
](
const
cli
::
Command
::
Context
&
)
{
action
([](
const
cli
::
Command
::
Context
&
)
{
#if defined(CPU_FEATURES_ARCH_X86)
const
auto
info
=
cpu_features
::
GetX86Info
();
std
::
vector
<
std
::
string
>
missing_features
;
...
...
src/anbox/dbus/bus.cpp
浏览文件 @
d9177f62
...
...
@@ -20,9 +20,7 @@
namespace
anbox
{
namespace
dbus
{
Bus
::
Bus
(
Type
type
)
:
type_
{
type
}
{
Bus
::
Bus
(
Type
type
)
{
int
ret
=
0
;
switch
(
type
)
{
case
Type
::
Session
:
...
...
src/anbox/dbus/bus.h
浏览文件 @
d9177f62
...
...
@@ -48,7 +48,6 @@ class Bus : public DoNotCopyOrMove {
private:
void
worker_main
();
Type
type_
;
sd_bus
*
bus_
=
nullptr
;
std
::
thread
worker_thread_
;
std
::
atomic_bool
running_
{
false
};
...
...
src/anbox/dbus/stub/application_manager.cpp
浏览文件 @
d9177f62
...
...
@@ -114,7 +114,12 @@ void ApplicationManager::launch(const android::Intent &intent,
if
(
r
<
0
)
throw
std
::
runtime_error
(
"Failed to construct DBus message"
);
#pragma GCC diagnostic push
#pragma GCC diagnostic warning "-Wpragmas"
#pragma GCC diagnostic warning "-Wc99-extensions"
sd_bus_error
error
=
SD_BUS_ERROR_NULL
;
#pragma GCC diagnostic pop
r
=
sd_bus_call
(
bus_
->
raw
(),
m
,
0
,
&
error
,
nullptr
);
if
(
r
<
0
)
{
const
auto
msg
=
utils
::
string_format
(
"%s"
,
error
.
message
);
...
...
src/anbox/graphics/emugl/RenderApi.cpp
浏览文件 @
d9177f62
...
...
@@ -30,7 +30,6 @@ GLESv1Dispatch s_gles1;
namespace
{
constexpr
const
char
*
default_egl_lib
{
"libEGL.so.1"
};
constexpr
const
char
*
default_glesv1_lib
{
"libGLESv1_CM.so.1"
};
constexpr
const
char
*
default_glesv2_lib
{
"libGLESv2.so.2"
};
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录