浏览代码

add scripts

/zgh-build_scripts
guanghuispark 3 年前
当前提交
379881f1
共有 3 个文件被更改,包括 23 次插入60 次删除
  1. 55
      com.unity.uiwidgets/Runtime/Plugins/Android/libUIWidgets.so.meta
  2. 8
      engine/Scripts/lib_build_ios.sh
  3. 20
      engine/Scripts/lib_build_ios_bitcode.sh

55
com.unity.uiwidgets/Runtime/Plugins/Android/libUIWidgets.so.meta


validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Android: 0
Exclude Editor: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 1
- first:
Android: Android
second:
enabled: 1
settings:
CPU: ARMv7
- first:
enabled: 0
enabled: 1
settings: {}
- first:
Editor: Editor

CPU: AnyCPU
OS: AnyOS
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
iPhone: iOS
second:
enabled: 0
settings:
AddToEmbeddedBinaries: false
CPU: AnyCPU
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

8
engine/Scripts/lib_build_ios.sh


engine_path=$(pwd)
runtime_mode=release
bitcode=""
while getopts ":r:m:e" opt
while getopts ":r:m:" opt
do
case $opt in
r)

runtime_mode=$OPTARG
;;
e)
bitcode="-e" # enable-bitcode switch
;;
?)
echo "unknown param"
exit 1;;

python3 lib_build.py -r $engine_path -p ios -m $runtime_mode $bitcode
python3 lib_build.py -r $engine_path -p ios -m $runtime_mode

20
engine/Scripts/lib_build_ios_bitcode.sh


engine_path=$(pwd)
runtime_mode=release
while getopts ":r:m:" opt
do
case $opt in
r)
engine_path=$OPTARG # set engine_path, depot_tools and flutter engine folder will be put into this path
;;
m)
runtime_mode=$OPTARG
;;
?)
echo "unknown param"
exit 1;;
esac
done
python3 lib_build.py -r $engine_path -m $runtime_mode -p ios -e
正在加载...
取消
保存