Calin Juravle | f9d9e2a | 2014-10-17 13:45:39 +0100 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | NATIVE_BRIDGE_COMMON_SRC_FILES := \ |
| 4 | DummyNativeBridge.cpp |
| 5 | |
| 6 | # Shared library for target |
| 7 | # ======================================================== |
| 8 | include $(CLEAR_VARS) |
| 9 | |
| 10 | LOCAL_MODULE:= libnativebridge-dummy |
| 11 | |
| 12 | LOCAL_SRC_FILES:= $(NATIVE_BRIDGE_COMMON_SRC_FILES) |
| 13 | LOCAL_CLANG := true |
| 14 | LOCAL_CFLAGS += -Werror -Wall |
| 15 | LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected |
| 16 | LOCAL_LDFLAGS := -ldl |
| 17 | LOCAL_MULTILIB := both |
| 18 | |
| 19 | include $(BUILD_SHARED_LIBRARY) |
| 20 | |
| 21 | # Shared library for host |
| 22 | # ======================================================== |
| 23 | include $(CLEAR_VARS) |
| 24 | |
| 25 | LOCAL_MODULE:= libnativebridge-dummy |
| 26 | |
| 27 | LOCAL_SRC_FILES:= $(NATIVE_BRIDGE_COMMON_SRC_FILES) |
| 28 | LOCAL_CLANG := true |
| 29 | LOCAL_CFLAGS += -Werror -Wall |
| 30 | LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected |
| 31 | LOCAL_LDFLAGS := -ldl |
| 32 | LOCAL_MULTILIB := both |
| 33 | |
| 34 | include $(BUILD_HOST_SHARED_LIBRARY) |