Android.mk 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. LOCAL_PATH := $(call my-dir)
  2. include $(CLEAR_VARS)
  3. LOCAL_STATIC_ANDROID_LIBRARIES := \
  4. android-support-v4 \
  5. android-support-v13 \
  6. android-support-v7-appcompat \
  7. android-support-v7-cardview \
  8. android-support-v7-preference \
  9. android-support-v7-recyclerview \
  10. android-support-v14-preference
  11. LOCAL_STATIC_JAVA_LIBRARIES := \
  12. okhttp3 \
  13. okhttp-okio
  14. LOCAL_MODULE_TAGS := optional
  15. LOCAL_MODULE_OWNER := cells
  16. LOCAL_SRC_FILES := $(call all-subdir-java-files)
  17. LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res
  18. LOCAL_PACKAGE_NAME := switchsystem
  19. LOCAL_CERTIFICATE := platform
  20. LOCAL_PRIVILEGED_MODULE := true
  21. LOCAL_PRIVATE_PLATFORM_APIS := true
  22. include $(BUILD_PACKAGE)
  23. include $(CLEAR_VARS)
  24. LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
  25. okhttp3:libs/okhttp-3.9.0.jar \
  26. include $(BUILD_MULTI_PREBUILT)
  27. include $(CLEAR_VARS)
  28. LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
  29. okhttp-okio:libs/okio-1.13.0.jar \
  30. include $(BUILD_MULTI_PREBUILT)
  31. # Use the folloing include to make our test apk.
  32. include $(call all-makefiles-under,$(LOCAL_PATH))