aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2012-05-30 21:14:13 -0700
committerKeun young Park <keunyoung@google.com>2012-05-30 21:14:13 -0700
commit72fa8fd7a822c44c04260d35e19a3de9fccab9df (patch)
tree45d047abeb662b9a33badc596002e868e3032c0c /apps
parent792bdcaf1f80756fdeac1b8bf7073c1c76474a94 (diff)
downloadsample-72fa8fd7a822c44c04260d35e19a3de9fccab9df.tar.gz
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
Diffstat (limited to 'apps')
-rw-r--r--apps/SampleEmailPolicy/Android.mk4
-rw-r--r--apps/client/Android.mk4
-rw-r--r--apps/upgrade/Android.mk4
3 files changed, 12 insertions, 0 deletions
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