Snap for 7290612 from 1caf4528302ab4ba0ab82905caea172d17f87e69 to sc-v2-release
Change-Id: Ie0bff88cd779579f66305b5d82eb3727d443bdd9
diff --git a/Android.bp b/Android.bp
index bda6b4e..1e66aba 100644
--- a/Android.bp
+++ b/Android.bp
@@ -160,18 +160,37 @@
srcs: libwebsocketsSrcFiles,
local_include_dirs: libwebsocketsIncludePath,
export_include_dirs: ["include"],
- static_libs: ["libcrypto", "libssl", "libcap"],
+ static_libs: [
+ "libssl",
+ "libcap",
+ ],
host_supported: true,
- device_supported: false,
- target: {
- android: {
- enabled: false,
+ product_variables: {
+ debuggable: {
+ cflags: [
+ "-UNDEBUG",
+ ],
},
+ },
+ target: {
darwin: {
enabled: false,
},
- host: {
+ android: {
+ shared_libs: [
+ "libcrypto",
+ ],
cflags: [
+ "-Wno-unused-parameter",
+ "-Wno-missing-field-initializers",
+ ],
+ },
+ host: {
+ static_libs: [
+ "libcrypto",
+ ],
+ cflags: [
+ "-UNDEBUG",
"-Wall",
"-Wsign-compare",
"-Wstrict-aliasing",