blob: ede5fd19ffb8d342db73fae50b7413d699422f4d [file] [log] [blame]
Bob Badour4e060082021-02-16 18:59:28 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "system_extras_verity_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["system_extras_verity_license"],
8}
9
Dan Willemsen9f022b42018-05-09 16:26:42 -070010cc_binary_host {
11 name: "fec",
12
Julien Desprez48e4ce62021-01-14 18:51:45 -080013 compile_multilib: "both",
14 multilib: {
15 lib32: {
16 suffix: "32",
17 },
18 lib64: {
19 suffix: "",
20 },
21 },
Dan Willemsen9f022b42018-05-09 16:26:42 -070022 target: {
Colin Cross4a38aee2021-11-16 16:55:35 -080023 linux_glibc_x86_64: {
Dan Willemsen9f022b42018-05-09 16:26:42 -070024 sanitize: {
25 misc_undefined: ["integer"],
26 },
27 },
Colin Crossa2b046a2022-03-24 16:25:09 -070028 linux_musl_x86_64: {
29 sanitize: {
30 misc_undefined: ["integer"],
31 },
32 },
Tianjie Xu87d230b2020-03-06 12:30:18 -080033 linux: {
34 static_libs: [
35 "libavb",
36 ],
37 },
Dan Willemsen9f022b42018-05-09 16:26:42 -070038 },
39
40 srcs: [
41 "main.cpp",
42 "image.cpp",
43 ],
44
45 static_libs: [
Dario Freni795d3c72020-01-09 19:47:34 +000046 "libbase",
Dan Willemsen9f022b42018-05-09 16:26:42 -070047 "libsparse",
48 "libz",
49 "libcrypto_utils",
50 "libcrypto",
51 "libfec",
52 "libfec_rs",
53 "libext4_utils",
Tom Cherry7c96e1f2020-01-14 14:05:42 -080054 "liblog",
Dan Willemsen9f022b42018-05-09 16:26:42 -070055 "libsquashfs_utils",
56 ],
Dan Willemsen9f022b42018-05-09 16:26:42 -070057 cflags: [
58 "-Wall",
59 "-Werror",
60 "-O3",
61 ],
62}