Home | History | Annotate | Download | only in tests
      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)
     35 
     36 
     37 # v2.
     38 
     39 NATIVE_BRIDGE2_COMMON_SRC_FILES := \
     40   DummyNativeBridge2.cpp
     41 
     42 # Shared library for target
     43 # ========================================================
     44 include $(CLEAR_VARS)
     45 
     46 LOCAL_MODULE:= libnativebridge2-dummy
     47 
     48 LOCAL_SRC_FILES:= $(NATIVE_BRIDGE2_COMMON_SRC_FILES)
     49 LOCAL_CLANG := true
     50 LOCAL_CFLAGS += -Werror -Wall
     51 LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected
     52 LOCAL_LDFLAGS := -ldl
     53 LOCAL_MULTILIB := both
     54 
     55 include $(BUILD_SHARED_LIBRARY)
     56 
     57 # Shared library for host
     58 # ========================================================
     59 include $(CLEAR_VARS)
     60 
     61 LOCAL_MODULE:= libnativebridge2-dummy
     62 
     63 LOCAL_SRC_FILES:= $(NATIVE_BRIDGE2_COMMON_SRC_FILES)
     64 LOCAL_CLANG := true
     65 LOCAL_CFLAGS += -Werror -Wall
     66 LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected
     67 LOCAL_LDFLAGS := -ldl
     68 LOCAL_MULTILIB := both
     69 
     70 include $(BUILD_HOST_SHARED_LIBRARY)
     71