Error and exit if BUILD_MULTI_PREBUILT is incorrectly used
Bug: 10114476 Change-Id: Id51e7ca443c3742e17cbe114aefbb7ed3870b0e5
This commit is contained in:
parent
6f16857720
commit
a8ae7f787d
|
@ -14,6 +14,11 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
ifneq ($(LOCAL_MODULE)$(LOCAL_MODULE_CLASS),)
|
||||
$(error $(LOCAL_PATH): LOCAL_MODULE or LOCAL_MODULE_CLASS not needed by \
|
||||
BUILD_MULTI_PREBUILT, use BUILD_PREBUILT instead!)
|
||||
endif
|
||||
|
||||
# Save these before they get cleared by CLEAR_VARS.
|
||||
prebuilt_static_libs := $(filter %.a,$(LOCAL_PREBUILT_LIBS))
|
||||
prebuilt_shared_libs := $(filter-out %.a,$(LOCAL_PREBUILT_LIBS))
|
||||
|
|
Loading…
Reference in New Issue