Android.mk 746 B

12345678910111213141516171819202122232425
  1. # Copyright (c) Facebook, Inc. and its affiliates.
  2. #
  3. # This source code is licensed under the MIT license found in the
  4. # LICENSE file in the root directory of this source tree.
  5. LOCAL_PATH := $(call my-dir)
  6. include $(CLEAR_VARS)
  7. # Header search path for all source files in this module.
  8. LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon
  9. # Header search path for modules that depend on this module
  10. LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
  11. LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
  12. # Name of this module.
  13. LOCAL_MODULE := callinvoker
  14. # Compile all local c++ files under ./ReactCommon
  15. LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/ReactCommon/*.cpp)
  16. # Build the files in this directory as a shared library
  17. include $(BUILD_STATIC_LIBRARY)