Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
sxychenjing
engine
提交
da6f356c
E
engine
项目概览
sxychenjing
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
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,发现更多精彩内容 >>
提交
da6f356c
编写于
1月 05, 2016
作者:
C
Chinmay Garde
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Shared build configuration for Mac/iOS build targets on bot
上级
bd301ca4
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
266 addition
and
1 deletion
+266
-1
travis/.gitignore
travis/.gitignore
+26
-0
travis/bot.xcodeproj/project.pbxproj
travis/bot.xcodeproj/project.pbxproj
+112
-0
travis/bot.xcodeproj/project.xcworkspace/contents.xcworkspacedata
...ot.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+7
-0
travis/bot.xcodeproj/xcshareddata/xcschemes/bot.xcscheme
travis/bot.xcodeproj/xcshareddata/xcschemes/bot.xcscheme
+80
-0
travis/build_xcode_sdk.sh
travis/build_xcode_sdk.sh
+41
-1
未找到文件。
travis/.gitignore
0 → 100644
浏览文件 @
da6f356c
.idea/
.vagrant/
.sconsign.dblite
.svn/
.DS_Store
*.swp
*.lock
profile
DerivedData/
build/
*.pbxuser
*.mode1v3
*.mode2v3
*.perspectivev3
!default.pbxuser
!default.mode1v3
!default.mode2v3
!default.perspectivev3
xcuserdata
*.moved-aside
travis/bot.xcodeproj/project.pbxproj
0 → 100644
浏览文件 @
da6f356c
// !$*UTF8*$!
{
archiveVersion
=
1
;
classes
=
{
};
objectVersion
=
46
;
objects
=
{
/* Begin PBXGroup section */
9E687EA21C3C6D9A00FBE171
=
{
isa
=
PBXGroup
;
children
=
(
);
sourceTree
=
"<group>"
;
};
/* End PBXGroup section */
/* Begin PBXLegacyTarget section */
9E687EA71C3C6D9A00FBE171
/* bot */
=
{
isa
=
PBXLegacyTarget
;
buildArgumentsString
=
travis/build_xcode_sdk.sh
;
buildConfigurationList
=
9E687EAA1C3C6D9A00FBE171
/* Build configuration list for PBXLegacyTarget "bot" */
;
buildPhases
=
(
);
buildToolPath
=
/bin/sh
;
buildWorkingDirectory
=
..
;
dependencies
=
(
);
name
=
bot
;
passBuildSettingsInEnvironment
=
1
;
productName
=
bot
;
};
/* End PBXLegacyTarget section */
/* Begin PBXProject section */
9E687EA31C3C6D9A00FBE171
/* Project object */
=
{
isa
=
PBXProject
;
attributes
=
{
LastUpgradeCheck
=
0720
;
ORGANIZATIONNAME
=
Flutter
;
TargetAttributes
=
{
9E687EA71C3C6D9A00FBE171
=
{
CreatedOnToolsVersion
=
7.2
;
};
};
};
buildConfigurationList
=
9E687EA61C3C6D9A00FBE171
/* Build configuration list for PBXProject "bot" */
;
compatibilityVersion
=
"Xcode 3.2"
;
developmentRegion
=
English
;
hasScannedForEncodings
=
0
;
knownRegions
=
(
en
,
);
mainGroup
=
9E687EA21C3C6D9A00FBE171
;
projectDirPath
=
""
;
projectRoot
=
""
;
targets
=
(
9E687EA71C3C6D9A00FBE171
/* bot */
,
);
};
/* End PBXProject section */
/* Begin XCBuildConfiguration section */
9E687EA81C3C6D9A00FBE171
/* Debug */
=
{
isa
=
XCBuildConfiguration
;
buildSettings
=
{
};
name
=
Debug
;
};
9E687EA91C3C6D9A00FBE171
/* Release */
=
{
isa
=
XCBuildConfiguration
;
buildSettings
=
{
};
name
=
Release
;
};
9E687EAB1C3C6D9A00FBE171
/* Debug */
=
{
isa
=
XCBuildConfiguration
;
buildSettings
=
{
};
name
=
Debug
;
};
9E687EAC1C3C6D9A00FBE171
/* Release */
=
{
isa
=
XCBuildConfiguration
;
buildSettings
=
{
};
name
=
Release
;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
9E687EA61C3C6D9A00FBE171
/* Build configuration list for PBXProject "bot" */
=
{
isa
=
XCConfigurationList
;
buildConfigurations
=
(
9E687EA81C3C6D9A00FBE171
/* Debug */
,
9E687EA91C3C6D9A00FBE171
/* Release */
,
);
defaultConfigurationIsVisible
=
0
;
defaultConfigurationName
=
Release
;
};
9E687EAA1C3C6D9A00FBE171
/* Build configuration list for PBXLegacyTarget "bot" */
=
{
isa
=
XCConfigurationList
;
buildConfigurations
=
(
9E687EAB1C3C6D9A00FBE171
/* Debug */
,
9E687EAC1C3C6D9A00FBE171
/* Release */
,
);
defaultConfigurationIsVisible
=
0
;
defaultConfigurationName
=
Release
;
};
/* End XCConfigurationList section */
};
rootObject
=
9E687EA31C3C6D9A00FBE171
/* Project object */
;
}
travis/bot.xcodeproj/project.xcworkspace/contents.xcworkspacedata
0 → 100644
浏览文件 @
da6f356c
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version =
"1.0"
>
<FileRef
location =
"self:bot.xcodeproj"
>
</FileRef>
</Workspace>
travis/bot.xcodeproj/xcshareddata/xcschemes/bot.xcscheme
0 → 100644
浏览文件 @
da6f356c
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion =
"0720"
version =
"1.3"
>
<BuildAction
parallelizeBuildables =
"YES"
buildImplicitDependencies =
"YES"
>
<BuildActionEntries>
<BuildActionEntry
buildForTesting =
"YES"
buildForRunning =
"YES"
buildForProfiling =
"YES"
buildForArchiving =
"YES"
buildForAnalyzing =
"YES"
>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"9E687EA71C3C6D9A00FBE171"
BuildableName =
"bot"
BlueprintName =
"bot"
ReferencedContainer =
"container:bot.xcodeproj"
>
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration =
"Debug"
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv =
"YES"
>
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration =
"Debug"
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle =
"0"
useCustomWorkingDirectory =
"NO"
ignoresPersistentStateOnLaunch =
"NO"
debugDocumentVersioning =
"YES"
debugServiceExtension =
"internal"
allowLocationSimulation =
"YES"
>
<MacroExpansion>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"9E687EA71C3C6D9A00FBE171"
BuildableName =
"bot"
BlueprintName =
"bot"
ReferencedContainer =
"container:bot.xcodeproj"
>
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration =
"Release"
shouldUseLaunchSchemeArgsEnv =
"YES"
savedToolIdentifier =
""
useCustomWorkingDirectory =
"NO"
debugDocumentVersioning =
"YES"
>
<MacroExpansion>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"9E687EA71C3C6D9A00FBE171"
BuildableName =
"bot"
BlueprintName =
"bot"
ReferencedContainer =
"container:bot.xcodeproj"
>
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration =
"Debug"
>
</AnalyzeAction>
<ArchiveAction
buildConfiguration =
"Release"
revealArchiveInOrganizer =
"YES"
>
</ArchiveAction>
</Scheme>
travis/build_xcode_sdk.sh
浏览文件 @
da6f356c
...
...
@@ -5,6 +5,37 @@
set
-ex
# When run using the Xcode Bot, the TARGET_TEMP_DIR variable is set. If not,
# use /tmp
WORKSPACE
=
${
TARGET_TEMP_DIR
}
/tmp/flutter_build_workspace
DEPOT_WORKSPACE
=
${
TARGET_TEMP_DIR
}
/tmp/flutter_depot_tools
function
NukeWorkspace
{
rm
-rf
${
WORKSPACE
}
rm
-rf
${
DEPOT_WORKSPACE
}
}
trap
NukeWorkspace EXIT
NukeWorkspace
# Create a separate workspace for gclient
mkdir
-p
${
WORKSPACE
}
cp
-a
.
${
WORKSPACE
}
/src
cp
travis/gclient
${
WORKSPACE
}
/.gclient
# Move into the fresh workspace
pushd
${
WORKSPACE
}
/src
# Setup Depot tools
rm
-rf
${
DEPOT_WORKSPACE
}
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
${
DEPOT_WORKSPACE
}
PATH
=
"
${
DEPOT_WORKSPACE
}
:
$PATH
"
# Sync dependencies
gclient
sync
# Setup Goma if available
GOMA_FLAGS
=
"-j900"
if
[[
-z
"
$GOMA_DIR
"
]]
;
then
GOMA_FLAGS
=
""
...
...
@@ -30,5 +61,14 @@ cp -R out/ios_Release/Flutter out/FlutterXcode
# Package it into a ZIP file for the builder to upload to cloud storage
pushd
out/FlutterXcode
zip
-r
FlutterXcode.zip Flutter
popd
# When built for archiving, the DSTROOT is set by Xcode.
if
[[
!
-z
${
DSTROOT
}
]]
;
then
mv
FlutterXcode.zip
${
DSTROOT
}
fi
popd
# Out of the Xcode project
popd
# Out of the workspace
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录