Don't do the check build step for apps that link against the SDK.
We already have the apicheck process to make sure that nobody breaks that,
so doing the extra check isn't necessary.
diff --git a/core/base_rules.mk b/core/base_rules.mk
index 8937360..b8021c3 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -429,7 +429,9 @@
# checked modules, use LOCAL_BUILT_MODULE. This was old
# behavior, so it should be a safe default.
ifndef LOCAL_CHECKED_MODULE
- LOCAL_CHECKED_MODULE := $(LOCAL_BUILT_MODULE)
+ ifndef LOCAL_SDK_VERSION
+ LOCAL_CHECKED_MODULE := $(LOCAL_BUILT_MODULE)
+ endif
endif
# If they request that this module not be checked, then don't.