title: How to convert Android.mk to CMake.txt?
body: <p>This is how my Android.mk file looks like. What is the equivalent CMakeLists.txt? I am struggling to find libhardware in CMake. Any ideas?</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  LOCAL_MODULE    := libtestLed
  LOCAL_SRC_FILES := testled.cpp
  LOCAL_C_INCLUDES :=  $(call include-path-for, libhardware)/hardware
  LOCAL_SHARED_LIBRARIES += \
      libandroid_runtime \
      libcutils \
      liblog \
      libhardware \
  
  LOCAL_MODULE_TAGS := optional
  LOCAL_VENDOR_MODULE := true
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>