加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
BUILD.gn 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
BinaryFZ 提交于 2020-03-31 09:38 . opensource FE and BE source code
#
# Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved.
#
# OpenArkCompiler is licensed under the Mulan PSL v1.
# You can use this software according to the terms and conditions of the Mulan PSL v1.
# You may obtain a copy of Mulan PSL v1 at:
#
# http://license.coscl.org.cn/MulanPSL
#
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR
# FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v1 for more details.
#
group("maple") {
deps = [
"${MAPLE_ROOT}/src:maple",
]
}
group("irbuild") {
deps = [
"${MAPLE_ROOT}/src:irbuild",
]
}
group("mplfe") {
deps = [
"${MAPLE_ROOT}/src:mplfe",
]
}
group("aarch64isa_headers") {
exec_script(
"${MAPLEALL_ROOT}/maple_be/src/cg/script/genmop.py",
[
rebase_path("${MAPLEALL_ROOT}/maple_be/src/cg/aarch64/aarch64_md.def",
root_build_dir),
rebase_path(
"${MAPLEALL_ROOT}/maple_be/include/cg/aarch64/aarch64_isa.def",
root_build_dir),
])
}
group("maplegendef") {
exec_script("${MAPLEALL_ROOT}/maple_be/mdgen/gendef.py",
[
rebase_path("${GN_BINARY_OUTPUT_DIRECTORY}/maplegen",
root_build_dir),
rebase_path("${MAPLEALL_ROOT}/maple_be/include/ad/cortex_a55",
root_build_dir),
rebase_path("${MAPLEALL_ROOT}/maple_be/include/ad/target",
root_build_dir),
])
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化