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.
58 lines
1.1 KiB
58 lines
1.1 KiB
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "system_extras_verity_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["system_extras_verity_license"],
|
|
}
|
|
|
|
cc_binary_host {
|
|
name: "fec",
|
|
|
|
compile_multilib: "both",
|
|
multilib: {
|
|
lib32: {
|
|
suffix: "32",
|
|
},
|
|
lib64: {
|
|
suffix: "",
|
|
},
|
|
},
|
|
target: {
|
|
linux_glibc: {
|
|
sanitize: {
|
|
misc_undefined: ["integer"],
|
|
},
|
|
},
|
|
linux: {
|
|
static_libs: [
|
|
"libavb",
|
|
],
|
|
},
|
|
},
|
|
|
|
srcs: [
|
|
"main.cpp",
|
|
"image.cpp",
|
|
],
|
|
|
|
static_libs: [
|
|
"libbase",
|
|
"libsparse",
|
|
"libz",
|
|
"libcrypto_utils",
|
|
"libcrypto",
|
|
"libfec",
|
|
"libfec_rs",
|
|
"libext4_utils",
|
|
"liblog",
|
|
"libsquashfs_utils",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-O3",
|
|
],
|
|
}
|