Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit ff4be59

Browse files
author
guanghuispark
committed
add scripts
1 parent 5ec0c4b commit ff4be59

File tree

3 files changed

+23
-60
lines changed

3 files changed

+23
-60
lines changed

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

Lines changed: 1 addition & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/Scripts/lib_build_ios.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
engine_path=$(pwd)
22
runtime_mode=release
3-
bitcode=""
43

5-
while getopts ":r:m:e" opt
4+
while getopts ":r:m:" opt
65
do
76
case $opt in
87
r)
@@ -11,14 +10,11 @@ do
1110
m)
1211
runtime_mode=$OPTARG
1312
;;
14-
e)
15-
bitcode="-e" # enable-bitcode switch
16-
;;
1713
?)
1814
echo "unknown param"
1915
exit 1;;
2016
esac
2117
done
2218

23-
python3 lib_build.py -r $engine_path -p ios -m $runtime_mode $bitcode
19+
python3 lib_build.py -r $engine_path -p ios -m $runtime_mode
2420

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
engine_path=$(pwd)
2+
runtime_mode=release
3+
4+
while getopts ":r:m:" opt
5+
do
6+
case $opt in
7+
r)
8+
engine_path=$OPTARG # set engine_path, depot_tools and flutter engine folder will be put into this path
9+
;;
10+
m)
11+
runtime_mode=$OPTARG
12+
;;
13+
?)
14+
echo "unknown param"
15+
exit 1;;
16+
esac
17+
done
18+
19+
python3 lib_build.py -r $engine_path -m $runtime_mode -p ios -e
20+

0 commit comments

Comments
 (0)