fix: cannot determine the type of modules with class 'samples'
Test: make sdk should not break Change-Id: I849befde3c6b91f0b417aa6b11a909c6c4aad627
This commit is contained in:
parent
55b14bdaa4
commit
d4ca89bfd6
|
@ -227,9 +227,9 @@ in Android.bp to do so.")
|
|||
# Here, vendor means vendor/oem/odm
|
||||
lib_type := vendor_provided
|
||||
else
|
||||
# Test lib falls into this. No lib_type required for them.
|
||||
ifneq ($(filter tests,$(LOCAL_MODULE_TAGS)),tests)
|
||||
$(call pretty-error,Cannot determine the type of this library)
|
||||
# Test, samples lib falls into this. No lib_type required for them.
|
||||
ifeq ($(filter tests samples,$(LOCAL_MODULE_TAGS)),)
|
||||
$(call pretty-warning,Cannot determine the type of this library)
|
||||
endif
|
||||
lib_type :=
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue