diff options
author | Yifan Hong <elsk@google.com> | 2021-04-16 00:03:20 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-04-16 00:03:20 +0000 |
commit | 5960a61e6a4ca16fe661bb8e638fa16a993dba1c (patch) | |
tree | c9f2aa6ff169baaf3ce8f031fbf1364cb8c9b07a | |
parent | a22ec997d2e32264fd3ff752a4163c30337d84ff (diff) | |
parent | 1caf4528302ab4ba0ab82905caea172d17f87e69 (diff) | |
download | libwebsockets-android12L-d2-s6-release.tar.gz |
Merge changes I27fa4dd6,I5bd8c2d2 am: a132c70bdd am: b588547f97 am: 464d379578 am: 1caf452830android-12.1.0_r26android-12.1.0_r25android-12.1.0_r24android-12.1.0_r23android-12.1.0_r18android-12.1.0_r17android-12.1.0_r16android-12.1.0_r15android-12.1.0_r14android-12.1.0_r13android-12.1.0_r12android12L-d2-s8-releaseandroid12L-d2-s7-releaseandroid12L-d2-s6-releaseandroid12L-d2-s5-releaseandroid12L-d2-s4-releaseandroid12L-d2-s3-releaseandroid12L-d2-s2-releaseandroid12L-d2-s1-releaseandroid12L-d2-release
Original change: https://android-review.googlesource.com/c/platform/external/libwebsockets/+/1672329
Change-Id: I1eb57497998d438b0849a3621a02916c8ace3be3
-rw-r--r-- | Android.bp | 29 |
1 files changed, 24 insertions, 5 deletions
@@ -160,18 +160,37 @@ cc_library_static { 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, }, + android: { + shared_libs: [ + "libcrypto", + ], + cflags: [ + "-Wno-unused-parameter", + "-Wno-missing-field-initializers", + ], + }, host: { + static_libs: [ + "libcrypto", + ], cflags: [ + "-UNDEBUG", "-Wall", "-Wsign-compare", "-Wstrict-aliasing", |