summaryrefslogtreecommitdiffstats
path: root/tutorials/NotepadCodeLab/Notepadv3/Android.mk
diff options
context:
space:
mode:
authorTom O'Neill <tomo@google.com>2009-12-15 11:27:15 -0800
committerTom O'Neill <tomo@google.com>2009-12-16 09:54:24 -0800
commit77560fc704f2933e0df8a4be0768b2439a0bab2a (patch)
treeb42a79fbe8648db3bca5c2f1c0dd19c4670262ba /tutorials/NotepadCodeLab/Notepadv3/Android.mk
parent7a416277107f8ae46831fe8c5501f7e618a37f3e (diff)
downloadandroid_development-77560fc704f2933e0df8a4be0768b2439a0bab2a.tar.gz
android_development-77560fc704f2933e0df8a4be0768b2439a0bab2a.tar.bz2
android_development-77560fc704f2933e0df8a4be0768b2439a0bab2a.zip
Finish adding Makefiles for the Notepad tutorial.
Add the missing makefiles for the non-solution versions of the tutorial code. Required providing missing imports in Notepadv2. Also standardized white spaces using Source > Correct Indentation in Eclipse and a few manual changes. This was done to minimize differences such as: diff -r Notepadv1 Notepadv1Solution diff -r Notepadv1Solution/src/com/android/demo/notepad1/ Notepadv2/src/com/android/demo/notepad2/ Change-Id: Ie8b10efd61f2200b3c741ea500a6924710ab54ed
Diffstat (limited to 'tutorials/NotepadCodeLab/Notepadv3/Android.mk')
-rw-r--r--tutorials/NotepadCodeLab/Notepadv3/Android.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/tutorials/NotepadCodeLab/Notepadv3/Android.mk b/tutorials/NotepadCodeLab/Notepadv3/Android.mk
new file mode 100644
index 000000000..c9f319ef9
--- /dev/null
+++ b/tutorials/NotepadCodeLab/Notepadv3/Android.mk
@@ -0,0 +1,31 @@
+#
+# Copyright (C) 2009 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+# Only build apk if this package is added to CUSTOM_MODLUES in buildspec.mk
+LOCAL_MODULE_TAGS := optional
+
+# Only compile source java files in this apk.
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+LOCAL_PACKAGE_NAME := Notepadv3
+
+# Make the app build against the current SDK
+LOCAL_SDK_VERSION := current
+
+include $(BUILD_PACKAGE)