Merge "Don't allow linking to a java module with broader API surface" into pi-dev
This commit is contained in:
commit
355d9b8bab
|
@ -457,11 +457,11 @@ ALL_MODULES.$(my_register_name).INTERMEDIATE_SOURCE_DIR := \
|
||||||
ifndef LOCAL_IS_HOST_MODULE
|
ifndef LOCAL_IS_HOST_MODULE
|
||||||
ifeq ($(LOCAL_SDK_VERSION),system_current)
|
ifeq ($(LOCAL_SDK_VERSION),system_current)
|
||||||
my_link_type := java:system
|
my_link_type := java:system
|
||||||
my_warn_types := java:platform
|
my_warn_types :=
|
||||||
my_allowed_types := java:sdk java:system java:core
|
my_allowed_types := java:sdk java:system java:core
|
||||||
else ifneq (,$(call has-system-sdk-version,$(LOCAL_SDK_VERSION)))
|
else ifneq (,$(call has-system-sdk-version,$(LOCAL_SDK_VERSION)))
|
||||||
my_link_type := java:system
|
my_link_type := java:system
|
||||||
my_warn_types := java:platform
|
my_warn_types :=
|
||||||
my_allowed_types := java:sdk java:system java:core
|
my_allowed_types := java:sdk java:system java:core
|
||||||
else ifeq ($(LOCAL_SDK_VERSION),core_current)
|
else ifeq ($(LOCAL_SDK_VERSION),core_current)
|
||||||
my_link_type := java:core
|
my_link_type := java:core
|
||||||
|
@ -469,7 +469,7 @@ my_warn_types :=
|
||||||
my_allowed_types := java:core
|
my_allowed_types := java:core
|
||||||
else ifneq ($(LOCAL_SDK_VERSION),)
|
else ifneq ($(LOCAL_SDK_VERSION),)
|
||||||
my_link_type := java:sdk
|
my_link_type := java:sdk
|
||||||
my_warn_types := java:system java:platform
|
my_warn_types :=
|
||||||
my_allowed_types := java:sdk java:core
|
my_allowed_types := java:sdk java:core
|
||||||
else
|
else
|
||||||
my_link_type := java:platform
|
my_link_type := java:platform
|
||||||
|
|
Loading…
Reference in New Issue