Skip to content

Commit

Permalink
Use BUILD_PREBUILT to copy over the NOTICE file
Browse files Browse the repository at this point in the history
Bug: 5358894
Change-Id: Ie6b8aaa55295b386550bddd49f753abee084766c
  • Loading branch information
Ying Wang committed Sep 30, 2011
1 parent 6ae8ce1 commit 0c04c00
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CleanSpec.mk
Expand Up @@ -67,6 +67,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libmoto_cdma_ril.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libmoto_qmi_ril.so) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libmoto_qmi_ril.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/android-info.txt) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/android-info.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libmoto_lte_ril.so)


# ************************************************ # ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
Expand Down
1 change: 0 additions & 1 deletion device.mk
Expand Up @@ -34,7 +34,6 @@ PRODUCT_COPY_FILES += \
device/moto/stingray/ril/libmoto_qmi_ril.so:system/lib/libmoto_qmi_ril.so \ device/moto/stingray/ril/libmoto_qmi_ril.so:system/lib/libmoto_qmi_ril.so \
device/moto/stingray/ril/libmoto_nwif_ril.so:system/lib/libmoto_nwif_ril.so \ device/moto/stingray/ril/libmoto_nwif_ril.so:system/lib/libmoto_nwif_ril.so \
device/moto/stingray/ril/libmoto_intfutil_ril.so:system/lib/libmoto_intfutil_ril.so \ device/moto/stingray/ril/libmoto_intfutil_ril.so:system/lib/libmoto_intfutil_ril.so \
device/moto/stingray/ril/libmoto_lte_ril.so:system/lib/libmoto_lte_ril.so \
device/moto/stingray/ril/libmoto_db_ril.so:system/lib/libmoto_db_ril.so \ device/moto/stingray/ril/libmoto_db_ril.so:system/lib/libmoto_db_ril.so \
device/moto/stingray/ril/libmoto_mm_ril.so:system/lib/libmoto_mm_ril.so \ device/moto/stingray/ril/libmoto_mm_ril.so:system/lib/libmoto_mm_ril.so \
device/moto/stingray/ril/libmoto_mdmctrl.so:system/lib/libmoto_mdmctrl.so \ device/moto/stingray/ril/libmoto_mdmctrl.so:system/lib/libmoto_mdmctrl.so \
Expand Down
5 changes: 5 additions & 0 deletions ril/Android.mk
@@ -1,2 +1,7 @@
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)


# Use BUILD_PREBUILT instead of PRODUCT_COPY_FILES to bring in the NOTICE file.
include $(CLEAR_VARS)
LOCAL_PREBUILT_LIBS := libmoto_lte_ril.so
LOCAL_MODULE_TAGS := optional
include $(BUILD_MULTI_PREBUILT)

0 comments on commit 0c04c00

Please sign in to comment.