Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_43355755
engine
提交
0392945c
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,发现更多精彩内容 >>
提交
0392945c
编写于
8月 09, 2016
作者:
A
Adam Barth
提交者:
GitHub
8月 09, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update CONTRIBUTING.md to account for buildroot (#2893)
上级
9c095657
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
12 deletion
+12
-12
CONTRIBUTING.md
CONTRIBUTING.md
+11
-11
tools/gn
tools/gn
+1
-1
tools/gn_test.py
tools/gn_test.py
+0
-0
未找到文件。
CONTRIBUTING.md
浏览文件 @
0392945c
...
...
@@ -31,7 +31,7 @@ Getting the code and configuring your environment
solutions = [
{
"managed": False,
"name": "src",
"name": "src
/flutter
",
"url": "git@github.com:<your_name_here>/engine.git",
"custom_deps": {},
"deps_file": "DEPS",
...
...
@@ -74,7 +74,7 @@ dependency_overrides:
Run the following steps, from the
`src`
directory created in the steps above:
*
`gclient sync`
to update your dependencies.
*
`./
sky
/tools/gn --android --unoptimized`
to prepare your build files.
*
`./
flutter
/tools/gn --android --unoptimized`
to prepare your build files.
*
`ninja -C out/android_debug_unopt`
to actually build the Android binary.
This builds a debug-enabled ("unoptimized") binary configured to run Dart in
...
...
@@ -116,7 +116,7 @@ to test the engine.
*
Make sure you have Xcode 7.3.0+ installed.
*
`gclient sync`
to update dependencies.
*
`./
sky
/tools/gn --ios --unoptimized`
to prepare build files.
*
`./
flutter
/tools/gn --ios --unoptimized`
to prepare build files.
*
For a discussion on the various flags and modes,
[
read this discussion
](
https://github.com/flutter/flutter/wiki/Flutter's-modes
)
.
*
`ninja -C out/ios_debug_unopt`
to build iOS artifacts.
...
...
@@ -131,7 +131,7 @@ Once the artifacts are built, you can start using them in your application by fo
### Desktop (Mac and Linux), for tests
*
`gclient sync`
to update your dependencies.
*
`./
sky
/tools/gn`
to prepare your build files.
*
`./
flutter
/tools/gn`
to prepare your build files.
*
`ninja -C out/host_debug_unopt`
to build a desktop unoptimized binary.
To run the tests, you'll also need to clone
[
the main Flutter repository
](
https://github.com/flutter/flutter
)
.
...
...
@@ -150,13 +150,13 @@ git fetch upstream
git rebase upstream/master
gclient
sync
sky
/tools/gn
--unoptimized
--runtime-mode
=
debug
sky
/tools/gn
--android
--unoptimized
--runtime-mode
=
debug
sky
/tools/gn
--android
--unoptimized
--runtime-mode
=
profile
sky
/tools/gn
--android
--unoptimized
--runtime-mode
=
release
sky
/tools/gn
--android
--runtime-mode
=
debug
sky
/tools/gn
--android
--runtime-mode
=
profile
sky
/tools/gn
--android
--runtime-mode
=
release
flutter
/tools/gn
--unoptimized
--runtime-mode
=
debug
flutter
/tools/gn
--android
--unoptimized
--runtime-mode
=
debug
flutter
/tools/gn
--android
--unoptimized
--runtime-mode
=
profile
flutter
/tools/gn
--android
--unoptimized
--runtime-mode
=
release
flutter
/tools/gn
--android
--runtime-mode
=
debug
flutter
/tools/gn
--android
--runtime-mode
=
profile
flutter
/tools/gn
--android
--runtime-mode
=
release
cd
out
ls
| xargs
-n
1 ninja
-C
...
...
sky/
tools/gn
→
tools/gn
浏览文件 @
0392945c
...
...
@@ -8,7 +8,7 @@ import subprocess
import
sys
import
os
SRC_ROOT
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)
))))
SRC_ROOT
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))))
def
get_out_dir
(
args
):
if
args
.
target_os
is
not
None
:
...
...
sky/
tools/gn_test.py
→
tools/gn_test.py
浏览文件 @
0392945c
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录