blob: b81a31834bfd5167be48ef73d26cc4763b03ee0f [file] [log] [blame]
Dan Willemsen45d99782018-10-30 13:53:42 -07001cc_library_shared {
2 name: "libpac",
3
4 srcs: [
5 "src/proxy_resolver_v8.cc",
Victor Chang94c82582019-01-04 19:18:54 +00006 "src/proxy_resolver_v8_wrapper.cc",
Dan Willemsen45d99782018-10-30 13:53:42 -07007 "src/proxy_resolver_js_bindings.cc",
8 "src/net_util.cc",
9 ],
10
11 cflags: [
12 "-Wno-endif-labels",
13 "-Wno-import",
14 "-Wno-format",
15 "-Wno-unused-parameter",
Rubin Xu438381d2021-02-10 00:09:13 +000016 "-Wno-non-virtual-dtor",
Dan Willemsen45d99782018-10-30 13:53:42 -070017 "-Werror",
18 ],
19
Victor Chang94c82582019-01-04 19:18:54 +000020 export_include_dirs: ["includes"],
21 local_include_dirs: ["src"],
Dan Willemsen45d99782018-10-30 13:53:42 -070022
vichang30414f72019-01-10 18:43:34 +000023 static_libs: ["libv8"],
Dan Willemsen45d99782018-10-30 13:53:42 -070024
25 shared_libs: [
vichang30414f72019-01-10 18:43:34 +000026 "liblog",
Dan Willemsen45d99782018-10-30 13:53:42 -070027 "libicuuc",
28 "libicui18n",
29 ],
Victor Chang94c82582019-01-04 19:18:54 +000030
31 stubs: {
32 symbol_file: "libpac.map.txt",
33 versions: [
34 "1",
35 ],
36 },
Jiyong Park08eef3e2019-12-19 02:11:24 +000037 apex_available: [
38 "com.android.art.release",
39 "com.android.art.debug",
40 ],
Cindy Zhoue0e56272020-02-13 13:24:32 -080041 sanitize: {
42 cfi: true,
43 },
Dan Willemsen45d99782018-10-30 13:53:42 -070044}