You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.8 KiB
68 lines
1.8 KiB
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "external_llvm_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-NCSA
|
|
default_applicable_licenses: ["external_llvm_license"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libLLVMAArch64CodeGen",
|
|
defaults: [
|
|
"llvm-lib-defaults",
|
|
"llvm-aarch64-defaults",
|
|
],
|
|
srcs: ["*.cpp"],
|
|
|
|
// Global ISEL is an experimental feature. If LLVM_BUILD_GLOBAL_ISEL is not
|
|
// set, these files fail compilation based on a macro check.
|
|
exclude_srcs: [
|
|
"AArch64CallLowering.cpp",
|
|
"AArch64RegisterBankInfo.cpp",
|
|
],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "llvm-aarch64-defaults",
|
|
generated_headers: ["llvm-gen-aarch64"],
|
|
static_libs: ["llvm-aarch64-headers"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "llvm-aarch64-headers",
|
|
vendor_available: true,
|
|
product_available: true,
|
|
host_supported: true,
|
|
// TODO(b/153609531): remove when no longer needed.
|
|
native_bridge_supported: true,
|
|
target: {
|
|
windows: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
export_include_dirs: ["."],
|
|
}
|
|
|
|
llvm_tblgen {
|
|
name: "llvm-gen-aarch64",
|
|
in: "AArch64.td",
|
|
outs: [
|
|
"AArch64GenRegisterInfo.inc",
|
|
"AArch64GenInstrInfo.inc",
|
|
"AArch64GenAsmWriter.inc",
|
|
"AArch64GenAsmWriter1.inc",
|
|
"AArch64GenDAGISel.inc",
|
|
"AArch64GenCallingConv.inc",
|
|
"AArch64GenAsmMatcher.inc",
|
|
"AArch64GenSubtargetInfo.inc",
|
|
"AArch64GenMCCodeEmitter.inc",
|
|
"AArch64GenFastISel.inc",
|
|
"AArch64GenDisassemblerTables.inc",
|
|
"AArch64GenMCPseudoLowering.inc",
|
|
"AArch64GenSystemOperands.inc",
|
|
],
|
|
}
|
|
|
|
subdirs = ["*"]
|