1LOCAL_PATH:= $(call my-dir) 2 3NATIVE_BRIDGE_COMMON_SRC_FILES := \ 4 DummyNativeBridge.cpp 5 6# Shared library for target 7# ======================================================== 8include $(CLEAR_VARS) 9 10LOCAL_MODULE:= libnativebridge-dummy 11 12LOCAL_SRC_FILES:= $(NATIVE_BRIDGE_COMMON_SRC_FILES) 13LOCAL_CLANG := true 14LOCAL_CFLAGS += -Werror -Wall 15LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected 16LOCAL_LDFLAGS := -ldl 17LOCAL_MULTILIB := both 18 19include $(BUILD_SHARED_LIBRARY) 20 21# Shared library for host 22# ======================================================== 23include $(CLEAR_VARS) 24 25LOCAL_MODULE:= libnativebridge-dummy 26 27LOCAL_SRC_FILES:= $(NATIVE_BRIDGE_COMMON_SRC_FILES) 28LOCAL_CLANG := true 29LOCAL_CFLAGS += -Werror -Wall 30LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected 31LOCAL_LDFLAGS := -ldl 32LOCAL_MULTILIB := both 33 34include $(BUILD_HOST_SHARED_LIBRARY) 35 36 37# v2. 38 39NATIVE_BRIDGE2_COMMON_SRC_FILES := \ 40 DummyNativeBridge2.cpp 41 42# Shared library for target 43# ======================================================== 44include $(CLEAR_VARS) 45 46LOCAL_MODULE:= libnativebridge2-dummy 47 48LOCAL_SRC_FILES:= $(NATIVE_BRIDGE2_COMMON_SRC_FILES) 49LOCAL_CLANG := true 50LOCAL_CFLAGS += -Werror -Wall 51LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected 52LOCAL_LDFLAGS := -ldl 53LOCAL_MULTILIB := both 54 55include $(BUILD_SHARED_LIBRARY) 56 57# Shared library for host 58# ======================================================== 59include $(CLEAR_VARS) 60 61LOCAL_MODULE:= libnativebridge2-dummy 62 63LOCAL_SRC_FILES:= $(NATIVE_BRIDGE2_COMMON_SRC_FILES) 64LOCAL_CLANG := true 65LOCAL_CFLAGS += -Werror -Wall 66LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected 67LOCAL_LDFLAGS := -ldl 68LOCAL_MULTILIB := both 69 70include $(BUILD_HOST_SHARED_LIBRARY) 71