blob: 531a784913745ab7b399f1145fdcf01f8564d876 [file] [log] [blame]
Elliott Hughes7e4c2692017-05-23 13:40:14 -07001cc_library {
2 name: "libbrotli",
Tianjie Xuefe81522017-07-06 15:35:29 -07003 host_supported: true,
Elliott Hughes7e4c2692017-05-23 13:40:14 -07004 cflags: [
5 "-Werror",
6 "-O2",
7 ],
Alex Deymo06117152017-11-09 20:25:41 +01008 export_include_dirs: ["c/include"],
Elliott Hughes7e4c2692017-05-23 13:40:14 -07009 srcs: [
Alex Deymo06117152017-11-09 20:25:41 +010010 "c/common/*.c",
11 "c/dec/*.c",
12 "c/enc/*.c",
Elliott Hughes7e4c2692017-05-23 13:40:14 -070013 ],
Tianjie Xuefe81522017-07-06 15:35:29 -070014 target: {
15 linux_bionic: {
16 enabled: true,
17 },
18 },
Elliott Hughes7e4c2692017-05-23 13:40:14 -070019 stl: "none",
20}
21
22cc_binary {
Alex Deymo06117152017-11-09 20:25:41 +010023 name: "brotli",
Tianjie Xuefe81522017-07-06 15:35:29 -070024 host_supported: true,
Elliott Hughes7e4c2692017-05-23 13:40:14 -070025 cflags: ["-Werror"],
Alex Deymo06117152017-11-09 20:25:41 +010026 srcs: ["c/tools/brotli.c"],
Tianjie Xuefe81522017-07-06 15:35:29 -070027 target: {
28 linux_bionic: {
29 enabled: true,
30 },
31 },
Elliott Hughes7e4c2692017-05-23 13:40:14 -070032 shared_libs: ["libbrotli"],
33}