summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiachen Zhao <zhaojiac@google.com>2018-03-30 23:04:51 +0200
committerJiachen Zhao <zhaojiac@google.com>2018-03-31 03:22:36 +0200
commit051b968d7b26e3a53ab82b9f3119783ef86b63b8 (patch)
treebeded93fe5327cdefb123495cc7eba921c3cedb8
parentMerge "Remove the obsolete mkfont.c and font_10x18.h" (diff)
downloadandroid_bootable_recovery-051b968d7b26e3a53ab82b9f3119783ef86b63b8.tar
android_bootable_recovery-051b968d7b26e3a53ab82b9f3119783ef86b63b8.tar.gz
android_bootable_recovery-051b968d7b26e3a53ab82b9f3119783ef86b63b8.tar.bz2
android_bootable_recovery-051b968d7b26e3a53ab82b9f3119783ef86b63b8.tar.lz
android_bootable_recovery-051b968d7b26e3a53ab82b9f3119783ef86b63b8.tar.xz
android_bootable_recovery-051b968d7b26e3a53ab82b9f3119783ef86b63b8.tar.zst
android_bootable_recovery-051b968d7b26e3a53ab82b9f3119783ef86b63b8.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.