android.mk example
  1.  
  2. include $(CLEAR_VARS)
  3. LOCAL_MODULE := foo
  4. LOCAL_SRC_FILES := foo/foo.c
  5. LOCAL_EXPORT_CFLAGS := -DFOO=1
  6. include $(BUILD_STATIC_LIBRARY)
  7. APP_ABI := armeabi-v7a arm64-v8a x86
  8.  
  9. include $(CLEAR_VARS)
  10. LOCAL_MODULE := bar
  11. LOCAL_SRC_FILES := bar.c
  12. LOCAL_CFLAGS := -DBAR=2
  13. LOCAL_STATIC_LIBRARIES := foo
  14. include $(BUILD_SHARED_LIBRARY)
Parsed in 0.001 seconds