Daniel Erat | 3b641bc | 2015-08-11 14:05:33 -0600 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2015 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | LOCAL_PATH := $(my-dir) |
| 17 | |
| 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_MODULE := libmicrohttpd |
| 21 | LOCAL_CFLAGS := -Wno-sign-compare -Wno-unused-parameter |
| 22 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/src/include |
| 23 | |
| 24 | LOCAL_C_INCLUDES := \ |
| 25 | $(LOCAL_PATH)/src/include \ |
| 26 | $(LOCAL_PATH)/src/microhttpd \ |
Darren Krahn | 98eba18 | 2015-08-13 17:01:56 -0700 | [diff] [blame] | 27 | external/boringssl/include \ |
| 28 | |
| 29 | LOCAL_SHARED_LIBRARIES := libssl libcrypto |
Daniel Erat | 3b641bc | 2015-08-11 14:05:33 -0600 | [diff] [blame] | 30 | |
| 31 | LOCAL_SRC_FILES := \ |
| 32 | src/microhttpd/base64.c \ |
| 33 | src/microhttpd/basicauth.c \ |
| 34 | src/microhttpd/connection.c \ |
Darren Krahn | 98eba18 | 2015-08-13 17:01:56 -0700 | [diff] [blame] | 35 | src/microhttpd/connection_https.c \ |
Daniel Erat | 3b641bc | 2015-08-11 14:05:33 -0600 | [diff] [blame] | 36 | src/microhttpd/daemon.c \ |
| 37 | src/microhttpd/digestauth.c \ |
| 38 | src/microhttpd/internal.c \ |
| 39 | src/microhttpd/md5.c \ |
| 40 | src/microhttpd/memorypool.c \ |
| 41 | src/microhttpd/postprocessor.c \ |
| 42 | src/microhttpd/reason_phrase.c \ |
| 43 | src/microhttpd/response.c \ |
| 44 | src/microhttpd/tsearch.c \ |
| 45 | |
| 46 | include $(BUILD_SHARED_LIBRARY) |