From 72fa8fd7a822c44c04260d35e19a3de9fccab9df Mon Sep 17 00:00:00 2001 From: Keun young Park Date: Wed, 30 May 2012 21:14:13 -0700 Subject: disable java build for PDK case - this is temporary change for adding device/sample to pdk group - permanent solution should be added where java build is allowed even in PDK if java build is possible Change-Id: I6abdb02414b2627703f8279c033cbf05bfe8d880 --- apps/SampleEmailPolicy/Android.mk | 4 ++++ apps/client/Android.mk | 4 ++++ apps/upgrade/Android.mk | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'apps') diff --git a/apps/SampleEmailPolicy/Android.mk b/apps/SampleEmailPolicy/Android.mk index b657506..9ae9308 100644 --- a/apps/SampleEmailPolicy/Android.mk +++ b/apps/SampleEmailPolicy/Android.mk @@ -12,6 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +ifneq ($(TARGET_BUILD_PDK),true) + # This is the makefile for the Email Policy package contained elsewhere in this sample. # When deploying to an actual device, you must change LOCAL_PACKAGE_NAME to the name desired for # your local version, e.g. LOCAL_PACKAGE_NAME := MyDeviceEmailPolicy This will cause the build @@ -31,3 +33,5 @@ LOCAL_CERTIFICATE := platform LOCAL_PROGUARD_FLAG_FILES := proguard.flags include $(BUILD_PACKAGE) + +endif # !PDK \ No newline at end of file diff --git a/apps/client/Android.mk b/apps/client/Android.mk index 7a38298..2318fe3 100644 --- a/apps/client/Android.mk +++ b/apps/client/Android.mk @@ -14,6 +14,8 @@ # limitations under the License. # +ifneq ($(TARGET_BUILD_PDK),true) + # This makefile is an example of writing an application that will link against # a custom shared library included with an Android system. @@ -37,3 +39,5 @@ LOCAL_JAVA_LIBRARIES := com.example.android.platform_library LOCAL_PROGUARD_ENABLED := disabled include $(BUILD_PACKAGE) + +endif # !PDK \ No newline at end of file diff --git a/apps/upgrade/Android.mk b/apps/upgrade/Android.mk index cdc65b2..4cba7e4 100644 --- a/apps/upgrade/Android.mk +++ b/apps/upgrade/Android.mk @@ -14,6 +14,8 @@ # limitations under the License. # +ifneq ($(TARGET_BUILD_PDK),true) + LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) @@ -31,3 +33,5 @@ LOCAL_SDK_VERSION := current LOCAL_PROGUARD_ENABLED := disabled include $(BUILD_PACKAGE) + +endif # !PDK \ No newline at end of file -- cgit v1.2.3