summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiachen Zhao <zhaojiac@google.com>2018-03-31 17:42:00 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-03-31 17:42:00 +0200
commitc6152041fdaf50da72a076ddf9c66557fc1662d5 (patch)
treebeded93fe5327cdefb123495cc7eba921c3cedb8
parentMerge "Remove the obsolete mkfont.c and font_10x18.h" (diff)
parentMerge "Create folder for SystemUpdate sample app." (diff)
downloadandroid_bootable_recovery-c6152041fdaf50da72a076ddf9c66557fc1662d5.tar
android_bootable_recovery-c6152041fdaf50da72a076ddf9c66557fc1662d5.tar.gz
android_bootable_recovery-c6152041fdaf50da72a076ddf9c66557fc1662d5.tar.bz2
android_bootable_recovery-c6152041fdaf50da72a076ddf9c66557fc1662d5.tar.lz
android_bootable_recovery-c6152041fdaf50da72a076ddf9c66557fc1662d5.tar.xz
android_bootable_recovery-c6152041fdaf50da72a076ddf9c66557fc1662d5.tar.zst
android_bootable_recovery-c6152041fdaf50da72a076ddf9c66557fc1662d5.zip
-rw-r--r--Android.mk1
-rw-r--r--sample_updater/Android.mk25
-rw-r--r--sample_updater/AndroidManifest.xml21
-rw-r--r--sample_updater/README.md1
4 files changed, 48 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 5dca32a45..98d1f0cc6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -276,6 +276,7 @@ include $(BUILD_STATIC_LIBRARY)
include \
$(LOCAL_PATH)/boot_control/Android.mk \
$(LOCAL_PATH)/minui/Android.mk \
+ $(LOCAL_PATH)/sample_updater/Android.mk \
$(LOCAL_PATH)/tests/Android.mk \
$(LOCAL_PATH)/tools/Android.mk \
$(LOCAL_PATH)/updater/Android.mk \
diff --git a/sample_updater/Android.mk b/sample_updater/Android.mk
new file mode 100644
index 000000000..d6764bd01
--- /dev/null
+++ b/sample_updater/Android.mk
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2018 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)
+
+LOCAL_PACKAGE_NAME := SystemUpdateApp
+LOCAL_SDK_VERSION := system_current
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_PACKAGE)
diff --git a/sample_updater/AndroidManifest.xml b/sample_updater/AndroidManifest.xml
new file mode 100644
index 000000000..ccee107bb
--- /dev/null
+++ b/sample_updater/AndroidManifest.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2018 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.
+ -->
+
+<manifest
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ package="com.android.update">
+</manifest>
diff --git a/sample_updater/README.md b/sample_updater/README.md
new file mode 100644
index 000000000..a06c52d4b
--- /dev/null
+++ b/sample_updater/README.md
@@ -0,0 +1 @@
+# System update sample app.