This repository was archived by the owner on Sep 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +63
-0
lines changed
Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 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 -p android -m $runtime_mode
Original file line number Diff line number Diff line change 1+ engine_path=$( pwd)
2+ runtime_mode=release
3+ bitcode=" "
4+
5+ while getopts " :r:m:e" opt
6+ do
7+ case $opt in
8+ r)
9+ engine_path=$OPTARG # set engine_path, depot_tools and flutter engine folder will be put into this path
10+ ;;
11+ m)
12+ runtime_mode=$OPTARG
13+ ;;
14+ e)
15+ bitcode=" -e" # enable-bitcode switch
16+ ;;
17+ ? )
18+ echo " unknown param"
19+ exit 1;;
20+ esac
21+ done
22+
23+ python3 lib_build.py -r $engine_path -p ios -m $runtime_mode $bitcode
24+
Original file line number Diff line number Diff line change 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 -p mac -m $runtime_mode
20+
You can’t perform that action at this time.
0 commit comments