1 Star 0 Fork 270

BusyAnt/flutter_flutter

forked from OpenHarmony-SIG/flutter_flutter
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
release.py 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
get_moon 提交于 2023-09-22 15:58 +08:00 . IssueNo: #I83LPI 补充中间产物编译脚本
# Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#!/usr/bin/python
import config
import build_dill
import excute_util
import sys
def buildAot():
cmd = config.gen_snapshot
cmd += " --deterministic "
cmd += " --snapshot_kind=app-aot-elf "
cmd += " --elf={}libapp.so".format(config.release_out_path)
cmd += " --strip "
cmd += config.release_dill_out_file
excute_util.excute(cmd)
if not config.checkArgs():
sys.exit(1)
if not build_dill.buildDill(False):
print("编译失败!")
else:
buildAot()
print(config.release_out_desc)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/GreyLuo/flutter_flutter.git
[email protected]:GreyLuo/flutter_flutter.git
GreyLuo
flutter_flutter
flutter_flutter
master

搜索帮助