2 Star 0 Fork 151

openharmony_wagner/third_party_flutter

forked from OpenHarmony/third_party_flutter
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
make_skia_include_dir.py 856 Bytes
一键复制 编辑 原始数据 按行查看 历史
mamingshuai 提交于 2021-06-02 01:59 . update OpenHarmony 2.0 Canary
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
import subprocess
def main(argv):
if len(argv) != 3: # this is called by build system, must has 3 args.
print("argv count error, return!")
return
path = argv[1]
folder = os.path.exists(path)
if not folder:
os.makedirs(path)
print("make folder OK")
else:
print("folder already existed")
symlink_path = argv[2]
src_path = os.path.abspath(path)
print("skia path is : " + src_path)
dst_path = os.path.abspath(symlink_path)
print("symlink path is: " + dst_path)
subprocess.run(['ln', '-s', dst_path, src_path])
if __name__ == '__main__':
main(sys.argv)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony_wagner/third_party_flutter.git
git@gitee.com:openharmony_wagner/third_party_flutter.git
openharmony_wagner
third_party_flutter
third_party_flutter
wagner

搜索帮助